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

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #6366f1;
    --accent: #06b6d4;
    --dark: #0f172a;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-400: #94a3b8;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--gray-800);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

section {
    padding: 100px 0;
    scroll-margin-top: 72px;
}

.container {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    padding: 14px 32px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient);
    box-shadow: 0 4px 14px rgb(79 70 229 / 35%);
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgb(79 70 229 / 45%);
    transform: translateY(-2px);
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 16px;
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--gray-700);
    font-size: 1.15rem;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 24px rgb(0 0 0 / 8%);
}

.navbar .container {
    display: flex;
    height: 72px;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:first-child {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:last-child {
    transform: translateY(-7.5px) rotate(-45deg);
}

.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.hero::before {
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgb(99 102 241 / 30%) 0%, transparent 70%);
}

.hero::after {
    bottom: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgb(6 182 212 / 20%) 0%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content,
.hero-visual {
    flex: 1;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--white);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
}

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

.hero p {
    max-width: 520px;
    margin-bottom: 40px;
    color: var(--gray-400);
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

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

.hero-graphic {
    position: relative;
    display: flex;
    width: 340px;
    height: 340px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 50%;
    background: var(--white);
}

.hero-graphic::before {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    content: "";
    opacity: 0.3;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.hero-graphic-inner {
    display: flex;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    align-items: center;
    justify-content: center;
}

.hero-logo-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.hero-motto {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 2px 14px rgb(0 0 0 / 25%);
    width: min(420px, calc(100vw - 48px));
    transform: translateX(-50%);
}

.hero-motto::before {
    display: block;
    width: 38px;
    height: 2px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #c084fc, #22d3ee);
    content: "";
}

.site-logo {
    width: auto;
    height: 190px;
    max-width: 100%;
    max-height: 100%;
}

.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.feature-card {
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 36px 32px;
    background: var(--gray-100);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    border-color: var(--gray-200);
    box-shadow: 0 12px 32px rgb(0 0 0 / 8%);
    transform: translateY(-6px);
}

.feature-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: var(--gradient);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.model-lineup {
    position: relative;
    overflow: hidden;
    background: #0b1020;
    color: #d7deec;
}

.model-lineup::before,
.model-lineup::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.model-lineup::before {
    top: -280px;
    right: -180px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgb(79 70 229 / 27%), transparent 68%);
}

.model-lineup::after {
    bottom: -300px;
    left: -180px;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgb(6 182 212 / 16%), transparent 68%);
}

.model-lineup .container {
    position: relative;
    z-index: 1;
}

.model-lineup .section-label {
    color: #67e8f9;
}

.model-lineup-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 48px;
}

.model-lineup .section-title {
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.model-lineup-heading > p {
    max-width: 420px;
    padding-bottom: 4px;
    color: #aebbd0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.model-card {
    position: relative;
    display: flex;
    min-height: 490px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgb(148 163 184 / 18%);
    border-radius: 20px;
    padding: 28px;
    background: rgb(15 23 42 / 72%);
    box-shadow: 0 16px 40px rgb(0 0 0 / 12%);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.model-card:hover {
    transform: translateY(-6px);
}

.model-card-elite:hover {
    border-color: #60a5fa;
    background: linear-gradient(155deg, rgb(37 99 235 / 30%), rgb(15 23 42 / 96%) 53%);
}

.model-card-standard:hover {
    border-color: #4ade80;
    background: linear-gradient(155deg, rgb(22 163 74 / 26%), rgb(15 23 42 / 96%) 53%);
}

.model-card-sonic:hover {
    border-color: #facc15;
    background: linear-gradient(155deg, rgb(234 179 8 / 25%), rgb(15 23 42 / 96%) 53%);
}

.model-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
}

.model-tier {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.model-mark {
    position: relative;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 17%);
    border-radius: 12px;
    background: rgb(255 255 255 / 6%);
}

.model-mark-elite::before,
.model-mark-elite::after,
.model-mark-elite i {
    position: absolute;
    content: "";
}

.model-mark-elite::before {
    width: 24px;
    height: 24px;
    background: #a5b4fc;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    filter: drop-shadow(0 0 5px rgb(165 180 252 / 55%));
}

.model-mark-elite::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4c3d9d;
}

