:root {
    --bg: #05070b;
    --bg-soft: #0b1018;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-border: rgba(255, 255, 255, 0.12);
    --text: #f5f7fb;
    --muted: #a7b0c0;
    --primary: #ff2d2d;
    --primary-2: #8b1d1d;
    --primary-soft: rgba(255, 45, 45, 0.18);
    --white-soft: rgba(255, 255, 255, 0.78);
    --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --container: 1200px;
    --header-height: 84px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 45, 45, 0.08), transparent 35%),
        radial-gradient(circle at bottom right, rgba(80, 120, 255, 0.08), transparent 30%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    z-index: 99999;
    background: linear-gradient(90deg, #ff3a3a, #ffffff);
    box-shadow: 0 0 20px rgba(255, 58, 58, 0.5);
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: #05070b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.loader-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--primary);
    animation: spin 0.9s linear infinite;
}

.loader-text {
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Background elements */
.mouse-gradient {
    position: fixed;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.16), transparent 65%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(20px);
}

.bg-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    z-index: -3;
    opacity: 0.35;
}

.bg-glow-1 {
    top: -120px;
    left: -120px;
    background: rgba(255, 45, 45, 0.22);
    animation: floatSlow 8s ease-in-out infinite;
}

.bg-glow-2 {
    bottom: -120px;
    right: -120px;
    background: rgba(68, 118, 255, 0.18);
    animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.06);
    }
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.025;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 120px 120px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    min-height: var(--header-height);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(5, 7, 11, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.header.scrolled {
    background: rgba(5, 7, 11, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.nav {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(255, 45, 45, 0.12));
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu a {
    position: relative;
    font-size: 14px;
    color: var(--white-soft);
    transition: 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.menu a:hover,
.menu a.active {
    color: #fff;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn::before,
.nav-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: translateX(-120%);
    transition: 0.6s ease;
}

.btn:hover::before,
.nav-btn:hover::before {
    transform: translateX(120%);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #ff3a3a, #cb1c1c);
    color: white;
    box-shadow: 0 18px 45px rgba(255, 45, 45, 0.28);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(255, 45, 45, 0.34);
}

.btn-secondary {
    color: white;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.mobile-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
    transition: 0.3s ease;
}

.mobile-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
    padding: 100px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 42px;
}

.badge,
.section-kicker,
.mini-label,
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfe5f0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    width: fit-content;
}

.hero-title {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -2.2px;
    max-width: 760px;
    margin-bottom: 22px;
}

.hero-title span {
    display: block;
    color: #b8c6da;
}

.hero-description {
    max-width: 650px;
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
}

.stat-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.stat-card span {
    font-size: 13px;
    color: var(--muted);
}

/* Glass / Cards */
.glass-card,
.glass-panel,
.service-card,
.contact-box,
.mini-panel,
.price-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
}

.device-showcase {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-card {
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    animation: floatCard 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.large-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 25%),
        radial-gradient(circle at bottom left, rgba(255, 45, 45, 0.12), transparent 28%);
    pointer-events: none;
}

.large-card h3 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.large-card p {
    color: var(--muted);
    margin-bottom: 26px;
}

.screen-mockup {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f1520;
}

.screen-top {
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.screen-body {
    padding: 24px;
}

.screen-line {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.screen-line.short {
    width: 56%;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.screen-grid div {
    height: 120px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.floating-card {
    position: absolute;
    padding: 16px 18px;
    min-width: 220px;
    border-radius: 20px;
    background: rgba(12, 16, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    animation: floatChip 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

@keyframes floatChip {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.floating-card strong {
    font-size: 14px;
    color: white;
}

.floating-one {
    top: 70px;
    right: -10px;
}

.floating-two {
    bottom: 60px;
    left: -10px;
    animation-delay: 1.4s;
}

/* Brands */
.brands {
    padding: 16px 0 30px;
}

.brands-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.brands-wrap > span {
    display: block;
    text-align: center;
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 14px;
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    text-align: center;
}

.brand-list div {
    padding: 14px 10px;
    color: #dbe3f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    font-size: 14px;
    transition: 0.35s ease;
}

.brand-list div:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
}

/* Sections */
.section-space {
    padding: 110px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-head h2,
.about-card h2,
.contact-box h2 {
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -1.8px;
    margin-bottom: 16px;
}

.section-head p,
.about-card p,
.contact-box p {
    font-size: 17px;
    color: var(--muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    padding: 26px;
    border-radius: 24px;
    min-height: 230px;
    transition: 0.35s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.18);
}

.highlight-card {
    background:
        radial-gradient(circle at top right, rgba(255, 45, 45, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.8px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
}

/* Pricing */
.pricing-block + .pricing-block {
    margin-top: 56px;
}

.pricing-title {
    margin-bottom: 24px;
}

.pricing-title h3 {
    font-size: 30px;
    letter-spacing: -0.8px;
    margin-bottom: 6px;
}

.pricing-title p {
    color: var(--muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pricing-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.price-card {
    padding: 28px;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
    transform-style: preserve-3d;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 45, 45, 0.12), transparent 30%);
    opacity: 0;
    transition: 0.4s ease;
}

.price-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.18);
}

.price-card:hover::before {
    opacity: 1;
}

.price-card h4 {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.price {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.6px;
    margin-bottom: 14px;
    color: #fff;
}

.price-card p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 22px;
}

.featured-price {
    border-color: rgba(255, 45, 45, 0.35);
    box-shadow: 0 22px 80px rgba(255, 45, 45, 0.16);
    transform: scale(1.02);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.about-card {
    padding: 34px;
    border-radius: 28px;
}

.about-card p + p {
    margin-top: 14px;
}

.about-side {
    display: grid;
    gap: 16px;
}

.mini-panel {
    padding: 24px;
    border-radius: 22px;
    transition: 0.35s ease;
    transform-style: preserve-3d;
}

.mini-panel:hover {
    transform: translateY(-6px);
}

.mini-panel strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.mini-panel span {
    color: var(--muted);
    font-size: 15px;
}

/* Contact */
.contact-box {
    text-align: center;
    padding: 52px 24px;
    border-radius: 34px;
    max-width: 980px;
    margin: 0 auto;
}

.contact-box .section-kicker {
    margin-left: auto;
    margin-right: auto;
}

.contact-box p {
    max-width: 700px;
    margin: 0 auto;
}

.contact-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 28px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .device-showcase {
        min-height: auto;
    }

    .floating-one,
    .floating-two {
        position: static;
        margin-top: 14px;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 74px;
    }

    .mobile-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 84px;
        left: 12px;
        right: 12px;
        background: rgba(8, 11, 18, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 22px;
        padding: 18px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: 0.35s ease;
    }

    .menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .section-space {
        padding: 80px 0;
    }

    .services-grid,
    .pricing-grid,
    .pricing-grid.three-col,
    .brand-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-description,
    .section-head p,
    .about-card p,
    .contact-box p {
        font-size: 16px;
    }

    .large-card {
        padding: 22px;
    }

    .large-card h3 {
        font-size: 26px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .nav-btn {
        display: none;
    }

    .hero-title {
        letter-spacing: -1.4px;
    }

    .btn,
    .nav-btn {
        width: 100%;
    }

    .hero-actions,
    .contact-actions {
        flex-direction: column;
    }

    .stat-card,
    .service-card,
    .mini-panel,
    .price-card,
    .contact-box,
    .about-card {
        border-radius: 20px;
    }

    .price {
        font-size: 34px;
    }

    .logo-image {
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}