/* CSS Custom Properties */
:root {
    /* Colors */
    --bg-dark: #0b0f1a;
    --fg-light: #e6f0ff;
    --text-muted: #b6c3de;
    --card-bg: #12182a;
    --card-stroke: #1e2742;
    
    /* Gradients */
    --gradient-accent: linear-gradient(90deg, #7dd3fc, #c084fc);
    
    /* Status Colors */
    --status-ok: #10b981;
    --status-warn: #f59e0b;
    --status-danger: #ef4444;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 14px;
    --border-radius-lg: 18px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--fg-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(11, 15, 26, 0.8) 0%, rgba(18, 24, 42, 0.7) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(125, 211, 252, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 -1px 1px rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--fg-light);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--card-bg);
        border-bottom: 1px solid var(--card-stroke);
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    background: 
        linear-gradient(135deg, rgba(11, 15, 26, 0.4) 0%, rgba(18, 24, 42, 0.6) 50%, rgba(11, 15, 26, 0.7) 100%),
        url('assets/hero-background.png') center center / cover no-repeat;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(125, 211, 252, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(192, 132, 252, 0.15), transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.tagline {
    color: #7dd3fc;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.1);
    filter: blur(20px);
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #e6f0ff;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(125, 211, 252, 0.4);
    font-size: 1.0625rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(125, 211, 252, 0.6);
}

.btn-secondary {
    background: rgba(18, 24, 42, 0.8);
    color: var(--fg-light);
    border: 1px solid rgba(125, 211, 252, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(18, 24, 42, 0.95);
    border-color: #7dd3fc;
    box-shadow: 0 4px 20px rgba(125, 211, 252, 0.3);
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.kpi-card {
    background: linear-gradient(135deg, rgba(18, 24, 42, 0.3) 0%, rgba(30, 39, 66, 0.2) 100%);
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.3), rgba(192, 132, 252, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(125, 211, 252, 0.4), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(125, 211, 252, 0.4);
}

.kpi-card:hover::before {
    opacity: 1;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    filter: drop-shadow(0 2px 8px rgba(125, 211, 252, 0.5));
}

.kpi-label {
    color: #e6f0ff;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(125, 211, 252, 0.03), transparent 60%);
    pointer-events: none;
}

.section-alt {
    background: linear-gradient(180deg, rgba(18, 24, 42, 0.3) 0%, rgba(11, 15, 26, 0.5) 50%, rgba(18, 24, 42, 0.3) 100%);
}

.section-alt::before {
    background: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.05), transparent 60%);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: linear-gradient(135deg, rgba(18, 24, 42, 0.6) 0%, rgba(30, 39, 66, 0.4) 100%);
    border: 1px solid rgba(125, 211, 252, 0.15);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.3), transparent);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(125, 211, 252, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-color: rgba(125, 211, 252, 0.3);
}

.card-with-image {
    padding: 0;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: var(--spacing-md);
}

.card-with-image .card-title,
.card-with-image .card-text {
    padding: 0 var(--spacing-md);
}

.card-with-image .card-title {
    margin-top: 0;
}

.card-with-image .card-text {
    padding-bottom: var(--spacing-md);
}

.card-with-image .benefit-list {
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--fg-light);
}

.card-text {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Benefit List */
.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--status-ok);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.pillar-card {
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.3) 0%, rgba(192, 132, 252, 0.3) 100%);
    border: 1px solid rgba(125, 211, 252, 0.4);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(125, 211, 252, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(125, 211, 252, 0.4),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.pillar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e6f0ff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Content Box */
.content-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
}

.pill-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(18, 24, 42, 0.6) 0%, rgba(30, 39, 66, 0.5) 100%);
    border: 1px solid rgba(125, 211, 252, 0.25);
    border-radius: 50px;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-sm);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.pill-text {
    font-weight: 600;
    color: var(--fg-light);
    margin-right: var(--spacing-xs);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--card-stroke);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(18, 24, 42, 0.6) 0%, rgba(30, 39, 66, 0.4) 100%);
    border: 1px solid rgba(125, 211, 252, 0.15);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--fg-light);
}

.timeline-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

@media (max-width: 640px) {
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .timeline-item {
        gap: var(--spacing-sm);
    }
}

/* Finance Grid */
.finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.finance-amount {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--spacing-sm) 0;
}

.contact-link {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* CTA Section */
.section-cta {
    background: 
        linear-gradient(135deg, rgba(11, 15, 26, 0.75) 0%, rgba(18, 24, 42, 0.85) 50%, rgba(11, 15, 26, 0.75) 100%),
        url('assets/cta-background.png') center center / cover no-repeat;
    position: relative;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(125, 211, 252, 0.12), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(192, 132, 252, 0.12), transparent 60%);
    pointer-events: none;
}

.section-cta .container {
    position: relative;
    z-index: 1;
}

/* CTA Box */
.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(18, 24, 42, 0.25) 0%, rgba(30, 39, 66, 0.2) 100%);
    border: 2px dashed rgba(125, 211, 252, 0.4);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 2px 2px rgba(255, 255, 255, 0.15);
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.3), rgba(192, 132, 252, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--fg-light);
}

.cta-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(18, 24, 42, 0.6) 0%, rgba(11, 15, 26, 0.8) 100%);
    border-top: 1px solid rgba(125, 211, 252, 0.15);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    backdrop-filter: blur(15px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

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

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.15) 0%, rgba(192, 132, 252, 0.15) 100%);
    border: 1px solid rgba(125, 211, 252, 0.25);
    color: #7dd3fc;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .finance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}
