@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
  --bg-color: #EFF4FB;
  --bg-surface: #FFFFFF;
  --bg-surface-light: #F7F9FC;
  --text-primary: #1C2434;
  --text-secondary: #64748B;
  --accent-color: #465FFF; /* Frontend Primary Blue */
  --accent-hover: #3A52E0;
  --accent-glow: rgba(70, 95, 255, 0.25);
  --border-color: #E2E8F0;
  --font-family: 'DM Sans', sans-serif;
  --font-head: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
  font-family: var(--font-head);
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-weight: 500;
}

.nav-links a.btn-primary {
  background: var(--accent-color);
  color: #FFFFFF;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all 0.3s ease;
}

.nav-links a.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(70, 95, 255, 0.4);
}

/* Hero Section */
.hero {
  padding: 130px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background Glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.2rem, 3vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-family);
}

.btn-large {
  background: var(--accent-color);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-large:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(70, 95, 255, 0.4);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-surface-light);
  border-color: var(--text-secondary);
}

/* Mockup Presentation */
.mockup-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
}

/* Carousel Styling */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  background: var(--bg-surface-light);
}

.carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-control.prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.carousel-control.next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicators .dot.active {
  background: white;
}

/* Features */
.features {
  padding: 60px 0 100px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 24px rgba(70, 95, 255, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(70, 95, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  text-align: justify;
}

/* Testimonials */
.testimonials {
  padding: 60px 0 100px;
  background: var(--bg-surface-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.testimonial-card .quote {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Pricing */
.pricing {
  padding: 60px 0 100px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface-light);
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: var(--bg-surface);
  border: 2px solid var(--accent-color);
  box-shadow: 0 20px 40px rgba(70, 95, 255, 0.1);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.pricing-card h3 {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.pricing-card.featured h3 {
  color: var(--accent-color);
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-head);
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-card .desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 48px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 0;
}

.pricing-card ul li {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  background: var(--bg-surface);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Privacy Policy Specific */
.privacy-wrap {
  max-width: 800px;
  margin: 140px auto 100px;
  padding: 0 2rem;
}

.privacy-wrap h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.privacy-wrap .muted {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.privacy-wrap h2 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-wrap p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.privacy-wrap ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.privacy-wrap li {
  margin-bottom: 0.5rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  /* .hero h1 font-size is now managed by clamp() */
  
  .nav-links {
    display: none;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .hero-cta {
    flex-direction: column;
  }
}
