/* ============================================
   BUILDSOFTECH — TaxPal Exact Clone CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lexend:wght@400;500;700;800;900&display=swap');

:root {
  --primary: #0a014f;
  --primary-hover: #12037a;
  --bg-slate-900: #0F172A;
  --bg-slate-800: #1E293B;
  --bg-slate-50: #F8FAFC;
  --bg-blue-600: #0a014f;
  --text-slate-900: #0F172A;
  --text-slate-700: #334155;
  --text-slate-600: #475569;
  --text-slate-500: #64748B;
  --text-slate-400: #94A3B8;
  
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Lexend', sans-serif;
  
  --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-slate-600);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-slate-900); }

/* Buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  border-radius: 9999px; font-weight: 500; font-size: 14px;
  padding: 8px 16px; transition: all 0.2s; outline: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-dark { background: var(--bg-slate-900); color: #fff; }
.btn-dark:hover { background: var(--bg-slate-800); }
.btn-white { background: #fff; color: var(--text-slate-900); }
.btn-white:hover { background: #fff; }
.btn-outline { border: 1px solid var(--text-slate-400); color: var(--text-slate-700); }
.btn-outline:hover { border-color: var(--text-slate-900); color: var(--text-slate-900); }
.btn-ghost { color: var(--text-slate-700); }
.btn-ghost:hover { color: var(--text-slate-900); }

/* ---- HEADER ---- */
.header {
  padding-top: 32px;
  padding-bottom: 32px;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.header-logo { display: flex; align-items: center; gap: 8px; z-index: 100; position: relative; }
.header-logo img { height: 20px; width: auto; }
@media (max-width: 768px) {
  .header-logo img { height: 16px; } /* Smaller logo on mobile */
  .header { padding-top: 24px; padding-bottom: 24px; }
}

.header-nav { display: none; }
@media (min-width: 768px) {
  .header-nav { display: flex; gap: 32px; align-items: center; }
}
.header-nav a { font-size: 14px; color: var(--text-slate-700); font-weight: 500; transition: color 0.2s; padding: 6px 12px; border-radius: 9999px; }
.header-nav a:hover, .header-nav a.active { color: var(--text-slate-900); background: #fff; }

.header-actions { display: none; }
@media (min-width: 768px) {
  .header-actions { display: flex; gap: 16px; align-items: center; }
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; z-index: 100;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-slate-900); transition: all 0.3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Active State */
.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff;
  z-index: 90; display: flex; flex-direction: column; padding: 100px 24px 24px;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.mobile-menu-links a { font-size: 18px; font-weight: 500; color: var(--text-slate-900); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu-actions .btn { width: 100%; padding: 14px; font-size: 16px; }

/* Header Mobile Layout */
.header-mobile-right { display: flex; align-items: center; gap: 12px; z-index: 100; position: relative; }
@media (min-width: 768px) { .header-mobile-right .btn { display: none; } }


/* ---- HERO ---- */
.hero {
  padding-top: 220px;
  padding-bottom: 80px;
  text-align: center;
}
.hero h1 {
  font-size: 48px; font-weight: 500; line-height: 1.1; margin-bottom: 24px;
  color: var(--text-slate-900); letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 24px;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 64px; }
}

.hero p {
  font-size: 18px; color: var(--text-slate-600); max-width: 600px; margin: 0 auto 40px; line-height: 1.6;
}
@media (min-width: 768px) { .hero p { font-size: 20px; } }
.hero-highlight { position: relative; display: inline-block; white-space: nowrap; color: #25D366; }
.hero-underline { 
  position: absolute; left: 0; top: 66.666%; height: 0.58em; width: 100%; 
  fill: rgba(147, 197, 253, 0.7); z-index: -1; 
}

.hero-actions {
  margin-top: 40px;
  display: flex; gap: 16px; justify-content: center; align-items: center;
}
.btn-hero { padding: 12px 24px; font-size: 16px; }
.btn-video { display: flex; align-items: center; gap: 8px; color: var(--text-slate-700); font-weight: 500; padding: 12px 24px; border-radius: 9999px; transition: color 0.2s; }
.btn-video:hover { color: var(--text-slate-900); }
.btn-video svg { fill: var(--primary); width: 12px; height: 12px; }

.hero-trust { margin-top: 80px; }
.hero-trust p { font-size: 14px; margin-bottom: 32px; color: var(--text-slate-900); font-family: var(--font-display); }
.trust-logos {
  display: flex; overflow: hidden; width: 100%; padding: 10px 0;
  gap: 48px;
}
.trust-logos span { font-size: 20px; font-weight: 700; color: var(--text-slate-400); font-family: var(--font-display); }
.marquee-content {
  display: flex; gap: 48px; animation: scroll-left 20s linear infinite; 
  flex-shrink: 0; min-width: max-content;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 48px)); }
}

