/* ===========================================
   AIIMO Landing Page — styles.css
   =========================================== */

/* --- Font Faces (self-hosted Inter) --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter-latin-900-normal.woff2') format('woff2'); }

/* --- CSS Reset & Custom Properties --- */
:root {
  --coral: #F06B6B;
  --coral-hover: #E05555;
  --mint: #7DD4A0;
  --mint-light: #e8f8ef;
  --cyan: #56CCE6;
  --cyan-light: #e4f6fb;

  --black: #1A1A1A;
  --dark: #2D2D2D;
  --gray-700: #4A4A4A;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F5F5F7;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--gray-100); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 107, 107, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-nav {
  background: var(--coral);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}
.btn-nav:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--coral) 0%, var(--mint) 50%, var(--cyan) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.06) 60px, rgba(255,255,255,0.06) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.06) 60px, rgba(255,255,255,0.06) 61px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.hero-heading {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 15px rgba(0,0,0,0.1);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Features --- */
.features { padding: 6rem 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon--cyan { background: var(--cyan-light); color: #2ba5c5; }
.feature-icon--mint { background: var(--mint-light); color: #3da06a; }
.feature-icon--coral { background: #fde8e8; color: #c94e4e; }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--gray-700);
}

/* --- About --- */
.about {
  padding: 6rem 0;
  background: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  border: 1px solid var(--gray-200);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* --- CTA Section --- */
.cta-section {
  padding: 6rem 0;
  background: var(--black);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-email-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.cta-email-note a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-email-note a:hover { color: var(--white); }

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  background: #111111;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: invert(1);
  opacity: 0.8;
}

.footer-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-legal {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0.5rem;
}

/* ===========================================
   Responsive
   =========================================== */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-heading { letter-spacing: 0.01em; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .about-visual { order: -1; }
  .about-logo-img { max-width: 240px; }
  .trust-badges { justify-content: center; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand { flex-direction: column; gap: 0.5rem; }
  .footer-links { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.2rem; }
  .hero-tagline { font-size: 1rem; letter-spacing: 0.1em; }
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
  .trust-badges { flex-direction: column; }
}
