/* ═══════════════════════════════════════════
   PRODY MARKETING SITE — SHARED STYLES
   Colors: #2563EB (primary), #0F172A (dark), #60A5FA (accent)
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --dark: #0F172A;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --accent: #60A5FA;
  --accent-light: #93c5fd;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); letter-spacing: -0.01em; }
p { font-size: 1.05rem; color: var(--dark-600); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--dark); }
.nav-logo svg { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--dark-600); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* Solutions dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--dark-600); transition: transform 0.2s; }
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 220px;
  background: white; border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.12); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s;
}
.nav-dropdown-menu.wide {
  min-width: 480px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--dark); transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--gray-50); }
.nav-dropdown-menu a span.dd-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.nav-dropdown-menu a .dd-desc { font-size: 0.8rem; font-weight: 400; color: var(--gray-500); margin-top: 2px; }

.nav-cta {
  background: var(--primary); color: white; padding: 10px 22px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px 24px 24px; gap: 0; border-bottom: 1px solid var(--gray-200); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .nav-dropdown-menu.wide { min-width: 0; grid-template-columns: 1fr; }
  .nav-cta { width: 100%; text-align: center; margin-top: 8px; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.3); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; border-radius: 12px; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; border-radius: 8px; }
.btn svg { width: 20px; height: 20px; }

/* ── HERO ── */
.hero { padding: 160px 0 100px; text-align: center; position: relative; overflow: hidden; }
.hero-dark { background: var(--dark); color: white; }
.hero-dark p { color: var(--gray-400); }
.hero-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #f8fafc 100%);
}
.hero-bg-glow {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(96,165,250,0.04) 40%, transparent 70%);
  top: -250px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight { color: var(--primary); }
.hero-dark h1 .highlight { color: var(--accent); }
.hero p.subtitle { font-size: 1.25rem; max-width: 640px; margin: 0 auto 40px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BADGE / TAG ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
  background: rgba(37,99,235,0.08); color: var(--primary);
}
.badge-dark { background: rgba(96,165,250,0.15); color: var(--accent); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); color: white; }
.section-dark p { color: var(--gray-400); }
.section-gray { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { margin-top: 16px; font-size: 1.15rem; }
.section-label {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 12px;
}
.section-dark .section-label { color: var(--accent); }

/* ── CARDS ── */
.card {
  background: white; border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 32px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover { border-color: var(--gray-300); box-shadow: 0 12px 40px rgba(15,23,42,0.08); transform: translateY(-4px); }
.card-dark { background: var(--dark-800); border-color: rgba(255,255,255,0.08); }
.card-dark:hover { border-color: rgba(255,255,255,0.15); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px;
}
.card-icon-blue { background: rgba(37,99,235,0.1); color: var(--primary); }
.card-icon-green { background: rgba(16,185,129,0.1); color: var(--green); }
.card-icon-orange { background: rgba(245,158,11,0.1); color: var(--orange); }
.card-icon-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; line-height: 1.6; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr; } }

/* ── FEATURE ROWS ── */
.feature-row { display: flex; align-items: center; gap: 64px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-row .feature-text { flex: 1; }
.feature-row .feature-visual { flex: 1; }
.feature-row .feature-text h2 { margin-bottom: 16px; }
.feature-row .feature-text p { margin-bottom: 24px; }
.feature-row .feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-row .feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--dark-600); }
.feature-row .feature-list li svg { min-width: 20px; color: var(--green); margin-top: 2px; }
@media (max-width: 768px) { .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; } }

/* ── MOCKUP BOX ── */
.mockup-box {
  background: linear-gradient(145deg, #0F172A 0%, #1e293b 100%);
  border-radius: 16px; padding: 32px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 50px rgba(15,23,42,0.25);
}
.mockup-box::before {
  content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%); pointer-events: none;
}

/* ── LOOP VISUAL ── */
.loop-steps { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 48px 0; }
.loop-step {
  display: flex; align-items: center; gap: 12px; padding: 16px 24px;
  border-radius: 12px; background: white; border: 2px solid var(--gray-200);
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--dark);
  transition: all 0.3s;
}
.loop-step:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,99,235,0.12); }
.loop-step .step-num {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: white; background: var(--primary);
}
.loop-arrow { font-size: 1.5rem; color: var(--gray-300); }
@media (max-width: 768px) { .loop-arrow { display: none; } .loop-steps { flex-direction: column; } }

/* ── STATS ── */
.stats-row { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; padding: 40px 0; }
.stat { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.section-dark .stat-number { color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--gray-500); margin-top: 4px; }

/* ── PRICING ── */
.pricing-card {
  background: white; border: 2px solid var(--gray-200); border-radius: 20px;
  padding: 40px 32px; text-align: center; position: relative; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--gray-300); box-shadow: 0 8px 32px rgba(15,23,42,0.08); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,0.15); }
.pricing-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 4px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
}
.pricing-tier { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.pricing-price { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; margin: 16px 0 8px; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-desc { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 32px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--dark-600); }
.pricing-features li svg { min-width: 18px; color: var(--green); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; text-align: left;
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--dark);
  cursor: pointer;
}
.faq-question svg { min-width: 20px; transition: transform 0.3s; color: var(--gray-400); }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; font-size: 0.95rem; color: var(--dark-600); line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563EB 50%, #3b82f6 100%);
  border-radius: 24px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -80px; right: -60px; width: 350px; height: 350px;
  border-radius: 50%; background: rgba(255,255,255,0.08); pointer-events: none;
  filter: blur(1px);
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -60px; left: -40px; width: 250px; height: 250px;
  border-radius: 50%; background: rgba(255,255,255,0.05); pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.15rem; position: relative; z-index: 1; }

/* ── SITEMAP FOOTER ── */
.sitemap {
  background: var(--dark); padding: 80px 0 40px; color: white;
}
.sitemap-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sitemap-brand p { color: var(--gray-400); font-size: 0.9rem; margin-top: 16px; line-height: 1.7; max-width: 300px; }
.sitemap-col h4 { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 20px; }
.sitemap-col a { display: block; font-size: 0.9rem; color: var(--gray-300); padding: 6px 0; transition: color 0.2s; }
.sitemap-col a:hover { color: white; }
@media (max-width: 768px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; font-size: 0.85rem; color: var(--gray-500);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--gray-500); transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* ── LEGAL PAGES ── */
.legal-content { padding: 120px 0 80px; }
.legal-content h1 { font-size: 2.5rem; margin-bottom: 8px; }
.legal-content .legal-date { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 40px; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.legal-content h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 24px; }
.legal-content ul li { margin-bottom: 8px; font-size: 1rem; color: var(--dark-600); }

/* ── ABOUT PAGE ── */
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; }
@media (max-width: 768px) { .about-values { grid-template-columns: 1fr; } }
.value-card { padding: 32px; border-left: 4px solid var(--primary); background: var(--gray-50); border-radius: 0 12px 12px 0; }
.value-card h3 { margin-bottom: 8px; }

.founder-card {
  display: flex; gap: 48px; align-items: flex-start; margin-top: 48px;
  background: var(--gray-50); border-radius: 20px; padding: 48px;
}
.founder-photo {
  width: 180px; min-width: 180px; height: 180px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; color: white;
  font-family: var(--font-heading); font-size: 3rem; font-weight: 800;
}
.founder-info h3 { font-size: 1.5rem; margin-bottom: 4px; }
.founder-title { color: var(--primary); font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; }
@media (max-width: 768px) { .founder-card { flex-direction: column; align-items: center; text-align: center; gap: 24px; } }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
