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

:root {
    --red: #FF4444;
    --red-dark: #FF6666;
    --yellow: #FFD700;
    --yellow-dark: #FFEB3B;
    --blue: #4169E1;
    --blue-light: #6495ED;
    --orange: #FF8C00;
    
    /* Dark theme colors (default) */
    --bg-primary: #0D0D0D;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #252525;
    --bg-hover: #2A2A2A;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-tertiary: #808080;
    
    --border-primary: #2A2A2A;
    --border-secondary: #3A3A3A;
    --border-hover: #4A4A4A;
}

/* Light theme */
body.light-theme {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-tertiary: #FAFAFA;
    --bg-hover: #F0F0F0;
    
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    
    --border-primary: #E5E5E5;
    --border-secondary: #D1D1D1;
    --border-hover: #B3B3B3;
}

body.light-theme .nav {
    background: rgba(255, 255, 255, 0.9);
}

body.light-theme .achievements-header {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link.active {
    color: var(--red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border-secondary);
    background: var(--bg-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 16px;
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
    color: var(--text-secondary);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: var(--text-secondary);
}

body.light-theme .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-theme .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.btn-primary-large {
    padding: 16px 32px;
    font-size: 16px;
    background: var(--red);
    color: var(--text-primary);
}

.btn-primary-large:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-tertiary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--border-secondary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.red {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(255, 140, 0, 0.1));
    color: var(--red);
}

.feature-icon.blue {
    background: linear-gradient(135deg, rgba(0, 51, 255, 0.1), rgba(65, 105, 225, 0.1));
    color: var(--blue);
}

.feature-icon.yellow {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    color: #D4A700;
}

.feature-icon.orange {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(227, 30, 36, 0.1));
    color: var(--orange);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Stats */
.stats {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-text {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

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

.footer-text {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Page Header */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
}

.achievements-header {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.03) 0%, rgba(13, 13, 13, 0) 100%);
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Reviews */
.reviews {
    padding: 0 0 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.review-card {
    background: var(--bg-tertiary);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: var(--border-secondary);
}

.review-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review-info {
    flex: 1;
}

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

.review-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--border-secondary);
    font-size: 16px;
}

.star.filled {
    color: var(--yellow);
}

.review-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-date {
    color: var(--text-tertiary);
    font-size: 13px;
}

.reviews-cta {
    text-align: center;
    padding: 48px 0;
}

.reviews-cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Achievements */
.achievements {
    padding: 0 0 80px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.achievement-card {
    background: var(--bg-tertiary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    border-left: 4px solid var(--red);
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--border-secondary);
}

.achievement-badge {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.achievement-badge.red {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(255, 140, 0, 0.1));
    color: var(--red);
}

.achievement-badge.blue {
    background: linear-gradient(135deg, rgba(0, 51, 255, 0.1), rgba(65, 105, 225, 0.1));
    color: var(--blue);
}

.achievement-badge.yellow {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    color: #D4A700;
}

.achievement-badge.orange {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(227, 30, 36, 0.1));
    color: var(--orange);
}

.achievement-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.achievement-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

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

.timeline-items::before {
    content: '';
    position: absolute;
    left: 65px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--red), var(--blue));
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -140px;
    top: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -82px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--red);
}

.timeline-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* Contacts */
.contacts {
    padding: 0 0 80px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--bg-tertiary);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: var(--border-secondary);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-icon.red {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(255, 140, 0, 0.1));
    color: var(--red);
}

.contact-icon.blue {
    background: linear-gradient(135deg, rgba(0, 51, 255, 0.1), rgba(65, 105, 225, 0.1));
    color: var(--blue);
}

.contact-icon.yellow {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    color: #D4A700;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.contact-subtext {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Form */
.form-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    padding: 12px 16px;
    border: 1.5px solid var(--border-secondary);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15);
    background: var(--bg-primary);
}

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

.form-input option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Social Section */
.social-section {
    text-align: center;
    padding: 60px 0 0;
    border-top: 1px solid var(--border-primary);
}

.social-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border-secondary);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.social-link:hover {
    border-color: var(--red);
    color: var(--red);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .page-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-grid,
    .reviews-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .timeline-items {
        padding-left: 32px;
    }
    
    .timeline-items::before {
        left: 0;
    }
    
    .timeline-year {
        position: static;
        margin-bottom: 8px;
        font-size: 20px;
    }
    
    .timeline-item::before {
        left: -26px;
    }
    
    .form-card {
        padding: 28px;
    }
}