.model-mark-elite i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
}

.model-mark-standard {
    display: grid;
    width: 26px;
    height: 26px;
    grid-template-columns: repeat(2, 8px);
    grid-template-rows: repeat(2, 8px);
    align-content: center;
    justify-content: center;
    gap: 3px;
}

.model-mark-standard i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: #67e8f9;
    box-shadow: 0 0 5px rgb(103 232 249 / 35%);
}

.model-mark-standard i:nth-child(2),
.model-mark-standard i:nth-child(3) {
    opacity: 0.45;
}

.model-mark-sonic::before,
.model-mark-sonic::after {
    position: absolute;
    content: "";
}

.model-mark-sonic::before {
    width: 14px;
    height: 25px;
    background: #67e8f9;
    clip-path: polygon(56% 0, 5% 54%, 41% 54%, 29% 100%, 95% 37%, 58% 37%);
    filter: drop-shadow(0 0 5px rgb(103 232 249 / 55%));
    transform: translateX(-6px);
}

.model-mark-sonic::after {
    width: 13px;
    height: 3px;
    border-radius: 999px;
    background: #67e8f9;
    box-shadow: 0 7px 0 #67e8f9;
    transform: translate(11px, -4px) skewX(-25deg);
}

.model-card h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.model-card h3 strong {
    font-weight: 800;
}

.model-description {
    min-height: 78px;
    color: #afbdd0;
    font-size: 0.96rem;
    line-height: 1.65;
}

.model-metric {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 30px 0 25px;
    border-bottom: 1px solid rgb(148 163 184 / 18%);
    padding-bottom: 24px;
}

.model-metric strong {
    color: var(--white);
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 0.9;
}

.model-card-elite .model-metric strong {
    color: #c4b5fd;
}

.model-card-sonic .model-metric strong {
    color: #67e8f9;
}

.model-metric span {
    max-width: 130px;
    color: #94a3b8;
    font-size: 0.76rem;
    line-height: 1.35;
}

.model-details {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    list-style: none;
}

.model-details li {
    position: relative;
    padding-left: 17px;
    color: #c7d2e1;
    font-size: 0.85rem;
    line-height: 1.5;
}

.model-details li::before {
    position: absolute;
    top: 0.52em;
    left: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #67e8f9;
    content: "";
}

.model-details em {
    color: #e0e7ff;
    font-style: normal;
    font-weight: 700;
}

.contact {
    background: var(--white);
}

.contact-email-card {
    max-width: 420px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 28px 32px;
    background: var(--white);
    box-shadow: 0 4px 24px rgb(0 0 0 / 6%);
    font-style: normal;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.icon-circle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient);
    font-size: 1.1rem;
}

.detail-text .label {
    color: var(--gray-400);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-text .value {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
}

.detail-text .value a {
    color: var(--primary);
    transition: color 0.2s ease;
}

.detail-text .value a:hover {
    color: var(--primary-dark);
}

.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    color: var(--gray-400);
}

.footer .logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-about {
    margin-bottom: 48px;
}

.footer-about p {
    max-width: 540px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

.mobile-nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--white);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-graphic {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        flex-direction: column;
        padding-top: 32px;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .hero-graphic {
        width: 260px;
        height: 260px;
    }

    .site-logo {
        width: 72%;
        height: auto;
    }

    .model-lineup-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .model-lineup-heading > p {
        max-width: 620px;
    }

    .models-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .model-card {
        min-height: 0;
        padding: 28px;
    }

    .model-description {
        min-height: 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 64px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .model-card-topline {
        margin-bottom: 30px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
