/* 
   Jansser Dias — The Strategic Architect
   Design System & Global Styles (Pure CSS)
*/

:root {
    /* Colors */
    --navy-deep: #0A192F;
    --navy-light: #112240;
    --electric-blue: #3B82F6;
    --electric-blue-hover: #2563EB;
    --slate: #8892B0;
    --slate-light: #A8B2D1;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --text-dark: #111827;
    --text-muted: #4B5563;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --section-padding: 100px 5%;
    --container-max-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px; /* BrandElevate Style */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--electric-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--electric-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid rgba(10, 25, 47, 0.2);
    color: var(--navy-deep);
}

.btn-outline-dark:hover {
    background-color: rgba(10, 25, 47, 0.05);
    border-color: var(--navy-deep);
}

.btn-linkedin {
    background-color: transparent;
    border: 1px solid #0077b5;
    color: #0077b5;
    margin-top: 10px;
}

.btn-linkedin:hover {
    background-color: #0077b5;
    color: var(--white);
    border-color: #0077b5;
}

.nav-linkedin {
    display: flex;
    align-items: center;
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.nav-linkedin:hover {
    color: #0077b5;
    opacity: 1;
}

.text-gradient {
    background: linear-gradient(90deg, var(--electric-blue), #818CF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout Sections --- */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.logo span.blue-d {
    color: var(--electric-blue);
}

.logo span.dot {
    color: var(--electric-blue);
}

.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-right: 30px;
}

.lang-btn {
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    background: none;
    border: none;
    padding: 0;
}

.lang-btn.active {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-cta {
    margin-left: 0;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--electric-blue);
}

/* Hero */
.hero {
    min-height: 100vh;
    background-color: var(--navy-deep);
    background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--slate);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--white);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--slate);
    margin: 0;
}

/* Social Proof */
.social-proof {
    background-color: var(--white);
    text-align: center;
}

.social-proof h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Horizontal Carousel Effect */
.logo-carousel {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    width: calc(250px * 12);
    animation: scroll 40s linear infinite;
    gap: 80px;
    align-items: center;
}

.logo-item {
    flex: 0 0 auto;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.logo-item img {
    max-width: 100%;
    height: auto;
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

/* Section Titles */
.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--electric-blue);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* Expertise Cards */
.expertise {
    background-color: var(--bg-light);
}

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

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--electric-blue);
}

.card h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--navy-deep);
    color: var(--white);
    padding: 100px 5% 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h2 {
    font-size: clamp(3rem, 10vw, 8rem); /* Massive typography */
    font-weight: 900;
    opacity: 0.05;
    line-height: 0.8;
    position: absolute;
    left: 0;
    pointer-events: none;
}

.footer-info {
    max-width: 400px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--slate);
    flex-wrap: wrap;
    gap: 20px;
}

/* Responsive / New Classes */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

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

.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #E2E8F0;
    display: block;
    margin-bottom: 10px;
}

.process-step-title {
    margin-bottom: 10px;
}

.process-step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 5%;
    }
    .header.scrolled {
        padding: 10px 5%;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .lang-switcher {
        order: 2;
        margin: 0;
    }
    .logo {
        order: 1;
    }
    .nav-links { 
        order: 3;
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 20px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .header-cta {
        order: 4;
        width: 100%;
        margin-top: 10px;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    .hero {
        text-align: center;
        padding-top: 140px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 !important;
    }
    
    .hero-stats { 
        flex-direction: column; 
        gap: 40px;
        align-items: center;
        margin-top: 40px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-top { 
        flex-direction: column; 
        gap: 40px;
        text-align: center;
    }
    .footer-info {
        margin: 0 auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .section-title { 
        font-size: 2rem; 
    }
    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    .logo-grid, .logo-track {
        gap: 40px;
    }
}
