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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--nexio-slate-900);
    background-color: var(--nexio-slate-50);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-8);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-4);
    }
}

section {
    padding: var(--spacing-24) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-16) 0;
    }
}

/* Typography Application */
h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    color: var(--nexio-slate-900);
}

h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-black);
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
    color: var(--nexio-slate-900);
}

h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-3);
    color: var(--nexio-slate-900);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
        word-break: break-word;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }
}

p {
    margin-bottom: var(--spacing-4);
}

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

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Utilities */
.grid {
    display: grid;
    gap: var(--spacing-8);
}

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

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

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

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 640px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Flex Utilities */
.flex {
    display: flex;
    align-items: center;
}

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

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

.flex-between {
    justify-content: space-between;
}

.gap-4 {
    gap: var(--spacing-4);
}

.gap-8 {
    gap: var(--spacing-8);
}

.flex-mobile-stack {
    display: flex;
}

@media (max-width: 768px) {
    .flex-mobile-stack {
        flex-direction: column;
        width: 100%;
    }

    .text-center-mobile {
        text-align: center;
    }
}

/* Visibility Utilities */
.hide-mobile {
    display: flex !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

.hide-desktop {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-desktop {
        display: flex !important;
    }
}

/* Utility Classes */
.bg-slate-50 {
    background-color: var(--nexio-slate-50);
}

.bg-slate-900 {
    background-color: var(--nexio-slate-900);
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: #ffffff;
    padding-top: 5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

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

.hero h1 {
    color: #ffffff;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-xl);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-8);
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        text-align: center;
    }

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

    .hero p {
        font-size: var(--text-lg);
    }
}