:root {
    /* --- EXECUTIVE NAVY & GOLD PALETTE --- */

    /* Primary Colors (Navy) */
    --navy-900: #050e18;
    /* Deepest Background */
    --navy-800: #0B1C30;
    /* Main Background */
    --navy-700: #112a45;
    /* Cards / Sections */
    --navy-600: #1a3c60;
    /* Borders / Hover */

    /* Accent Colors (Gold) */
    --gold-300: #FCD34D;
    /* Highlights */
    --gold-400: #F59E0B;
    /* Primary Gold (Trend Line / Buttons) */
    --gold-500: #D97706;
    /* Darker Gold (Hover) */
    --gold-600: #B45309;
    /* Deep Gold */

    /* Chart Colors (From Logo) */
    --chart-navy: #0F2743;
    --chart-blue: #1F6C9A;
    --chart-teal: #35B5CC;
    --chart-gold: #D9A400;
    --chart-orange: #E46A3A;

    /* Semantic Mappings */
    --bg-primary: var(--navy-800);
    --bg-secondary: var(--navy-900);
    --bg-card: var(--navy-700);

    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    /* Cool Grey */
    --text-tertiary: #94A3B8;

    --primary-action: var(--gold-400);
    --primary-hover: var(--gold-300);

    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- COMPONENTS: EXECUTIVE STYLE --- */

.text-gradient {
    /* Slight Gold Gradient for consistency */
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--gold-400);
}

/* Button: Solid Gold, Dark Text for contrast */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: var(--navy-900);
    /* Dark text for readability on gold */
    padding: 14px 32px;
    border-radius: 8px;
    /* Slightly sharper corners for executive feel */
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-tertiary);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
    background: rgba(245, 158, 11, 0.05);
}

/* Executive Card: Solid, Clean, Subtle Border */
.executive-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.executive-card:hover {
    border-color: var(--gold-400);
    /* Gold border on hover */
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(11, 28, 48, 0.85);
    /* Proper Navy Tint */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(5, 14, 24, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--gold-400);
}

.btn-nav {
    border: 1px solid var(--gold-400);
    color: var(--gold-400);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--gold-400);
    color: var(--navy-900);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(27, 58, 91, 0.4) 0%, transparent 60%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    /* Gold tint */
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 4px;
    color: var(--gold-400);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-visual {
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* CSS 3D Sphere - ADJUSTED FOR NAVY/GOLD */
.sphere-container {
    perspective: 1000px;
    width: 320px;
    height: 320px;
}

.sphere {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-sphere 25s infinite linear;
}

.sphere-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Gold Core Glow */
    background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.2), transparent 70%);
}

.sphere-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* White Rings */
    border-radius: 50%;
}

/* Make one ring Gold */
.ring-2 {
    border-color: var(--gold-400);
    opacity: 0.6;
}

.ring-1 {
    transform: rotateY(0deg);
}

.ring-2 {
    transform: rotateY(60deg);
}

.ring-3 {
    transform: rotateY(120deg);
}

@keyframes rotate-sphere {
    0% {
        transform: rotate3d(1, 1, 1, 0deg);
    }

    100% {
        transform: rotate3d(1, 1, 1, 360deg);
    }
}

/* --- SOCIAL PROOF --- */
.social-proof {
    padding: 30px 0;
    background: var(--navy-900);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logos-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.5;
}

.client-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}


/* --- SERVICES (FLIP CARDS) --- */
.services-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    /* Reduced margin */
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card-flip {
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

/* FRONT: Clean Navy Card with Header */
.service-card-front {
    background: var(--navy-700);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Gradient Header for cards using Color Palette */
.card-header-gradient {
    height: 140px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-header-1 {
    background: linear-gradient(135deg, var(--chart-navy), var(--chart-blue));
}

.card-header-2 {
    background: linear-gradient(135deg, var(--chart-blue), var(--chart-teal));
}

.card-header-3 {
    background: linear-gradient(135deg, var(--chart-orange), var(--gold-600));
}

/* Marketing */
.card-header-4 {
    background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
}

.card-header-5 {
    background: linear-gradient(135deg, var(--navy-800), var(--gold-600));
}

.card-header-6 {
    background: linear-gradient(135deg, var(--chart-teal), var(--chart-navy));
}

.service-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.service-card-front .card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-front h3 {
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
    color: var(--text-primary);
}

/* BACK: Detailed info */
.service-card-back {
    background: var(--navy-800);
    border: 1px solid var(--gold-400);
    transform: rotateY(180deg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.service-card-back h3 {
    color: var(--gold-400);
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.service-card-back p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 0;
    background: var(--navy-800);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-card-visual {
    height: 400px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-icon-large {
    font-size: 6rem;
    opacity: 0.1;
    color: var(--text-primary);
}

.about-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-icon {
    color: var(--gold-400);
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form {
    margin-top: 40px;
    background: var(--navy-800);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

input,
select {
    width: 100%;
    padding: 14px;
    background: var(--navy-900);
    border: 1px solid var(--border-color);
    /* Subtle border */
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--gold-400);
    /* Gold focus */
}

/* --- FOOTER --- */
.footer {
    background: var(--navy-900);
    padding: 60px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* UTILS */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}