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

:root {
  --navy: #0F172A;
  --blue-dark: #1E3A8A;
  --blue: #3B82F6;
  --green: #10B981;
  --gray-light: #F8FAFC;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: #1e293b;
  overflow-x: hidden;
}

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .3s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo img { height: 36px; }
.nav-logo span { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.25rem; border-radius: .5rem; font-weight: 600; font-size: .875rem; text-decoration: none; cursor: pointer; border: none; transition: all .25s; }
.btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(59,130,246,.4); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #059669; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(16,185,129,.4); }

.lang-switcher { display: flex; align-items: center; gap: .5rem; margin-right: 1rem; }
.lang-switcher button { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: .6; transition: all .2s; border-radius: 4px; padding: 3px; }
.lang-switcher button img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; display: block; }
.lang-switcher button.active { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.lang-switcher button:hover { opacity: 1; }


/* ── HERO ── */
#home {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0F172A 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 7rem 2rem 4rem;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(59,130,246,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59,130,246,.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.25) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--blue); }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-ctas .btn { padding: .875rem 1.75rem; font-size: 1rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.badge { display: flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); padding: .4rem .9rem; border-radius: 2rem; font-size: .8rem; font-weight: 500; }
.badge svg { width: 14px; height: 14px; fill: var(--green); }

/* hero screenshot mockup */
.hero-visual { position: relative; }
.mockup-window {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 60px rgba(59,130,246,.2);
  transition: transform .4s ease;
}
.mockup-window:hover { transform: translateY(-6px) scale(1.01); }
.mockup-titlebar { background: #1e293b; padding: .6rem 1rem; display: flex; align-items: center; gap: .5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }
.mockup-titlebar span { margin-left: .75rem; color: rgba(255,255,255,.6); font-size: .8rem; }
.mockup-window img { width: 100%; display: block; }

/* ── SECTION COMMONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-block; background: rgba(59,130,246,.12); color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: .35rem 1rem; border-radius: 2rem; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.section-title span { color: var(--blue); }
.section-sub { color: #64748b; font-size: 1.05rem; max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── FEATURES ── */
#features { background: var(--gray-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: #fff; border-radius: 12px; padding: 1.5rem;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  border: 1px solid rgba(59,130,246,.1);
  transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(59,130,246,.15); border-color: var(--blue); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(30,58,138,.1)); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.25rem; }
.feature-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.feature-card p { font-size: .82rem; color: #64748b; line-height: 1.5; }

/* ── HOW IT WORKS ── */
#how-it-works { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); }
#how-it-works .section-title { color: #fff; }
#how-it-works .section-sub { color: rgba(255,255,255,.7); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 3rem; left: 17%; right: 17%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.step-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 2rem; text-align: center; backdrop-filter: blur(10px); }
.step-number { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; box-shadow: 0 0 20px rgba(59,130,246,.5); }
.step-card h3 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.step-card p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; }

/* ── SCREENSHOTS ── */
#screenshots { background: var(--gray-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.12); transition: all .35s ease; }
.gallery-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 50px rgba(59,130,246,.25); }
.gallery-item img { width: 100%; display: block; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(15,23,42,.9)); color: #fff; padding: 1.5rem 1rem .75rem; font-size: .85rem; font-weight: 600; }
.gallery-item .zoom-icon { position: absolute; top: .75rem; right: .75rem; background: rgba(59,130,246,.8); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; font-size: .8rem; }
.gallery-item:hover .zoom-icon { opacity: 1; }

/* lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; box-shadow: 0 0 60px rgba(59,130,246,.3); }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ── EXCEL SHOWCASE ── */
#excel-showcase { background: var(--white); }
.excel-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.excel-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.excel-feature { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: #374151; }
.excel-feature::before { content: '✓'; width: 22px; height: 22px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.excel-img-wrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.2), 0 0 40px rgba(16,185,129,.15); }
.excel-img-wrap img { width: 100%; display: block; cursor: pointer; transition: transform 0.3s ease; }
.excel-img-wrap:hover img { transform: scale(1.02); }


/* ── USE CASES ── */
#use-cases { background: var(--gray-light); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.case-card { background: #fff; border-radius: 12px; padding: 1.75rem 1.25rem; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s; cursor: default; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(59,130,246,.15); }
.case-icon { font-size: 2.25rem; margin-bottom: .75rem; }
.case-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); }

