/* index.css - Modern Design System for Autosplug */

:root {
  --primary: #0B5A53;
  --primary-hover: #08433e;
  --primary-light: #F4F8F7;
  --primary-rgb: 11, 90, 83;
  --secondary: #1F40B2;
  --secondary-light: #E8ECFB;
  --dark-bg: #06332E;
  --darker-bg: #042420;

  --text-main: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --light-bg: #FFFFFF;
  --section-bg: #e6f0ef;

  --accent-pink: #EC4899;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-orange: #F59E0B;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.01);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0A221C;
}

/* Utility Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(var(--primary-rgb), 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  width: fit-content;
}

.badge-green {
  background-color: #E6F6F4;
  color: var(--primary);
}

.badge-pink {
  background-color: #FDF2F8;
  color: var(--accent-pink);
}

.badge-blue {
  background-color: #EFF6FF;
  color: var(--accent-blue);
}

.badge-purple {
  background-color: #F5F3FF;
  color: var(--accent-purple);
}

/* Header & Nav */
header {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 15px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  background-color: var(--primary);
  color: white;
  padding: 0 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.nav-btn:hover {
  background-color: var(--primary-hover);
}

.nav-btn-img {
  height: 18px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #F4F8F7 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-text h1 {
  font-size: 3.8rem;
  line-height: 1.08;
  margin: 18px 0;
  color: #0A221C;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
}

.badge-icon {
  flex-shrink: 0;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-store {
  height: 44px;
  transition: var(--transition);
}

.badge-store:hover {
  transform: translateY(-2px);
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bg-card {
  position: absolute;
  width: 92%;
  height: 84%;
  background-color: var(--primary);
  border-radius: 48px;
  z-index: 1;
  bottom: 10px;
  right: 10px;
  overflow: hidden;
}

.hero-bg-leaf {
  position: absolute;
  bottom: 15px;
  right: 60px;
  width: 180px;
  height: auto;
  opacity: 1;
  z-index: 2;
  transform: rotate(-5deg);
}

.hero-phone-img {
  z-index: 2;
  position: relative;
  max-width: 85%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}

.floating-magnifier {
  position: absolute;
  top: -35px;
  left: 0px;
  z-index: 3;
  animation: float 4.5s ease-in-out infinite;
}

.floating-magnifier-img {
  width: 140px;
  height: auto;
  display: block;
}

/* float animation */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Feature 1 Section (Simpler Selling) */
.simpler-selling {
  padding: 100px 0;
  background-color: var(--section-bg);
}

.simpler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.simpler-blue-card {
  background-color: #2B50AA;
  color: #ffffff;
  border-radius: 32px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  box-shadow: var(--shadow-lg);
}

.simpler-blue-card h2 {
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0;
}

.simpler-blue-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.simpler-blue-card p:last-child {
  margin-bottom: 0;
}

.simpler-img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

/* Three Columns Feature Section */
.everything-need {
  padding: 100px 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.column-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.column-card-content {
  margin-bottom: 24px;
  padding: 0;
}

.column-card-content h3 {
  font-size: 1.5rem;
  margin: 16px 0 8px 0;
}

.column-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Phone Mockup Shell (Images) */
.column-phone-wrapper {
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-top: auto;
  overflow: hidden;
  position: relative;
}

.column-phone-img {
  width: 280px;
  max-width: 100%;
  height: auto;
  margin-bottom: -28px;
  /* Offset transparent space in image to sit flush */
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.column-card:hover .column-phone-img {
  transform: translateY(-8px);
}

/* Feature 3: Speed & Ease Section */
.speed-ease {
  padding: 100px 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.speed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.speed-text {
  background-color: #e6f0ef;
  border-radius: 32px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speed-text h2 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 480px;
}

.speed-mockup-wrapper {
  background-color: #043833;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C120,100 120,350 0,500 Z' fill='%230B5A53' opacity='0.35'/%3E%3Cpath d='M500,100 C380,180 350,380 500,450 Z' fill='%230B5A53' opacity='0.45'/%3E%3Cpath d='M500,150 C410,220 390,340 500,400 Z' fill='%2300E676' opacity='0.1'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px 48px 0;
}

.speed-phone-img {
  height: 90%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  transition: transform 0.5s ease;
  display: block;
}

.speed-mockup-wrapper:hover .speed-phone-img {
  transform: scale(1.03) translateY(-2px);
}

/* Testimonial Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--section-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.user-info p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin: 0;
}

/* CTA Visibility Section */
.cta-visibility {
  padding: 60px 0 100px;
  background-color: #ffffff;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(1, 59, 47, 0.95) 0%, rgba(0, 94, 80, 0.9) 100%), url('assets/images/cta_bg.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  border-radius: 40px;
  padding: 80px 80px;
  min-height: 540px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  color: #ffffff;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 18px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

/* Custom CSS Store Badge Buttons */
.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  transition: var(--transition);
  text-align: left;
  user-select: none;
  cursor: pointer;
  height: 48px;
  min-width: 145px;
}

.store-play {
  background-color: #000000;
  color: #ffffff;
  border: none;
}

.store-play:hover {
  background-color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.store-apple {
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
}

.store-apple:hover {
  background-color: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.store-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn-sub {
  font-size: 8px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.store-play .store-btn-sub {
  color: #94A3B8;
}

.store-apple .store-btn-sub {
  color: #64748B;
}

.store-btn-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cta-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.cta-phone-img {
  position: absolute;
  width: 85%;
  top: -20px;
  right: -20px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .logo {
  color: #ffffff;
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
  height: 30px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 280px;
}

.footer-links-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-links-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .columns-grid {
    gap: 20px;
  }

  .simpler-blue-card {
    padding: 40px;
  }

  .cta-banner {
    padding: 50px;
    gap: 30px;
  }

  .cta-content h2 {
    font-size: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .nav-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
    color: var(--text-main);
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text p {
    margin: 0 auto 30px;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-mockup-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .simpler-grid {
    grid-template-columns: 1fr;
  }

  .simpler-img {
    min-height: 300px;
  }

  .columns-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .speed-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .speed-text {
    text-align: center;
    padding: 40px 24px;
  }

  .speed-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .speed-mockup-wrapper {
    padding: 32px 24px 0;
    height: 420px;
  }

  .feature-item {
    text-align: left;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 50px 30px 0 30px;
    text-align: center;
    min-height: auto;
  }

  .cta-content p {
    margin: 0 auto 24px;
  }

  .cta-buttons {
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .cta-mockup-wrapper {
    justify-content: center;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
  }

  .cta-phone-img {
    position: relative;
    width: 240px;
    top: 0;
    right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Mobile Nav Drawer Styles */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 200;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.mobile-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Privacy Policy page styles */
.policy-page {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--light-bg);
}

.policy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.policy-header-text h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.policy-header-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.policy-icon-container {
  width: 90px;
  height: 90px;
  background-color: #E6F6F4;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-body {
  max-width: 800px;
}

.policy-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 36px;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #0A221C;
}

.policy-section p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.policy-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.policy-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-section strong {
  color: var(--text-main);
}