@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #1f2430;
    --glass: rgba(13, 17, 23, 0.8);
    --glass-strong: rgba(22, 27, 34, 0.95);
    --border-color: rgba(212, 175, 55, 0.35);
    --border-muted: rgba(240, 246, 252, 0.08);
    --gold: #d4af37;
    --gold-soft: #f0d877;
    --blue: #58a6ff;
    --cyan: #45c4f9;
    --green: #3fb950;
    --danger: #f85149;
    --text-primary: #f0f6fc;
    --text-muted: #8b949e;
    --shadow-soft: 0 25px 60px rgba(0, 0, 0, 0.45);
    --shadow-inner: inset 0 0 30px rgba(212, 175, 55, 0.12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --space-xs: 6px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 36px;
    --space-xl: 72px;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Source Han Sans SC', 'PingFang SC', system-ui, sans-serif;
    background: radial-gradient(circle at top right, rgba(46, 54, 89, 0.5), transparent 60%), var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(88, 166, 255, 0.18), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.18), transparent 42%);
    z-index: -2;
}

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

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

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

main {
    padding-top: 110px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-lg);
    text-align: left;
}

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

.eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 var(--space-sm);
}

.section-description {
    color: var(--text-muted);
    max-width: 720px;
    font-size: 1.05rem;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

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

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.glass-panel {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.85), rgba(13, 17, 23, 0.72));
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.5), rgba(88, 166, 255, 0.3));
    mix-blend-mode: color-dodge;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.glass-panel:hover::after {
    opacity: 0.6;
}

.glass-card {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid var(--border-muted);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
}

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-soft);
    font-size: 0.92rem;
    animation: float 6s ease-in-out infinite;
}

.text-mono {
    font-family: 'JetBrains Mono', monospace;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(88, 166, 255, 0.4);
    color: var(--blue);
    font-size: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-primary);
    transition: var(--transition);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #f0d877, #d4af37);
    color: #1b1b1b;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: rgba(240, 246, 252, 0.3);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(88, 166, 255, 0.12);
    color: var(--blue);
    font-size: 0.85rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(13, 17, 23, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 246, 252, 0.1);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 1.6rem;
    letter-spacing: 0.12rem;
    color: var(--text-primary);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(240, 246, 252, 0.08);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: rgba(13, 17, 23, 0.97);
    border: 1px solid rgba(240, 246, 252, 0.08);
    border-radius: var(--radius-sm);
    min-width: 220px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: var(--transition);
    transition-delay: 0.15s;
    box-shadow: var(--shadow-soft);
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.dropdown-item a {
    color: var(--text-muted);
    padding: 10px 22px;
    display: flex;
    justify-content: space-between;
}

.dropdown-item a:hover {
    color: var(--gold);
    background: rgba(240, 246, 252, 0.08);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(88, 166, 255, 0.18), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.25), transparent 48%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
    align-items: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.stat-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.06);
    background: rgba(13, 17, 23, 0.75);
    box-shadow: var(--shadow-soft);
}

.stat-card h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--gold);
}

.stat-card span {
    color: var(--text-muted);
}

.data-strip {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.data-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.particle-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.advantage-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

/* Product tabs */
.product-tabs {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--space-md);
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tab-button {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.6);
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.12), rgba(88, 166, 255, 0.12));
}

.tab-content {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.8);
    overflow: hidden;
}

.tab-panel {
    display: none;
    padding: var(--space-lg);
    gap: var(--space-md);
    align-items: center;
}

.tab-panel.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tab-panel img {
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    box-shadow: var(--shadow-soft);
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-list li {
    list-style: none;
    padding-left: 28px;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

/* Data board */
.data-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
}

.data-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.06);
    background: rgba(22, 27, 34, 0.85);
}

.data-card strong {
    font-size: 1.8rem;
    color: var(--gold);
}

.chart-panel {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.06);
    background: radial-gradient(circle at top, rgba(88, 166, 255, 0.15), rgba(13, 17, 23, 0.92));
}

.chart-canvas {
    width: 100%;
    height: 240px;
}

/* Cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.case-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.85);
    transition: transform 0.5s ease;
}

.case-card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.case-card:hover {
    transform: translateY(-8px);
}

.case-body {
    padding: var(--space-md);
}

.case-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Logo wall */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    align-items: center;
}

.logo-cell {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.65);
    display: grid;
    place-items: center;
}

.logo-cell img {
    max-height: 54px;
    filter: grayscale(100%) brightness(1.8);
    opacity: 0.9;
}

/* CTA */
.cta-section {
    background: linear-gradient(120deg, rgba(19, 26, 40, 0.95), rgba(53, 40, 60, 0.9));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(240, 246, 252, 0.08);
    box-shadow: var(--shadow-soft);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Page header */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(120deg, rgba(19, 23, 35, 0.9), rgba(26, 30, 45, 0.85)), url('images/tech_data_10.png') center/cover;
    border-bottom: 1px solid rgba(240, 246, 252, 0.08);
}

.page-header h1 {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

/* About */
.intro-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-lg);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(88, 166, 255, 0.2), rgba(212, 175, 55, 0.4));
}

.timeline-item {
    margin-bottom: var(--space-md);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: #0d1117;
}

.culture-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}

.culture-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.75);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--blue);
    font-size: 0.85rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.service-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.75);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.architecture-card img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 246, 252, 0.08);
}

.flow-steps {
    display: grid;
    gap: var(--space-sm);
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(240, 246, 252, 0.06);
}

.flow-index {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    font-weight: 600;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.news-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.78);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-meta {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.news-detail-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.news-body p {
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

.quote-box {
    border-left: 4px solid var(--gold);
    padding-left: var(--space-md);
    color: var(--gold-soft);
    font-style: italic;
}

/* Cases */
.case-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.case-detail-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.78);
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}

.partner-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.7);
    text-align: center;
}

.partner-card img {
    max-height: 52px;
    margin: 0 auto var(--space-sm);
    filter: grayscale(100%) brightness(1.2);
}

/* Careers */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.job-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.78);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.job-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-unstyled li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.list-unstyled li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.contact-form {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.8);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.form-group label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.7);
    color: var(--text-primary);
    font-family: inherit;
}

.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(240, 246, 252, 0.08);
    min-height: 360px;
}

.info-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 246, 252, 0.08);
    background: rgba(13, 17, 23, 0.75);
}

/* Privacy */
.privacy-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.policy-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    background: #050608;
    border-top: 1px solid rgba(240, 246, 252, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.footer h4 {
    margin-bottom: var(--space-sm);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(240, 246, 252, 0.08);
    text-align: center;
    color: var(--text-muted);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (min-width: 1400px) {
    :root {
        --max-width: 1280px;
    }
}

@media (max-width: 1199px) {
    .product-tabs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .hero-grid,
    .intro-grid,
    .data-board {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 24px;
        flex-direction: column;
        background: rgba(13, 17, 23, 0.95);
        padding: 18px;
        border-radius: var(--radius-md);
        min-width: 260px;
        border: 1px solid rgba(240, 246, 252, 0.08);
        display: none;
    }

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

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        border: none;
        padding: 0 0 12px 18px;
        box-shadow: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 767px) {
    main {
        padding-top: 90px;
    }

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

    .advantages-grid,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575px) {
    .section {
        padding: 48px 0;
    }

    .tab-panel.active {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 120px 0 60px;
    }
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.5); }
    100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
}

@keyframes dash {
    to { stroke-dashoffset: -100; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
