/* ============================================
   Index Page Styles
   ============================================ */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.1), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.badge-icon {
    font-size: 1.2em;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.text-gradient {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
        padding-top: calc(70px + var(--space-3xl));
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }
}

/* USP Section */
.usp-section {
    background: var(--color-bg-secondary);
}

.usp-card {
    text-align: center;
}

.usp-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.usp-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.usp-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* Pricing Grid */
.pricing-grid {
    align-items: stretch;
}

.pricing-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.pricing-card .btn {
    width: 100%;
}

/* Process Section */
.process-section {
    background: var(--color-bg-secondary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 900px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

.process-step {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.step-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-accent-primary);
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

.step-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.step-content p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* IT Services Teaser */
.teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 900px) {
    .teaser-grid {
        grid-template-columns: 1fr;
    }
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.teaser-content h2 {
    margin-bottom: var(--space-lg);
}

.teaser-content p {
    margin-bottom: var(--space-xl);
}

.teaser-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-xl);
}

.teaser-list li {
    position: relative;
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    color: var(--color-text-secondary);
}

.teaser-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent-primary);
    border-radius: 50%;
}

/* Code Window Visual */
.code-window {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.code-header {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-content {
    padding: var(--space-xl);
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.8;
    color: var(--color-text-secondary);
    overflow-x: auto;
}

.code-content code {
    color: inherit;
}

/* CTA Section */
.cta-section {
    background: var(--color-bg-secondary);
}

.cta-card {
    text-align: center;
    padding: var(--space-4xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .cta-card {
        padding: var(--space-2xl) var(--space-lg);
    }
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent-gradient);
}

.cta-card h2 {
    margin-bottom: var(--space-md);
}

.cta-card p {
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    /* Hide code window on very small screens */
    .teaser-visual {
        display: none;
    }
}
