/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a27;
    --bg-card-hover: #22223a;
    --bg-glass: rgba(26, 26, 39, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #5e5e78;

    --accent-purple: #6c5ce7;
    --accent-green: #00b894;
    --accent-blue: #0984e3;
    --accent-orange: #e17055;
    --accent-cyan: #00cec9;
    --accent-pink: #e84393;

    --gradient: linear-gradient(135deg, #6c5ce7, #00b894);
    --gradient-text: linear-gradient(135deg, #a29bfe, #55efc4);
    --gradient-card: linear-gradient(145deg, rgba(108, 92, 231, 0.1), rgba(0, 184, 148, 0.05));

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --container: 1200px;
    --header-height: 72px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn--lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn--xl {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: var(--radius-md);
}

.btn--block {
    display: flex;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}

.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}

.btn--outline:hover {
    border-color: var(--accent-purple);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.header--scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.header__logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__nav {
    display: flex;
    gap: 32px;
}

.header__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.header__link:hover {
    color: var(--text-primary);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width var(--transition);
    border-radius: 1px;
}

.header__link:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #a29bfe;
    margin-bottom: 24px;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero__subtitle strong {
    color: var(--text-primary);
}

.hero__cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 48px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-value {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* App Window Mock */
.app-window {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
}

.app-window__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.app-window__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.app-window__dot--red { background: #ff5f56; }
.app-window__dot--yellow { background: #ffbd2e; }
.app-window__dot--green { background: #27c93f; }

.app-window__title {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.app-window__body {
    display: flex;
    min-height: 300px;
}

.app-window__sidebar {
    width: 160px;
    padding: 16px 12px;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.app-window__nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    transition: all var(--transition);
}

.app-window__nav-item--active {
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
}

.app-window__content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Disk Card in Mock */
.disk-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition);
}

.disk-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.disk-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.disk-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.disk-card__badge {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0, 184, 148, 0.15);
    color: #55efc4;
    border-radius: 100px;
}

.disk-card__info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.disk-card__bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.disk-card__bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Features ===== */
.features {
    padding: 120px 0;
    position: relative;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card__icon--blue { background: rgba(9, 132, 227, 0.15); color: #74b9ff; }
.feature-card__icon--green { background: rgba(0, 184, 148, 0.15); color: #55efc4; }
.feature-card__icon--purple { background: rgba(108, 92, 231, 0.15); color: #a29bfe; }
.feature-card__icon--orange { background: rgba(225, 112, 85, 0.15); color: #fab1a0; }
.feature-card__icon--cyan { background: rgba(0, 206, 201, 0.15); color: #81ecec; }
.feature-card__icon--pink { background: rgba(232, 67, 147, 0.15); color: #fd79a8; }

.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Performance ===== */
.performance {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.perf__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.perf__bar-group {
    margin-bottom: 40px;
}

.perf__bar-group:last-child {
    margin-bottom: 0;
}

.perf__label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.perf__bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.perf__bar-name {
    width: 90px;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    text-align: right;
}

.perf__bar {
    flex: 1;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 12px;
    width: var(--width);
    min-width: 80px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.perf__bar--ram {
    background: var(--gradient);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.perf__bar--ssd {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
}

.perf__bar--hdd {
    background: linear-gradient(135deg, #636e72, #b2bec3);
}

.perf__bar-value {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.perf__benefits h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.perf__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.perf__list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 24px;
    position: relative;
}

.perf__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient);
}

.perf__list li strong {
    font-size: 16px;
    font-weight: 600;
}

.perf__list li span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Pricing ===== */
.pricing {
    padding: 120px 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    transition: all var(--transition);
}

.pricing__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing__card--featured {
    border-color: rgba(108, 92, 231, 0.4);
    background: var(--gradient-card);
    box-shadow: var(--shadow-glow);
}

.pricing__card--featured:hover {
    border-color: rgba(108, 92, 231, 0.6);
    box-shadow: 0 0 60px rgba(108, 92, 231, 0.25);
}

.pricing__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.pricing__header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing__plan {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing__amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing__amount small {
    font-size: 24px;
}

.pricing__period {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing__features {
    margin-bottom: 32px;
}

.pricing__feature {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing__feature:last-child {
    border-bottom: none;
}

.pricing__feature::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing__feature--yes::before {
    background: rgba(0, 184, 148, 0.15);
    box-shadow: inset 0 0 0 6px rgba(0, 184, 148, 0.5);
}

.pricing__feature--no {
    color: var(--text-muted);
}

.pricing__feature--no::before {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* ===== Download ===== */
.download {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    text-align: center;
}

.download__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.download__note {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--text-primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero__title {
        font-size: 42px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .perf__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .header__nav.active {
        display: flex;
    }

    .header__nav .header__link {
        font-size: 24px;
    }

    .header__actions .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__cta {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero__stat {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .hero__stat-value {
        font-size: 22px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .features, .performance, .pricing, .download {
        padding: 80px 0;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .download__buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer__inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .app-window__sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .pricing__card {
        padding: 28px 20px;
    }

    .feature-card {
        padding: 24px;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }
