/* Design System Variables */
:root {
    --background: hsl(210, 25%, 98%);
    --foreground: hsl(215, 25%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 15%);
    --primary: hsl(215, 85%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow: hsl(215, 85%, 45%);
    --secondary: hsl(195, 75%, 50%);
    --muted: hsl(210, 20%, 94%);
    --muted-foreground: hsl(215, 15%, 45%);
    --accent: hsl(185, 80%, 45%);
    --accent-foreground: hsl(0, 0%, 100%);
    --border: hsl(210, 20%, 88%);
    
    --gradient-primary: linear-gradient(135deg, hsl(215, 85%, 25%), hsl(215, 85%, 45%));
    --gradient-accent: linear-gradient(135deg, hsl(195, 75%, 50%), hsl(185, 80%, 45%));
    --gradient-hero: linear-gradient(135deg, hsl(215, 85%, 20%) 0%, hsl(195, 75%, 35%) 100%);
    
    --shadow-sm: 0 2px 8px hsla(215, 85%, 25%, 0.08);
    --shadow-md: 0 4px 16px hsla(215, 85%, 25%, 0.12);
    --shadow-lg: 0 12px 32px hsla(215, 85%, 25%, 0.16);
    --shadow-glow: 0 0 40px hsla(195, 75%, 50%, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url('hero-ai.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    display: block;
    margin-top: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--primary-foreground);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid hsla(185, 80%, 45%, 0.5);
    background: transparent;
    color: var(--primary-foreground);
}

.btn-outline:hover {
    background: hsla(185, 80%, 45%, 0.1);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.service-card {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-0.5rem);
}

.service-icon {
    display: inline-block;
    padding: 1rem;
    background: var(--gradient-accent);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    box-shadow: var(--shadow-glow);
}

.service-icon svg {
    display: block;
    color: var(--accent-foreground);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Sectors Section */
.sectors {
    padding: 6rem 0;
    background: hsla(210, 20%, 94%, 0.3);
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sector-icon {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.sector-item:hover .sector-icon {
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.sector-icon svg {
    display: block;
    color: var(--primary-foreground);
}

.sector-item h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.sector-item p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0;
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
}

.footer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-header p {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 1.125rem;
}

.footer-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: hsla(0, 0%, 100%, 0.9);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.footer-address svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: hsla(0, 0%, 100%, 0.7);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}