/* ============================================
   PrimeStrider - Institutional Fintech Website
   Color Palette (STRICT):
   - Primary background: #0B1220
   - Petroleum main: #0F4C5C
   - Accent (discrete): #1FA2B8
   - Secondary surfaces: #1E293B
   - Text color: #E5E7EB
   ============================================ */

:root {
    --bg-primary: #0B1220;
    --bg-petroleum: #0F4C5C;
    --accent: #1FA2B8;
    --surface-secondary: #1E293B;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --border: rgba(30, 41, 59, 0.5);
    --shadow: rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(11, 18, 32, 0.95);
}

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

.brand img {
    height: 70px;
    width: auto;
    display: block;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.lang-link {
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.lang-link:hover {
    color: var(--text-primary);
    background-color: rgba(31, 162, 184, 0.1);
}

.lang-link.active {
    color: var(--accent);
    background-color: rgba(31, 162, 184, 0.15);
}

.lang-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 76, 92, 0.05) 100%);
}

.hero-content {
    max-width: 900px;
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subheadline {
    font-size: 20px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-mission {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 700px;
}

.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--bg-petroleum);
    border-color: var(--bg-petroleum);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 162, 184, 0.3);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section.muted {
    background-color: rgba(15, 76, 92, 0.05);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    max-width: 800px;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Cards */
.card {
    background-color: var(--surface-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(31, 162, 184, 0.3);
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

/* Card Icons */
.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.05);
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* Grids */
.grid {
    display: grid;
    gap: 24px;
}

.competencies-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-text h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-intro {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-email {
    display: inline-block;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background-color: rgba(15, 76, 92, 0.05);
}

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

.footer-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        padding: 16px 24px;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .hero-mission {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-intro {
        font-size: 16px;
    }

    .card {
        padding: 24px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 20px;
    }

    .competencies-grid,
    .services-grid,
    .principles-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .cta-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
