/* === Reset & Custom Properties === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #007AFF;
  --purple: #AF52DE;
  --green: #34C759;
  --orange: #FF9500;
  --red: #FF3B30;
  --yellow: #FFD60A;
  --text: #11181C;
  --text-secondary: #687076;
  --bg: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --border: #E5E5EA;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --card-bg: #FFFFFF;
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

/* === Utility === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}
.btn-white {
  background: #fff;
  color: var(--text);
}
.btn-white:hover {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* === Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-wordmark {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  margin-left: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

/* === Hero === */
.hero {
  padding: 140px 24px 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Phone Mockup */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 280px;
  height: 560px;
  background: #1C1C1E;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 2px rgba(255,255,255,0.1);
}
.phone-frame.phone-sm {
  width: 240px;
  height: 480px;
  border-radius: 36px;
  padding: 10px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
}
.phone-sm .phone-screen {
  border-radius: 28px;
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.phone-status-bar {
  height: 44px;
  background: #000;
}
.phone-content {
  padding: 20px 16px;
  background: #1C1C1E;
  height: 100%;
}
.mock-header {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sparkle {
  color: var(--blue);
}

/* Mock Card */
.mock-card {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mock-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.visa-card {
  background: linear-gradient(135deg, #1A1F71, #2563EB);
}
.amex-card {
  background: linear-gradient(135deg, #006FCF, #0EA5E9);
}
.mastercard-card {
  background: linear-gradient(135deg, #EB001B, #F97316);
}
.discover-card {
  background: linear-gradient(135deg, #FF6000, #F59E0B);
}
.mock-network {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  text-align: right;
}
.mock-dots {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
}
.mock-last4 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 3px;
}
.mock-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.mock-perks {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* Mini Cards */
.mini-card {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.mini-last4 {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* AI Mockup */
.ai-card {
  background: linear-gradient(135deg, rgba(0,122,255,0.15), rgba(175,82,222,0.15));
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.ai-score {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
}
.ai-score span {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}
.ai-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.ai-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  line-height: 1.4;
}
.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--purple);
  margin-top: 5px;
  flex-shrink: 0;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  animation: bob 3s ease-in-out infinite;
}
.badge-1 {
  top: 60px;
  right: -20px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
  animation-delay: 0s;
}
.badge-2 {
  bottom: 140px;
  left: -30px;
  background: linear-gradient(135deg, #4ECDC4, #6EE7DE);
  animation-delay: 1s;
}
.badge-3 {
  bottom: 60px;
  right: -10px;
  background: linear-gradient(135deg, #95E1D3, #B5EFE5);
  color: #1A1F71;
  animation-delay: 2s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* === Trust Bar === */
.trust-bar {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust-bar p {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 16px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.trust-logos span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* === Sections === */
.section {
  padding: 100px 0;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 56px;
}

/* === Steps === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Feature Sections === */
.feature-section {
  padding: 80px 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row-reverse {
  direction: rtl;
}
.feature-row-reverse > * {
  direction: ltr;
}
.feature-text h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.feature-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.feature-visual {
  display: flex;
  justify-content: center;
}

/* Check List */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  font-size: 16px;
  color: var(--text);
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Feature Pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  background: color-mix(in srgb, var(--pill-color) 12%, transparent);
  color: var(--pill-color);
  border: 1px solid color-mix(in srgb, var(--pill-color) 20%, transparent);
}

/* === Category Grid === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cat-color) 14%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
}
.cat-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cat-rate {
  font-size: 13px;
  color: var(--cat-color);
  font-weight: 600;
}

/* === Privacy === */
.privacy-section {
  background: var(--bg-secondary);
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.privacy-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.privacy-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.privacy-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Testimonials === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.stars {
  color: #FFD60A;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, #1C1C1E, #2C2C2E);
  padding: 100px 24px;
  text-align: center;
}
.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4) !important;
}

/* === Footer === */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-wordmark {
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }
  .hero-inner {
    gap: 40px;
  }
  .section-title {
    font-size: 34px;
  }
  .feature-text h2 {
    font-size: 30px;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 100px 24px 60px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-sub {
    margin: 0 auto 28px;
  }
  .hero-phone {
    order: -1;
    margin-bottom: 20px;
  }
  .phone-frame {
    width: 220px;
    height: 440px;
    border-radius: 32px;
  }
  .phone-screen {
    border-radius: 24px;
  }
  .mock-card {
    height: 120px;
    padding: 14px;
  }
  .floating-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  .badge-2 {
    left: 0px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row-reverse {
    direction: ltr;
  }
  .feature-visual {
    order: -1;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .cta-section h2 {
    font-size: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .feature-text h2 {
    font-size: 26px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-section h2 {
    font-size: 28px;
  }
  .cta-section {
    padding: 72px 24px;
  }
  .trust-logos {
    gap: 16px 24px;
  }
  .trust-logos span {
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }
  .phone-frame {
    width: 200px;
    height: 400px;
    border-radius: 28px;
  }
}
