@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - High Tech / Professional */
    --bg-deep: #030303;
    --bg-surface: #0a0a0a;
    --bg-card: #111111;
    --accent: #007AFF;
    /* Professional Blue */
    --accent-glow: rgba(0, 122, 255, 0.4);
    --accent-vibrant: #00f2ff;
    --text-main: #ffffff;
    --text-dim: #999999;
    --text-dark: #666666;
    --border-thin: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 122, 255, 0.2);

    /* Layout Tokens */
    --section-pad: 5rem;
    --container-max: 1400px;
    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 24px;
    /* Slightly reduced for a sharper look */
    --radius-md: 12px;
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

body.no-scroll,
html.no-scroll {
    overflow: hidden !important;
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Typography - Professional & Bold */
h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid & Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Reduced from 4rem to move content closer to edges */
}

section {
    padding: var(--section-pad) 0;
    position: relative;
    border-bottom: 1px solid var(--border-thin);
}

/* Elite Components */
.btn-elite {
    padding: 1.25rem 3rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-thin);
    position: relative;
    overflow: hidden;
}

.btn-elite.primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-elite.primary:hover {
    box-shadow: 0 0 40px var(--accent-glow);
    transform: scale(1.05);
}

.btn-elite.outline {
    background: transparent;
    color: white;
}

.btn-elite.outline:hover {
    background: white;
    color: black;
}

/* Advanced Card Design */
.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-lg);
    padding: 4rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.premium-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.premium-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.premium-card:hover::after {
    opacity: 0.1;
}

/* Header - Fixed & Frosted Glass */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-thin);
    z-index: 1050;
    padding: 0.8rem 0;
    transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(12px);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

main {
    padding-top: 86px;
}

@media (max-width: 768px) {
    main {
        padding-top: 76px;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 70px;
    /* Reduced from 115px */
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 4.5rem;
    /* Increased as per PDF request for more air between links */
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* Hero Section - Immersive */
.hero-v2 {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(0, 122, 255, 0.15), transparent 50%);
}

.hero-v2 h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.hero-v2 p {
    font-size: 1.5rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 3.5rem;
}

/* About page improvements */
.about-hero {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.about-hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-title {
    max-width: 1000px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-hero .hero-title span {
    display: inline;
}

.about-intro {
    padding: 5rem 0 6rem;
}

.about-story-grid {
    gap: 3.5rem;
}

.about-image-container {
    text-align: center;
}

.about-image-container img {
    max-width: 100%;
    border-radius: var(--radius-lg);
}

.about-copy {
    max-width: 720px;
}

.about-values {
    padding: 6rem 0;
}

.about-values-grid {
    gap: 3.5rem;
}

.about-value-card img {
    max-width: 100%;
    margin: 0 auto 2rem;
    display: block;
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1);
    transition: var(--transition-smooth);
}

.trust-bar:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Performance Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-item p {
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ─── LOGO ───────────────────────────────────────────────── */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ─── NAV ACTIONS ────────────────────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-cta {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

.nav-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

/* ─── MEGA DROPDOWN ──────────────────────────────────────── */
.has-dropdown {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    gap: 3rem;
    min-width: 500px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: 0.3s ease;
    backdrop-filter: blur(20px);
    z-index: 200;
}

.mega-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.mega-col a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-main);
    padding: 1rem;
    border-radius: 10px;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

.mega-col a:hover {
    background: var(--bg-surface);
    border-color: var(--border-thin);
    color: white;
}

.mega-col a strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.mega-col a .mega-icon {
    width: 18px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    filter: brightness(1.1);
}

.mega-col a small {
    color: var(--text-dark);
    font-size: 0.8rem;
}

/* ─── HAMBURGER ──────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ────────────────────────────────────────── */
html,
body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-deep);
    overflow-x: hidden;
}

.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1040;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 6rem 2rem 2rem 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s ease, visibility 0.4s ease;
    visibility: hidden;
}

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu a:not(.btn-elite) {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.mobile-menu .btn-elite {
    width: 100%;
    max-width: 250px;
    margin-top: 1rem;
    font-size: 1.1rem !important;
    padding: 1rem !important;
}

/* ─── SCROLL PROGRESS ────────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 9999;
    transition: width 0.1s linear;
    width: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-thin);
    padding: 6rem 0 3rem;
}

footer .container {
    max-width: 1100px;
    /* Reduced from 1400px */
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-tagline {
    color: var(--text-dark);
    margin-top: 1.5rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-thin);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-thin);
    color: var(--text-dark);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badges span {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-thin);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

/* ─── TABLE ──────────────────────────────────────────────── */
table tr:hover td {
    color: white;
    background: rgba(255, 255, 255, 0.02);
}


/* ─── RESPONSIVE SYSTEM ─────────────────────────────────── */

/* Desktop & General */
.hero-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    overflow: hidden;
}

.hero-grid>div:first-child {
    flex: 2;
    min-width: 0;
}

.hero-grid>div:last-child {
    flex: 1.2;
    min-width: 0;
}

.hero-title {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 2rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    background: var(--accent);
    filter: blur(140px);
    opacity: 0.5;
    z-index: -1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
}

.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.content-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.content-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.nowrap-desktop {
    display: block;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .nowrap-desktop {
        white-space: normal;
    }
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.glow-shadow {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.margin-b-sm {
    margin-bottom: 2.5rem;
}

.accent-border-left {
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}

.tagline {
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lead-text {
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.dim-text {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.mission-text {
    font-size: 1.8rem;
    line-height: 1.3;
}

.final-cta {
    padding: 6rem 0;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.cta-desc {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation & Header Fixes */
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .hero-grid {
        flex-direction: column !important;
        text-align: center;
        gap: 3rem !important;
    }

    .content-grid-2,
    .content-grid-3,
    .content-grid-4,
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .hero-v2 {
        height: auto !important;
        min-height: auto !important;
        padding: 4rem 0 !important;
    }

    .hero-grid {
        margin-top: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-btns,
    .cta-btns {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 0 1rem;
    }

    .section-title,
    .cta-title {
        font-size: 2.5rem;
    }

    .final-cta {
        padding: 4rem 0;
    }

    .lead-text,
    .mission-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.1rem;
    }

    .section-title,
    .cta-title {
        font-size: 2rem;
    }

    .logo-img {
        height: 60px;
    }
}

/* ─── WHATSAPP FLOATING BUTTON ──────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}