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

:root {
    --bg-dark: #0e1b34;
    --bg-dark-2: #0a1428;
    --bg-card: rgba(30, 41, 59, 0.55);
    --bg-card-solid: #16213f;
    --gold: #d4af37;
    --gold-soft: rgba(212, 175, 55, 0.15);
    --emerald: #1fb870;
    --emerald-soft: rgba(31, 184, 112, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(212, 175, 55, 0.15);
    --glass-blur: blur(16px);
    --nav-h: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Ambient background */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 15%, rgba(31, 184, 112, 0.14), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(212, 175, 55, 0.12), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(31, 184, 112, 0.08), transparent 35%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
}

.container, main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    background: rgba(14, 27, 52, 0.4);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(14, 27, 52, 0.85);
    border-bottom-color: var(--border-color);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: block;
}

.accent { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* ---------- Lang toggle ---------- */
.lang-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--gold);
    color: var(--bg-dark);
}

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 40px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    scroll-margin-top: var(--nav-h);
}

.hero-text { position: relative; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-soft);
    color: var(--emerald);
    border: 1px solid rgba(31, 184, 112, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(115deg, #f8fafc 35%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-bottom: 32px;
}

.stat { display: flex; flex-direction: column; }

.stat strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(120deg, var(--emerald), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--emerald), #17a862);
    color: #06180f;
    box-shadow: 0 10px 26px -8px rgba(31, 184, 112, 0.55);
}

.btn-disabled {
    cursor: default;
    opacity: 0.95;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06180f;
    position: relative;
}

.dot-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #06180f;
    opacity: 0.5;
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Hero visual / phone mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    max-width: 300px;
    width: 100%;
    border-radius: 40px;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8);
    position: relative;
    transform: perspective(1000px) rotateX(2deg) rotateY(-3deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(212, 175, 55, 0.4);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    background: linear-gradient(135deg, var(--emerald), var(--gold), transparent, var(--emerald));
    z-index: -1;
    border-radius: 44px;
    opacity: 0.5;
    filter: blur(15px);
    background-size: 300% 300%;
    animation: glow 8s ease infinite;
}

@keyframes glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.floating-badge {
    position: absolute;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.6);
    animation: float 5s ease-in-out infinite;
    white-space: nowrap;
}

.badge-1 { top: 12%; left: -4%; animation-delay: 0s; }
.badge-2 { bottom: 14%; right: -6%; animation-delay: 1.4s; }

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

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
    .tagline { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-visual { margin-top: 20px; }
    .floating-badge { display: none; }
}

/* ---------- Sections ---------- */
.section {
    padding: 70px 0;
    scroll-margin-top: var(--nav-h);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.eyebrow {
    display: inline-block;
    color: var(--emerald);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h2 {
    color: var(--text-primary);
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

p {
    margin-bottom: 16px;
    font-size: 1.02rem;
    color: rgba(248, 250, 252, 0.85);
}

ul { list-style: none; }

ul li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 26px;
    color: rgba(248, 250, 252, 0.85);
}

ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

/* ---------- Showcase (interactive tabs) ---------- */
.showcase { padding: 24px; }

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.tab:hover {
    color: var(--text-primary);
    border-color: var(--gold);
}

.tab.active {
    background: linear-gradient(120deg, var(--emerald), #17a862);
    color: #06180f;
    border-color: transparent;
}

.tab-icon { font-size: 1rem; }

.showcase-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 44px;
    align-items: center;
}

.showcase-visual { display: flex; justify-content: center; }

.phone-frame {
    width: 100%;
    max-width: 260px;
    border-radius: 32px;
    padding: 8px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.7);
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.showcase-img.fading { opacity: 0; }

.showcase-info .panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.showcase-info .panel.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.showcase-info h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .showcase-body { grid-template-columns: 1fr; }
    .showcase-visual { margin-bottom: 8px; }
}

/* ---------- Feature grid ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
    border-color: rgba(212, 175, 55, 0.35);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--emerald-soft);
    border-radius: 14px;
    margin-bottom: 18px;
}

.feature-card h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p { margin-bottom: 0; }


/* ---------- FAQ Accordion ---------- */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.faq-question:hover { color: var(--gold); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 12px;
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Badge/Highlight */
.highlight {
    background: var(--emerald-soft);
    color: var(--emerald);
    padding: 2px 9px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ---------- Footer ---------- */
footer {
    padding: 50px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -6px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover { border-color: var(--gold); }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.7rem; }
    .card, .feature-card { padding: 24px; }
    .section { padding: 50px 0; }
}
