:root {
    --primary-color: #1e3a5f;
    --primary-light: #2d5a8a;
    --primary-dark: #0f2439;
    --accent-color: #3498db;
    --accent-light: #5dade2;
    --success-color: #27ae60;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --text-light: #8395a7;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #ecf0f1;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-suffix {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.cta-button.full-width {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(30, 58, 95, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
}

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

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

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.services {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(30, 58, 95, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-color);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-medium);
}

.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.about-features {
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.stats-row {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 4px;
}

.about-visual {
    position: relative;
}

.about-image {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    gap: 16px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-light));
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
}

.chart-bar:nth-child(1) { animation: growUp 1s ease-out 0.1s backwards; }
.chart-bar:nth-child(2) { animation: growUp 1s ease-out 0.2s backwards; }
.chart-bar:nth-child(3) { animation: growUp 1s ease-out 0.3s backwards; }
.chart-bar:nth-child(4) { animation: growUp 1s ease-out 0.4s backwards; }
.chart-bar:nth-child(5) { animation: growUp 1s ease-out 0.5s backwards; }

@keyframes growUp {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(30, 58, 95, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-color);
}

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

.contact-text p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--accent-color);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

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

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

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-suffix {
    color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 44px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .stats-row {
        gap: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
    }
}