/* ── PRICING ── */
#pricing { background: linear-gradient(135deg, var(--navy), var(--blue-dark)); }
#pricing .section-title { color: #fff; }
#pricing .section-sub { color: rgba(255,255,255,.7); }
.pricing-card {
  max-width: 480px; margin: 3rem auto 0;
  background: rgba(255,255,255,.07);
  border: 2px solid var(--blue);
  border-radius: 20px; padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 60px rgba(59,130,246,.25);
  position: relative;
}
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem 1.25rem; border-radius: 2rem; letter-spacing: 1px; text-transform: uppercase; }
.pricing-card h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.price { font-size: 4rem; font-weight: 900; color: #fff; line-height: 1; }
.price sup { font-size: 1.75rem; font-weight: 700; vertical-align: top; margin-top: .5rem; }
.price-note { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 2rem; }
.pricing-list { list-style: none; text-align: left; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.pricing-list li { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.pricing-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; padding: 1rem; font-size: 1.05rem; }
.no-sub { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: 1rem; }

/* ── PAYMENT OPTIONS ── */
#payment-options { background: var(--white); }
.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.payment-option-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  transition: box-shadow .3s, transform .3s;
}
.payment-option-card:hover { box-shadow: 0 12px 40px rgba(59,130,246,.12); transform: translateY(-4px); }
.payment-option-card--alt {
  border-color: var(--green);
  box-shadow: 0 4px 24px rgba(16,185,129,.1);
}
.pay-option-header { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.pay-option-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59,130,246,.4);
}
.pay-option-badge--green { background: var(--green); box-shadow: 0 4px 14px rgba(16,185,129,.4); }
.pay-option-header h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.pay-option-sub { color: #64748b; font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.6; }
.pay-steps-list {
  list-style: none; counter-reset: pay-step;
  display: flex; flex-direction: column; gap: .85rem;
  margin-bottom: 1.75rem; padding: 0;
}
.pay-steps-list li {
  counter-increment: pay-step;
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .93rem; color: #374151; line-height: 1.5;
}
.pay-steps-list li::before {
  content: counter(pay-step);
  min-width: 26px; height: 26px; border-radius: 50%;
  background: rgba(59,130,246,.12); color: var(--blue);
  font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.payment-option-card--alt .pay-steps-list li::before {
  background: rgba(16,185,129,.12); color: var(--green);
}
.pay-option-cta { margin-top: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.license-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed #cbd5e1; }
.license-form .form-group textarea { color: #475569; }
.license-form .form-group textarea::placeholder { color: #94a3b8; font-style: italic; }



/* ── DOWNLOAD ── */
#download { background: var(--white); }
.download-box { background: linear-gradient(135deg, #0F172A, #1E3A8A); border-radius: 20px; padding: 3rem; text-align: center; margin-top: 2rem; }
.download-box h3 { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.download-box p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.download-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.download-btns .btn { padding: 1rem 2rem; font-size: 1rem; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--gray-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card { background: #fff; border-radius: 16px; padding: 1.75rem; box-shadow: 0 4px 20px rgba(0,0,0,.07); border-left: 4px solid var(--blue); }
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; }
.testimonial-card p { color: #374151; font-size: .95rem; line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; }
.author-info strong { display: block; font-size: .9rem; color: var(--navy); font-weight: 700; }
.author-info span { font-size: .8rem; color: #64748b; }

/* ── FAQ ── */
#faq { background: var(--white); }
.faq-list { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--navy); text-align: left; transition: background .2s; }
.faq-q:hover { background: var(--gray-light); }
.faq-q .arrow { transition: transform .3s; font-size: 1.1rem; color: var(--blue); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.5rem 1.25rem; color: #475569; line-height: 1.7; font-size: .95rem; }
.faq-item.open .faq-a { max-height: 200px; }

/* ── CONTACT ── */
#contact { background: var(--gray-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.contact-info h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { color: #64748b; line-height: 1.7; margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-row .form-group { justify-content: space-between; height: 100%; }
.form-group label { font-size: .85rem; font-weight: 600; color: #374151; }
.form-group input, .form-group textarea { padding: .75rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 8px; font-family: inherit; font-size: .95rem; transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-actions .btn { padding: .875rem 1.75rem; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 3rem 2rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.social-links { display: flex; gap: .75rem; margin-top: .75rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); font-size: .9rem; text-decoration: none; transition: all .2s; }
.social-links a:hover { background: var(--blue); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .825rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
.fade-in { opacity: 0; transition: opacity .6s ease, transform .6s ease; transform: translateY(25px); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.98); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-size: 1.5rem; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .excel-wrapper { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .payment-options-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions .btn-outline, .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem 1.25rem; }
}
