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

:root {
    --bg-top:      #162b1f;
    --bg-mid:      #0e1d14;
    --bg-bottom:   #060e0a;
    --bg-card:     #0d1f16;
    --bg-light:    #0f2719;
    --mint:        #8fcea8;
    --mint-light:  #a8dfc0;
    --orange:      #e09030;
    --orange-light:#f0a840;
    --text:        #d8d8d2;
    --text-dim:    #8a8a82;
    --radius:      12px;
    --shadow:      0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.5);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero: full viewport ── */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 24px;
}

.hero h1 {
    font-size: 56px;
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 6px;
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out;
}

.hero .subtitle {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 0;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

/* Language toggle */
.lang-btn {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 100;
    background: rgba(10, 22, 16, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid var(--mint);
    color: var(--mint);
    font-size: 13px;
    font-weight: bold;
    padding: 5px 16px;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.15s, color 0.15s;
}

.lang-btn:hover {
    background: var(--mint);
    color: var(--bg-bottom);
}

/* Scroll arrow */
.scroll-arrow {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease infinite;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.scroll-arrow:hover { opacity: 1; }

.scroll-arrow svg {
    width: 32px;
    height: 32px;
    stroke: var(--mint);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Sections ── */
section { padding: 60px 0; position: relative; }

section h2 {
    text-align: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    font-weight: 700;
    animation: fadeIn 0.6s ease-out;
}

/* ── Showcase: image + text rows ── */
.showcase-row {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out backwards;
}

.showcase-row:nth-child(2) { animation-delay: 0s; }
.showcase-row:nth-child(3) { animation-delay: 0.15s; }
.showcase-row:nth-child(4) { animation-delay: 0.3s; }
.showcase-row:nth-child(5) { animation-delay: 0.45s; }

.showcase-row.reverse { flex-direction: row-reverse; }

.showcase-img {
    flex: 1.3;
    min-width: 0;
}

.showcase-img img {
    width: 100%;
    border-radius: var(--radius);
    border: 2px solid #1f4a35;
    display: block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.showcase-img img:hover {
    transform: scale(1.03) translateY(-4px);
    border-color: var(--mint);
    box-shadow: 0 16px 40px rgba(143, 206, 168, 0.2);
}

.showcase-img.card-img img {
    width: auto;
    max-width: 260px;
    margin: 0 auto;
}

.showcase-text {
    flex: 1;
    min-width: 0;
}

.showcase-text h3 {
    font-size: 22px;
    color: var(--mint);
    margin-bottom: 10px;
    font-weight: 600;
}

.showcase-text p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── Features grid (compact) ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-light) 100%);
    border: 1px solid #1f4a35;
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.5s ease-out backwards;
}

.feature:nth-child(1) { animation-delay: 0s; }
.feature:nth-child(2) { animation-delay: 0.1s; }
.feature:nth-child(3) { animation-delay: 0.2s; }
.feature:nth-child(4) { animation-delay: 0.3s; }

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(143, 206, 168, 0.1), transparent);
    transition: left 0.5s;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--mint);
    box-shadow: 0 16px 40px rgba(143, 206, 168, 0.15);
}

.feature:hover::before {
    left: 100%;
}

.feature h3 {
    font-size: 15px;
    color: var(--mint);
    margin-bottom: 4px;
    font-weight: 600;
}

.feature p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ── Download buttons ── */
.download-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 240px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    animation: scaleIn 0.5s ease-out backwards;
}

.btn:first-of-type { animation-delay: 0.2s; }
.btn:last-of-type  { animation-delay: 0.3s; }

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.6s;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #1a4a30, #2a7a50);
    border-color: var(--mint);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #217a45, #3a9a60);
}

.btn-secondary {
    background: linear-gradient(135deg, #2a3a20, #3a5a30);
    border-color: #7aa860;
    opacity: 0.9;
}

.btn-secondary:hover {
    opacity: 1;
    background: linear-gradient(135deg, #3a5a30, #4a7a40);
}

.btn strong {
    font-size: 18px;
    position: relative;
    z-index: 2;
}

.btn small {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
    position: relative;
    z-index: 2;
}

.version-info {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

/* ── Pricing ── */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 620px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-light) 100%);
    border: 2px solid #1a3328;
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    animation: slideInLeft 0.6s ease-out backwards;
}

.pricing-card:nth-child(2) {
    animation: slideInRight 0.6s ease-out backwards;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.premium {
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(224, 144, 48, 0.2);
}

.pricing-card h3 {
    font-size: 22px;
    color: var(--mint);
    margin-bottom: 12px;
    text-align: center;
    font-weight: 700;
}

.pricing-card.premium h3 { color: var(--orange); }

.pricing-card ul { list-style: none; padding: 0; }

.pricing-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-dim);
}

.pricing-card li::before { content: "\2713 "; color: var(--mint); font-weight: bold; margin-right: 6px; }
.pricing-card.premium li::before { color: var(--orange); }

/* ── Support ── */
.support { text-align: center; }

.support > .container > p {
    color: var(--text-dim);
    margin-bottom: 12px;
    font-size: 15px;
}

.support-note {
    font-size: 13px;
    color: var(--text-dim);
}

/* ── Footer ── */
footer {
    padding: 32px 0;
    border-top: 1px solid #1a3328;
    text-align: center;
    background: var(--bg-bottom);
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: width 0.3s ease;
}

.footer-links a:hover { color: var(--mint); }
.footer-links a:hover::after { width: 100%; }

.copyright { font-size: 12px; color: #555; margin-top: 8px; }

/* ── Legal pages ── */
.legal { padding: 40px 0; }
.legal h1 { font-size: 24px; color: var(--mint); margin-bottom: 8px; }
.legal .updated { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.legal h2 { text-align: left; font-size: 18px; margin-top: 28px; margin-bottom: 10px; }
.legal p, .legal li { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--mint); }

/* ── Mobile ── */
@media (max-width: 700px) {
    .hero h1 { font-size: 32px; letter-spacing: 3px; }
    .hero .subtitle { font-size: 15px; }

    section h2 { font-size: 24px; margin-bottom: 28px; }

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }

    .showcase-img { flex: none; width: 100%; }
    .showcase-text { flex: none; width: 100%; }
    .showcase-text h3 { font-size: 18px; }
    .showcase-text p { font-size: 14px; }

    .pricing-grid { grid-template-columns: 1fr; }
    .download-buttons { flex-direction: column; align-items: center; }
    .btn { min-width: unset; width: 100%; max-width: 280px; }

    .lang-btn { top: 12px; right: 12px; }
}
