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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-900: #0F172A;
    --primary-800: #1E293B;
    --primary-700: #334155;
    --primary-600: #475569;
    --primary-500: #64748B;
    --primary-400: #94A3B8;
    --primary-300: #CBD5E1;
    --primary-200: #E2E8F0;
    --primary-100: #F1F5F9;
    --primary-50: #F8FAFC;
    
    --accent-600: #2563EB;
    --accent-500: #3B82F6;
    --accent-400: #60A5FA;
    --accent-300: #93C5FD;
    
    --secondary-600: #7C3AED;
    --secondary-500: #8B5CF6;
    --secondary-400: #A78BFA;
    
    --success-500: #10B981;
    --warning-500: #F59E0B;
    --error-500: #EF4444;
    
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    --gradient-light: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
    
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

body {
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-900);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--primary-200);
    transition: all var(--transition-normal);
}

.nav {
    width: 100%;
}

.nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__brand {
    z-index: 101;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
}

.brand-text {
    color: var(--primary-900);
}

.brand-accent {
    color: var(--accent-500);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}

.nav__item {
    position: relative;
}

.nav__link {
    color: var(--primary-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    transition: color var(--transition-normal);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav__link:hover,
.nav__link--active {
    color: var(--accent-500);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-900);
    transition: all var(--transition-normal);
    border-radius: 1px;
}

.main {
    padding-top: 80px;
}

.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
}

.hero__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__content {
    max-width: 560px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    margin-bottom: 32px;
}

.badge__dot {
    width: 8px;
    height: 8px;
    background: var(--accent-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.badge__text {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-600);
}

.hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero__subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary-600);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn--outline {
    background: transparent;
    color: var(--primary-700);
    border: 2px solid var(--primary-300);
}

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

.btn--large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn__icon {
    transition: transform var(--transition-normal);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

.hero__visual {
    position: relative;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 480px;
    margin-left: auto;
}

.grid-item {
    animation: float 6s ease-in-out infinite;
}

.grid-item--1 {
    animation-delay: 0s;
}

.grid-item--2 {
    animation-delay: 2s;
    grid-column: span 2;
}

.grid-item--3 {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-mini {
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.card-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-mini__icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
}

.card-mini__content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 4px;
}

.card-mini__content p {
    font-size: 14px;
    color: var(--primary-600);
}

.services {
    padding: 120px 0;
    background: white;
}

.services__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-900);
    line-height: 1.2;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

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

.service-card {
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-light);
    border: 1px solid var(--primary-200);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-500);
    transition: all var(--transition-normal);
}

.service-card:hover .service-card__icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.service-card__badge {
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.service-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card__description {
    font-size: 16px;
    color: var(--primary-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-card__features {
    list-style: none;
    margin-bottom: 32px;
}

.service-card__features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--primary-700);
}

.service-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-500);
    font-weight: 600;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-500);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-normal);
}

.service-card__link:hover {
    gap: 12px;
    color: var(--accent-600);
}

.stats {
    padding: 80px 0;
    background: var(--gradient-light);
}

.stats__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.stat-item__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-900);
    margin-bottom: 8px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item__label {
    font-size: 16px;
    color: var(--primary-600);
    font-weight: 500;
}

.cta {
    padding: 120px 0;
    background: var(--primary-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.cta__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cta__content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta__title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta__actions {
    display: flex;
    justify-content: center;
}

.footer {
    background: var(--primary-900);
    color: white;
    padding: 80px 0 40px;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--primary-700);
}

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

.footer__description {
    margin-top: 16px;
    color: var(--primary-400);
    line-height: 1.6;
    max-width: 280px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: var(--primary-400);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer__link:hover {
    color: var(--accent-400);
}

.footer__contact p {
    color: var(--primary-400);
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer__bottom {
    text-align: center;
    padding-top: 40px;
}

.footer__bottom p {
    color: var(--primary-500);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero__title {
        font-size: 56px;
    }
    
    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer__links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
    }
    
    .nav__menu--active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero__title {
        font-size: 40px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .btn {
        justify-content: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 32px;
    }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .cta__title {
        font-size: 36px;
    }
    
    .cta__subtitle {
        font-size: 18px;
    }
    
    .footer {
        padding: 60px 0 32px;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .nav__container {
        padding: 0 16px;
    }
    
    .hero__container,
    .services__container,
    .stats__container,
    .cta__container,
    .footer__container {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .stats__grid {
        grid-template-columns: 1fr;
    }
    
    .cta__title {
        font-size: 28px;
    }
} 