/* ═══════════════════════════════════════════════════════════════════
   TAYS — Master Landing Page
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --primary-dark: #3730a3;
  --primary-bg: #eef2ff;
  --green: #059669; --green-light: #d1fae5;
  --red: #dc2626; --red-light: #fee2e2;
  --amber: #d97706; --amber-light: #fef3c7;
  --blue: #2563eb; --blue-light: #dbeafe;
  --purple: #7c3aed; --purple-light: #ede9fe;
  --teal: #0d9488; --teal-light: #ccfbf1;
  --indigo: #4338ca; --indigo-light: #e0e7ff;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db;
  --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563; --gray-700: #374151;
  --gray-800: #1f2937; --gray-900: #111827;
  --radius: 12px; --radius-sm: 8px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--gray-800); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-accent:hover { background: #0f766e; transform: translateY(-1px); }
.btn-indigo { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn-indigo:hover { background: #3730a3; transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* Nav */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-100); transition: all 0.3s; }
#navbar.scrolled { background: rgba(255,255,255,0.95); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gray-900); font-size: 20px; font-weight: 800; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 50%, var(--blue) 100%); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--gray-500); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gray-900); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--gray-600); margin: 4px 0; }
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 12px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .nav-actions .btn { display: none; }
}

/* Hero */
.hero { padding: 130px 0 60px; position: relative; overflow: hidden; background: linear-gradient(180deg, #0a0a1a 0%, #111133 50%, #0f172a 100%); color: #fff; text-align: center; }
.hero-center { max-width: 740px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; padding: 6px 16px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, #818cf8 0%, #5eead4 50%, #60a5fa 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.hero-bg-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.04; }
.shape-1 { width: 600px; height: 600px; background: var(--purple); top: -300px; right: -200px; }
.shape-2 { width: 400px; height: 400px; background: var(--teal); bottom: -200px; left: -100px; }
.shape-3 { width: 300px; height: 300px; background: var(--blue); top: 30%; left: 10%; }
.shape-4 { width: 200px; height: 200px; background: var(--indigo); bottom: 20%; right: 15%; }

/* Hero product strip */
.hero-products-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 1; max-width: 960px; margin: 0 auto; }
.hp-card { text-decoration: none; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 20px; text-align: left; transition: all 0.3s; display: block; }
.hp-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.hp-purple { border-left: 3px solid var(--purple-light); }
.hp-teal { border-left: 3px solid #5eead4; }
.hp-indigo { border-left: 3px solid #a5b4fc; }
.hp-blue { border-left: 3px solid #93c5fd; }
.hp-icon { color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.hp-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hp-desc { font-size: 11px; color: rgba(255,255,255,0.4); }
@media (max-width: 768px) { .hero-products-strip { grid-template-columns: 1fr 1fr; } .hero h1 { font-size: 36px; } }
@media (max-width: 480px) { .hero-products-strip { grid-template-columns: 1fr; } }

/* Section headers */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag { display: inline-block; padding: 4px 12px; background: var(--primary-bg); color: var(--primary); border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; letter-spacing: -0.01em; }
.section-header p { font-size: 16px; color: var(--gray-500); line-height: 1.7; }

/* Adaptability section */
.adapt-section { padding: 100px 0; background: var(--gray-50); }
.adapt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.adapt-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; transition: all 0.3s; }
.adapt-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.adapt-num { font-size: 32px; font-weight: 900; color: var(--gray-100); margin-bottom: 8px; }
.adapt-card h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.adapt-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
@media (max-width: 768px) { .adapt-grid { grid-template-columns: 1fr; } }

.adapt-quote { display: flex; align-items: center; gap: 24px; max-width: 700px; margin: 0 auto; }
.aq-line { flex: 1; height: 1px; background: var(--gray-200); }
.adapt-quote blockquote { font-size: 16px; font-style: italic; color: var(--gray-500); text-align: center; flex-shrink: 0; max-width: 480px; line-height: 1.6; }

/* Products overview */
.products-section { padding: 80px 0 20px; }

/* Product detail sections */
.product-detail { padding: 80px 0; }
.pd-purple { background: #faf5ff; }
.pd-teal { background: #f0fdfa; }
.pd-indigo { background: #eef2ff; }
.pd-blue { background: #eff6ff; }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pd-grid.reverse { direction: rtl; }
.pd-grid.reverse > * { direction: ltr; }

.pd-tag { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.pd-tag.purple { background: var(--purple-light); color: var(--purple); }
.pd-tag.teal { background: var(--teal-light); color: var(--teal); }
.pd-tag.indigo { background: var(--indigo-light); color: var(--indigo); }
.pd-tag.blue { background: var(--blue-light); color: var(--blue); }

.pd-content h3 { font-size: 28px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }
.pd-content > p { font-size: 15px; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.pd-features { margin-bottom: 20px; }
.pd-feat { font-size: 14px; color: var(--gray-600); padding: 4px 0 4px 22px; position: relative; }
.pd-check { position: absolute; left: 0; font-weight: 700; color: var(--green); }
.pd-check.teal { color: var(--teal); }
.pd-check.indigo { color: var(--indigo); }
.pd-check.blue { color: var(--blue); }

.pd-adapt { background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.pd-adapt-title { font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.pd-adapt p { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .pd-grid, .pd-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .pd-visual { order: -1; }
}

/* Product mockups */
.pd-mockup { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.purple-glow { box-shadow: var(--shadow-xl), 0 0 40px rgba(124,58,237,0.08); }
.teal-glow { box-shadow: var(--shadow-xl), 0 0 40px rgba(13,148,136,0.08); }
.indigo-glow { box-shadow: var(--shadow-xl), 0 0 40px rgba(67,56,202,0.08); }
.blue-glow { box-shadow: var(--shadow-xl), 0 0 40px rgba(37,99,235,0.08); }

.pdm-header { padding: 12px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); font-size: 12px; font-weight: 700; color: var(--gray-500); }
.pdm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.pdm-card { background: var(--gray-50); border-radius: 6px; padding: 10px; text-align: center; }
.pdm-label { font-size: 9px; color: var(--gray-400); text-transform: uppercase; }
.pdm-val { font-size: 16px; font-weight: 800; color: var(--gray-800); }
.pdm-modules { padding: 8px 12px 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pdm-mod { padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; background: var(--gray-100); color: var(--gray-400); }
.pdm-mod.active { background: var(--purple-light); color: var(--purple); }

/* Hotel mockup */
.pdm-hotel { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--gray-50); }
.pdm-hotel-img { width: 56px; height: 42px; border-radius: 6px; background: linear-gradient(135deg, #fecaca, #fde68a, #bbf7d0); flex-shrink: 0; }
.pdm-hotel-img.i2 { background: linear-gradient(135deg, #c7d2fe, #a5f3fc, #bef264); }
.pdm-hotel-img.i3 { background: linear-gradient(135deg, #fde68a, #fed7aa, #fecdd3); }
.pdm-hotel-info { flex: 1; }
.pdm-hotel-name { font-size: 13px; font-weight: 700; color: var(--gray-800); }
.pdm-hotel-loc { font-size: 10px; color: var(--gray-400); }
.pdm-hotel-price { font-size: 18px; font-weight: 800; color: var(--teal); }
.pdm-hotel-price span { font-size: 10px; font-weight: 400; color: var(--gray-400); }

/* PNL mockup */
.pdm-pnl { padding: 12px; }
.pdm-pnl-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; color: var(--gray-600); }
.pdm-pnl-row.bold { font-weight: 700; color: var(--gray-800); }
.pdm-pnl-row .green { color: var(--green); font-weight: 600; }
.pdm-pnl-row .red { color: var(--red); font-weight: 600; }
.pdm-pnl-row .amber { color: var(--amber); font-weight: 600; }
.pdm-pnl-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }

/* Family mockup */
.pdm-family { padding: 12px; }
.pdm-fam-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-50); font-size: 13px; color: var(--gray-600); }
.pdm-fam-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.pdm-fam-avatar.k { background: var(--teal); }
.pdm-fam-avatar.a { background: var(--blue); }
.pdm-fam-name { font-weight: 700; color: var(--gray-800); min-width: 60px; }
.pdm-fam-row .green { margin-left: auto; color: var(--green); font-weight: 700; }
.pdm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-100); border-top: 1px solid var(--gray-200); }
.pdm-stat { background: #fff; padding: 12px; text-align: center; }
.pdm-stat-label { font-size: 9px; color: var(--gray-400); text-transform: uppercase; }
.pdm-stat-val { font-size: 18px; font-weight: 800; color: var(--gray-800); }
.pdm-stat-val.green { color: var(--green); }

/* Comparison */
.adapt-deep { padding: 80px 0; }
.adapt-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.ac-col { border-radius: var(--radius-lg); overflow: hidden; }
.ac-header { padding: 16px 20px; font-size: 15px; font-weight: 700; text-align: center; }
.ac-them .ac-header { background: var(--gray-100); color: var(--gray-500); }
.ac-us .ac-header { background: var(--primary); color: #fff; }
.ac-item { padding: 12px 20px; font-size: 13px; border-bottom: 1px solid var(--gray-50); display: flex; align-items: center; gap: 10px; }
.ac-item::before { font-size: 14px; flex-shrink: 0; }
.ac-item.bad { background: #fff; color: var(--gray-500); }
.ac-item.bad::before { content: '\2717'; color: var(--red); }
.ac-item.good { background: #f0fdf4; color: var(--gray-700); font-weight: 500; }
.ac-item.good::before { content: '\2713'; color: var(--green); font-weight: 700; }
.ac-them { border: 1px solid var(--gray-200); }
.ac-us { border: 2px solid var(--primary); }
@media (max-width: 768px) { .adapt-comparison { grid-template-columns: 1fr; } }

/* Contact */
.contact-section { padding: 100px 0; background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.contact-info > p { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; }

.product-links { display: flex; flex-direction: column; gap: 12px; }
.pl-item { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 12px 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); transition: all 0.2s; }
.pl-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.pl-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.pl-dot.purple { background: var(--purple); }
.pl-dot.teal { background: var(--teal); }
.pl-dot.indigo { background: var(--indigo); }
.pl-dot.blue { background: var(--blue); }
.pl-item strong { font-size: 14px; color: var(--gray-800); }
.pl-item span { font-size: 12px; color: var(--gray-400); }

.contact-form-wrapper { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; color: var(--gray-800); background: #fff; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }
.form-group textarea { resize: vertical; }
.checkbox-group { display: flex; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-600); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.form-note { text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 4px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 60px 0 40px; background: var(--gray-900); color: var(--gray-400); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer-brand .logo { color: #fff; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; color: var(--gray-400); text-decoration: none; font-size: 13px; padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--gray-700); text-align: center; font-size: 13px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Animations */
[data-animate] { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }
