/* ==================== CSS Variables ==================== */
:root {
    --primary: #0052cc;
    --primary-dark: #003d99;
    --primary-light: #4c9aff;
    --primary-hover: #0065ff;
    --secondary: #6b778c;
    --accent: #00b8d9;
    --success: #36b37e;
    --warning: #ffab00;
    --danger: #ff5630;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f4f5f7;
    --bg-tertiary: #ebecf0;
    --bg-dark: #091e42;
    --bg-dark-secondary: #172b4d;
    
    --text-primary: #172b4d;
    --text-secondary: #5e6c84;
    --text-muted: #97a0af;
    --text-inverse: #ffffff;
    
    --border: #dfe1e6;
    --border-dark: #344563;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --gradient-accent: linear-gradient(135deg, #0052cc 0%, #00b8d9 100%);
    
    --shadow-sm: 0 1px 2px rgba(9, 30, 66, 0.08);
    --shadow-md: 0 4px 8px rgba(9, 30, 66, 0.08), 0 0 1px rgba(9, 30, 66, 0.16);
    --shadow-lg: 0 8px 16px rgba(9, 30, 66, 0.12), 0 0 1px rgba(9, 30, 66, 0.16);
    --shadow-xl: 0 12px 24px rgba(9, 30, 66, 0.16), 0 0 1px rgba(9, 30, 66, 0.16);
    
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

code, pre {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

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

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
}

.btn-dark {
    background: var(--bg-dark);
    color: white;
    border-color: var(--bg-dark);
}

.btn-dark:hover {
    background: var(--bg-dark-secondary);
    border-color: var(--bg-dark-secondary);
}

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo svg{width:40px;}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

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

.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 16px;
    border-radius: var(--radius);
    position: relative;
}

.nav a:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav a.active {
    color: var(--primary);
    background: rgba(0, 82, 204, 0.08);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    margin-left: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.nav-cta::before {
    content: '';
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

/* ==================== Hero Section ==================== */
.hero {
    padding: 140px 0 100px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-primary);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: #36b37e;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-buttons .btn-primary {
    background: var(--primary);
    padding: 14px 32px;
    font-size: 1rem;
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    font-size: 1rem;
    backdrop-filter: blur(8px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* ==================== Page Hero ==================== */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
}

/* .page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-primary);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
} */

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    background: var(--bg-secondary);
    padding: 12px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

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

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

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

.breadcrumb strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==================== Section ==================== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Features Grid ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 184, 217, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ==================== Version Cards ==================== */
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.version-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.version-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.version-card.recommended {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.version-card.recommended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.version-card.recommended .version-badge {
    background: rgba(0, 82, 204, 0.1);
    color: var(--primary);
}

.version-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.version-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.version-size {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.version-size small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.version-note {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-bottom: 24px;
    font-family: 'SF Mono', monospace;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-download:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
    transform: translateY(-1px);
}

/* ==================== Steps ==================== */
.steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -8px;
    width: 16px;
    height: 2px;
    background: var(--border);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin: 0 auto 16px;
    font-weight: 600;
}

.step h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== Code Block ==================== */
.code-block {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 20px 24px;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.code-block .comment {
    color: #6b778c;
}

.code-block .key {
    color: #79c0ff;
}

.code-block .value {
    color: #a5d6ff;
}

.code-block .section {
    color: #ff7b72;
}

/* ==================== Shortcuts Table ==================== */
.shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.shortcuts-table th,
.shortcuts-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.shortcuts-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.shortcuts-table td {
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.shortcuts-table tr:last-child td {
    border-bottom: none;
}

.shortcuts-table tr:hover td {
    background: var(--bg-secondary);
}

.shortcuts-table .key {
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--primary);
}

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
    background: rgba(0, 82, 204, 0.02);
}

.faq-question i:last-child {
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i:last-child {
    color: var(--primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer > * {
    padding: 0 24px 20px;
}

.faq-answer > p:first-child {
    padding-top: 4px;
}

.faq-answer p,
.faq-answer ul {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.faq-answer .code-block {
    margin: 12px 24px 20px;
}

/* ==================== Contact Section ==================== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 32px;
    display: flex;
    align-items: center;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== Form ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

/* ==================== News ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.news-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.03) 0%, var(--bg-primary) 100%);
    border-color: var(--primary-light);
}

.news-date-badge {
    flex-shrink: 0;
    text-align: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    min-width: 72px;
}

.news-card.featured .news-date-badge {
    background: var(--gradient-primary);
}

.news-date-badge .day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.news-card.featured .news-date-badge .day {
    color: white;
}

.news-date-badge .month {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.news-card.featured .news-date-badge .month {
    color: rgba(255, 255, 255, 0.8);
}

.news-content {
    flex: 1;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tag-version {
    background: rgba(0, 82, 204, 0.1);
    color: var(--primary);
}

.tag-feature {
    background: rgba(0, 184, 217, 0.1);
    color: var(--accent);
}

.tag-update {
    background: rgba(255, 171, 0, 0.1);
    color: var(--warning);
}

.news-content h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* ==================== Changelog ==================== */
.changelog-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.changelog-item {
    padding: 24px;
    padding-left: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    position: relative;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 32px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-secondary);
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.version-tag {
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.version-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.changelog-content h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.changelog-content ul {
    padding-left: 20px;
}

.changelog-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9375rem;
    position: relative;
    line-height: 1.6;
}

.changelog-content li::before {
    content: '•';
    position: absolute;
    left: -16px;
    color: var(--primary);
}

.changelog-content li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==================== Subscribe ==================== */
.subscribe-section {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.subscribe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(0, 82, 204, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(0, 184, 217, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.subscribe-content {
    position: relative;
    z-index: 1;
}

.subscribe-section h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.subscribe-section > .subscribe-content > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.subscribe-form {
    display: flex;
    gap: 12px;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(8px);
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-form .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.subscribe-form .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.subscribe-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-links a i {
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    margin-left: 24px;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ==================== Modal ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 66, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 680px;
    width: 90%;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.qr-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.qr-box {
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.qr-item h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.qr-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.qr-size {
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ==================== Doc Card ==================== */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.doc-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.doc-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.doc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 184, 217, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.doc-card h3 {
    margin-bottom: 8px;
    font-size: 1.0625rem;
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.0625rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        width: 100%;
        padding: 14px 24px;
    }
    
    .nav-cta {
        margin: 16px 24px 0;
        justify-content: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date-badge {
        flex-direction: row;
        display: inline-flex;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-codes {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .subscribe-section {
        padding: 32px 24px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ==================== Utilities ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