/* ---- BLUE SECTION (Features Tab) ---- */
.blue-section {
  background: linear-gradient(135deg, #0f0524 0%, #1e1146 50%, #10062b 100%);
  padding: 120px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.blue-section::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.blue-header { text-align: center; max-width: 600px; margin: 0 auto 80px; }
.blue-header h2 { color: #fff; font-size: 40px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; }
.blue-header p { font-size: 18px; color: rgba(255,255,255,0.8); }

.blue-layout { display: grid; grid-template-columns: 1fr; gap: 48px; position: relative; }
@media (min-width: 1024px) {
  .blue-layout { grid-template-columns: 1fr 1.5fr; gap: 0; align-items: center; }
}

.blue-tabs { display: flex; flex-direction: column; gap: 16px; z-index: 1; position: relative; }
.blue-tab {
  padding: 24px 32px 24px 24px; border-radius: 16px; cursor: pointer; transition: all 0.3s;
  background: transparent;
}
.blue-tab:hover { background: rgba(255, 255, 255, 0.05); }
.blue-tab.active { background: rgba(255, 255, 255, 0.1); }
.blue-tab h3 { color: #fff; font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.blue-tab p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.6; }

.blue-image-wrap { 
  position: relative; z-index: 2; background: #fff; border-radius: 20px; padding: 12px; box-shadow: -10px 25px 50px -12px rgba(0,0,0,0.5); 
}
@media (min-width: 1024px) {
  .blue-image-wrap {
    width: 150%; /* Force image to overflow to the right */
    min-width: 800px;
    margin-left: -16px; /* Overlap active tab */
  }
}
.blue-image-inner {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid #E2E8F0; width: 100%;
}
.blue-image-inner img { width: 100%; display: block; border-radius: 0; box-shadow: none; }

/* ---- WHITE SECTION (Secondary Features) ---- */
.white-section { padding: 120px 0; background: #fff; }
.white-header { text-align: center; max-width: 600px; margin: 0 auto 80px; }
.white-header h2 { font-size: 40px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; }
.white-header p { font-size: 18px; color: var(--text-slate-600); }

.white-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px;
}
@media (min-width: 768px) { .white-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.white-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(10, 1, 79, 0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.white-card-icon svg { width: 18px; height: 18px; fill: var(--primary); }
.white-card h3 {
  font-family: var(--font-sans); color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 8px;
}
.white-card h4 { font-size: 20px; margin-bottom: 16px; line-height: 1.4; font-weight: 500; color: var(--text-slate-900); }
.white-card p { font-size: 15px; line-height: 1.7; color: var(--text-slate-600); }

.white-screenshot {
  border-radius: 16px; padding: 0; overflow: hidden;
  border: 1px solid #E2E8F0; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  margin-top: 24px;
}
.white-screenshot img { width: 100%; display: block; }

/* ---- PRICING (Dark Section) ---- */
.pricing-section {
  background: var(--bg-slate-900);
  padding: 120px 0;
  color: #fff;
}
.pricing-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.pricing-header h2 { color: #fff; font-size: 40px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; }
.pricing-header h2 span { color: #fff; }
.pricing-header p { font-size: 18px; color: rgba(255,255,255,0.6); }

/* Pricing Toggle */
.pricing-toggle {
  display: flex; justify-content: center; margin-bottom: 64px;
}
.toggle-wrapper {
  display: inline-flex; background: rgba(255,255,255,0.08); padding: 4px; border-radius: 9999px;
}
.toggle-btn {
  padding: 8px 24px; border-radius: 9999px; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.toggle-btn.active {
  background: #fff; color: var(--text-slate-900); box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.badge-discount {
  background: #dcfce7; color: #166534; font-size: 12px; padding: 2px 8px; border-radius: 12px;
}

.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 1280px; margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 0; align-items: flex-start; }
}

.pricing-card {
  display: flex; flex-direction: column;
  background: transparent;
  padding: 24px 16px;
}
@media (min-width: 1024px) {
  .pricing-card { padding: 32px 24px; }
}

.pricing-card.featured {
  background: #fff;
  border-radius: 24px;
  padding: 48px 32px;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  position: relative;
}
@media (min-width: 1024px) {
  .pricing-card.featured { margin: -24px 0; }
}

.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #16a34a; color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 16px; border-radius: 9999px; letter-spacing: 0.05em; text-transform: uppercase;
}

.pricing-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: #fff; font-family: var(--font-sans); }
.pricing-card.featured h3 { color: var(--text-slate-900); }

.pricing-card p.subtitle { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 32px; min-height: 42px; line-height: 1.5; }
.pricing-card.featured p.subtitle { color: var(--text-slate-600); }

.price {
  font-family: var(--font-sans); font-size: 40px; font-weight: 700; color: #fff;
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 32px; letter-spacing: -0.02em;
}
.pricing-card.featured .price { color: var(--text-slate-900); font-size: 48px; }

.price span { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.5); }
.pricing-card.featured .price span { color: var(--text-slate-500); }

.pricing-card .btn { width: 100%; padding: 12px; font-size: 14px; margin-bottom: 32px; border-radius: 9999px; justify-content: center; font-weight: 600; transition: all 0.2s; }
.pricing-card .btn-outline { border: 1px solid rgba(255,255,255,0.2); color: #fff; background: transparent; }
.pricing-card .btn-outline:hover { border-color: rgba(255,255,255,0.5); }
.pricing-card.featured .btn-dark { background: var(--text-slate-900); color: #fff; border: none; }
.pricing-card.featured .btn-dark:hover { background: #000; }

.pricing-features {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5;
}
.pricing-card.featured .pricing-features li { color: var(--text-slate-700); }
.pricing-features li svg {
  width: 16px; height: 16px; color: #fff; flex-shrink: 0; margin-top: 2px;
}
.pricing-card.featured .pricing-features li svg { color: var(--text-slate-900); }

/* Hide other pricing periods initially */
.price-quarterly, .price-yearly { display: none; }
.period-quarterly .price-monthly { display: none; }
.period-quarterly .price-quarterly { display: flex; }
.period-yearly .price-monthly { display: none; }
.period-yearly .price-yearly { display: flex; }


/* ---- FAQ ---- */
.faq-section {
  padding: 120px 0; background: #fff;
  border-top: 1px solid #F1F5F9;
}
.faq-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.faq-header h2 { font-size: 40px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; }
.faq-header p { font-size: 18px; color: var(--text-slate-600); }

.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 24px; text-align: left;
  transition: all 0.3s;
}
.faq-item:hover { border-color: #CBD5E1; }
.faq-item summary {
  font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-slate-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; font-weight: 400; color: var(--text-slate-500); transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 16px; color: var(--text-slate-600); line-height: 1.6; font-size: 15px; }
.faq-item[open] p { animation: faq-slide-down 0.3s ease-out forwards; }

@keyframes faq-slide-down {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 120px 0; background: #fff; text-align: center;
  overflow: hidden; /* For scrolling content */
}
.testimonials-header h2 { font-size: 40px; margin-bottom: 16px; letter-spacing: -0.02em; }
.testimonials-header p { font-size: 18px; color: var(--text-slate-600); max-width: 600px; margin: 0 auto; line-height: 1.6; }

.testimonials-grid {
  display: flex; justify-content: center; gap: 32px; margin-top: 64px;
  height: 600px; position: relative;
  /* Fading edges */
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.testimonial-column {
  display: flex; flex-direction: column; gap: 32px; width: 350px;
  animation: scroll-up 35s linear infinite;
}
.testimonial-column:nth-child(2) { animation-duration: 45s; animation-direction: reverse; }
.testimonial-column:nth-child(3) { animation-duration: 40s; }

@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.testimonial-card {
  background: #fff; padding: 32px; border-radius: 24px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  text-align: left; display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial-text { font-size: 15px; line-height: 1.7; color: var(--text-slate-700); margin-bottom: 24px; }
.testimonial-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #F1F5F9; padding-top: 24px;
}
.author-info h4 { font-size: 15px; font-weight: 600; color: var(--text-slate-900); margin-bottom: 4px; }
.author-info p { font-size: 13px; color: var(--text-slate-500); }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: #CBD5E1; }

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #3b82f6 100%);
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: 48px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; color: #fff; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 32px; line-height: 1.6; }
.btn-white { background: #fff; color: var(--text-slate-900); }
.btn-white:hover { background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* ---- FOOTER ---- */
.footer {
  padding: 64px 0;
  text-align: center;
  background: #fff;
}
.footer-logo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; }
.footer-logo img { height: 24px; width: auto; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--text-slate-900); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  border-top: 1px solid #E2E8F0; padding-top: 32px; margin-top: 16px;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-copy { font-size: 14px; color: var(--text-slate-500); }
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--text-slate-400); }
.social-links a:hover { color: var(--text-slate-900); }

/* Utilities */
.hidden { display: none !important; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }


/* ---- INNER PAGES SHARED STYLES ---- */
.page-header { 
  padding: 160px 0 80px; text-align: center; 
  background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 100%); 
}
.page-header h1 { font-size: 48px; letter-spacing: -0.02em; margin-bottom: 16px; font-weight: 600; color: var(--text-slate-900); }
.section-eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 12px; display: block; }
.section-title { font-size: 36px; font-weight: 600; margin-bottom: 16px; font-family: var(--font-display); color: var(--text-slate-900); letter-spacing: -0.02em; }
.section-subtitle { font-size: 18px; color: var(--text-slate-600); max-width: 600px; margin: 0 auto; }

.features-page-section { padding: 120px 0; background: #fff; }
.features-page-section:nth-child(even) { background: #fff; }
.section-eyebrow { font-size: 14px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.section-title { font-size: 36px; margin-bottom: 24px; color: var(--text-slate-900); letter-spacing: -0.02em; font-family: var(--font-display); }
.section-subtitle { font-size: 18px; color: var(--text-slate-600); max-width: 600px; margin: 0 auto; line-height: 1.6; }

.feature-detail-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .feature-detail-grid { grid-template-columns: 1fr 1fr; } }
.feature-detail-card {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; padding: 32px;
  display: flex; gap: 24px; align-items: flex-start;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-detail-card:hover { 
  border-color: #cbd5e1; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); transform: translateY(-4px); 
}
.feature-detail-icon {
  width: 56px; height: 56px; background: #e0e7ff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #4f46e5; font-size: 24px;
}
.feature-detail-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-slate-900); font-weight: 600; }
.feature-detail-card p { font-size: 15px; color: var(--text-slate-600); line-height: 1.6; }

.contact-section { padding: 96px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; } }

.contact-sidebar { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: #fff; padding: 32px; border-radius: 20px; border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.3s;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-color: #CBD5E1; }
.contact-icon {
  width: 56px; height: 56px; background: #e0e7ff; color: #4f46e5; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-text h3 { font-size: 20px; font-weight: 600; color: var(--text-slate-900); margin-bottom: 8px; font-family: var(--font-display); }
.contact-text p { font-size: 15px; color: var(--text-slate-600); margin-bottom: 12px; line-height: 1.5; }
.contact-text a, .contact-text span { font-size: 15px; font-weight: 600; color: var(--text-slate-900); text-decoration: none; display: block; line-height: 1.5; }
.contact-text a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: #fff; padding: 56px 48px; border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  border: 1px solid #E2E8F0;
}
.contact-form-wrap h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--text-slate-900); font-family: var(--font-display); }
.contact-form-wrap p.form-subtitle { font-size: 15px; color: var(--text-slate-600); margin-bottom: 32px; }

.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; gap: 24px; } }
label { display: block; font-size: 14px; font-weight: 600; color: var(--text-slate-900); margin-bottom: 8px; }
input, select, textarea { 
  width: 100%; padding: 14px 16px; border: 1px solid #E2E8F0; border-radius: 12px; 
  font-family: inherit; font-size: 15px; outline: none; transition: all 0.2s; background: #fff; color: var(--text-slate-900);
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10,1,79,0.1); }
input::placeholder, textarea::placeholder { color: var(--text-slate-400); }

.legal-wrap { padding-top: 180px; background: #fff; padding-bottom: 120px; }
.legal-content { max-width: 800px; margin: 0 auto; background: #fff; padding: 0 24px; }
.legal-content h1 { font-size: 48px; margin-bottom: 16px; font-family: var(--font-display); letter-spacing: -0.02em; color: var(--text-slate-900); font-weight: 700; }
.legal-content h2 { font-size: 28px; margin: 48px 0 24px; font-family: var(--font-display); color: var(--text-slate-900); font-weight: 600; }
.legal-content p { color: var(--text-slate-600); line-height: 1.8; margin-bottom: 24px; font-size: 16px; }
.legal-content ul { padding-left: 0; list-style: none; margin-bottom: 24px; }
.legal-content ul li { color: var(--text-slate-600); line-height: 1.8; position: relative; padding-left: 28px; margin-bottom: 16px; font-size: 16px; }
.legal-content ul li::before { content: "✓"; color: #16a34a; font-weight: bold; font-size: 16px; position: absolute; left: 0; top: 0; }
.legal-content a { color: var(--primary); font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.legal-content a:hover { opacity: 0.8; text-decoration: underline; }

/* ---- PREMIUM FEATURE SECTIONS ---- */
.split-feature { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding: 120px 0; }
@media (min-width: 992px) {
  .split-feature { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split-feature.reverse { direction: rtl; }
  .split-feature.reverse > * { direction: ltr; }
}
.split-feature-content h2 { font-size: 36px; font-weight: 600; margin-bottom: 24px; color: var(--text-slate-900); font-family: var(--font-display); letter-spacing: -0.02em; }
.split-feature-content p { font-size: 18px; color: var(--text-slate-600); line-height: 1.6; margin-bottom: 32px; }
.split-feature-list { display: grid; gap: 24px; }
.split-feature-list-item { display: flex; gap: 16px; align-items: flex-start; }
.split-feature-list-icon { width: 40px; height: 40px; background: #e0e7ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #4f46e5; }
.split-feature-list-text h4 { font-size: 18px; font-weight: 600; color: var(--text-slate-900); margin-bottom: 4px; }
.split-feature-list-text p { font-size: 15px; color: var(--text-slate-600); line-height: 1.5; margin: 0; }
.split-feature-image img { width: 100%; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 1px solid #E2E8F0; }

.dark-feature-section { background: var(--text-slate-900); padding: 120px 0; color: #fff; }
.dark-feature-section .section-title { color: #fff; }
.dark-feature-section .section-subtitle { color: #94a3b8; }
.dark-feature-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
@media (min-width: 768px) { .dark-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.dark-feature-card { background: #1e293b; border-radius: 20px; padding: 32px; border: 1px solid #334155; transition: all 0.3s; }
.dark-feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3); border-color: #475569; }
.dark-feature-card h3 { color: #fff; font-size: 20px; margin-bottom: 12px; font-weight: 600; }
.dark-feature-card p { color: #94a3b8; line-height: 1.6; }
.dark-feature-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 24px; }

.vibrant-section { background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%); padding: 120px 0; color: #fff; text-align: center; }
.vibrant-section .section-title { color: #fff; }
.vibrant-section .section-subtitle { color: rgba(255,255,255,0.9); }
.vibrant-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 64px; text-align: left; }
@media (min-width: 768px) { .vibrant-grid { grid-template-columns: repeat(2, 1fr); } }
.vibrant-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 32px; }
.vibrant-card h3 { color: #fff; font-size: 20px; margin-bottom: 12px; font-weight: 600; }
.vibrant-card p { color: rgba(255,255,255,0.9); line-height: 1.6; }
.vibrant-icon { width: 48px; height: 48px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #4f46e5; margin-bottom: 24px; }

/* ---- ALIGNMENT FIXES ---- */
.text-center { text-align: center !important; }
.text-center > * { margin-left: auto; margin-right: auto; }
.text-center .section-title, .text-center .section-subtitle, .text-center h2, .text-center p { text-align: center !important; }


/* Feature List Cards (Features Page) */
.feature-page-container {
  padding: 80px 0;
}

.feature-list-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  overflow: hidden;
  align-items: center;
  padding: 40px;
  gap: 40px;
  border: 1px solid var(--border-slate-200);
}

.feature-list-card:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-list-content {
  flex: 1;
}

.feature-list-icon {
  width: 48px;
  height: 48px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-list-icon svg {
  width: 24px;
  height: 24px;
}

.feature-list-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-slate-900);
  margin-bottom: 16px;
}

.feature-list-desc {
  font-size: 16px;
  color: var(--text-slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list-link {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.feature-list-link:hover {
  opacity: 0.8;
}

.feature-list-box {
  flex: 1;
  background: #f0fdf4;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #dcfce7;
}

.feature-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-slate-700);
  line-height: 1.5;
}

.feature-list-item-icon {
  width: 16px;
  height: 16px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-item-icon svg {
  width: 10px;
  height: 10px;
}

@media (max-width: 991px) {
  .feature-list-card, .feature-list-card:nth-child(even) {
    flex-direction: column;
    padding: 24px;
    gap: 32px;
  }
}

/* Premium Contact Page */
.premium-contact-hero {
  background: linear-gradient(135deg, var(--bg-slate-900) 0%, var(--primary) 100%);
  padding: 200px 0 200px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.premium-contact-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.premium-contact-hero h1 {
  font-size: 48px; font-weight: 500; line-height: 1.1; margin-bottom: 24px;
  color: #fff; font-family: var(--font-display); letter-spacing: -0.03em;
}
@media (min-width: 768px) {
  .premium-contact-hero h1 { font-size: 64px; }
}
.premium-contact-hero p {
  font-size: 20px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; line-height: 1.6;
}

.premium-contact-section {
  background: #fff;
  padding-bottom: 120px;
}
.premium-contact-card {
  max-width: 1200px; margin: -120px auto 0; position: relative; z-index: 10;
  background: #fff; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E2E8F0;
}
@media (min-width: 992px) {
  .premium-contact-card { flex-direction: row; }
}

.contact-card-info {
  background: var(--primary); color: #fff; padding: 48px; position: relative; overflow: hidden;
}
@media (min-width: 992px) {
  .contact-card-info { width: 35%; padding: 64px; }
}
.contact-card-info h3 { color: #fff; font-size: 32px; margin-bottom: 16px; font-family: var(--font-display); }
.contact-card-info > p { color: rgba(255,255,255,0.7); margin-bottom: 48px; font-size: 16px; line-height: 1.6; }

.contact-items { display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 2; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-item-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; transition: background 0.3s; }
.contact-item:hover .contact-item-icon { background: rgba(255,255,255,0.2); }
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-text { font-size: 16px; font-weight: 500; color: #fff; line-height: 1.6; display: flex; flex-direction: column; justify-content: center; min-height: 48px; }
.contact-item-text span { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 400; margin-bottom: 4px; }
.contact-item-text a { color: #fff; text-decoration: none; transition: opacity 0.2s; font-size: 16px; font-weight: 600; }
.contact-item-text a:hover { opacity: 0.8; }
.contact-item-text .val { font-size: 16px; font-weight: 600; color: #fff; }

.contact-card-bg-circles {
  position: absolute; bottom: -100px; right: -100px; width: 300px; height: 300px;
  background: rgba(255,255,255,0.05); border-radius: 50%; z-index: 1; pointer-events: none;
}
.contact-card-bg-circles::before {
  content: ''; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}

.contact-card-form {
  padding: 48px; background: #fff;
}
@media (min-width: 992px) {
  .contact-card-form { width: 65%; padding: 64px; }
}
.contact-card-form .form-group { margin-bottom: 24px; }
.contact-card-form .form-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .contact-card-form .form-row { grid-template-columns: 1fr 1fr; } }

.contact-card-form label { display: block; font-size: 14px; font-weight: 600; color: var(--text-slate-900); margin-bottom: 8px; }
.contact-card-form input, .contact-card-form select, .contact-card-form textarea {
  width: 100%; padding: 16px; border: 1px solid #E2E8F0; border-radius: 12px;
  background: #fff; color: var(--text-slate-900); font-family: inherit; font-size: 15px; outline: none; transition: all 0.2s;
}
.contact-card-form input:focus, .contact-card-form select:focus, .contact-card-form textarea:focus {
  border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10,1,79,0.1);
}
.contact-card-form .btn-primary {
  width: 100%; padding: 18px; font-size: 16px; font-weight: 600; justify-content: center; border-radius: 12px; margin-top: 16px; transition: transform 0.2s;
}
.contact-card-form .btn-primary:active { transform: scale(0.98); }
