/* Base Design System - ULTRA SCALE & MOBILE FIX */
:root {
    --primary: #0076FF;
    --primary-glow: rgba(0, 118, 255, 0.6);
    --secondary: #00C2FF;
    --bg-dark: #000000;
    --bg-surface: #0a0a0c;
    --bg-card: #0d0d12;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --silver: #cbd5e1;
    --glass-bg: rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 30px rgba(0, 118, 255, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --text-dark: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    /* Bigger base font */
}

body {
    font-family: 'Outfit', 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    overflow-x: hidden;
    width: 100%;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    word-wrap: break-word;
}

h1 {
    font-size: 5rem;
    line-height: 0.9;
}

h2 {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    line-height: 1;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Mobile Scaling Fixes */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 3rem !important;
        letter-spacing: -2px !important;
    }

    h2 {
        font-size: 2.2rem !important;
    }

    h3 {
        font-size: 1.6rem !important;
    }

    .hero {
        padding: 140px 5% 60px !important;
        min-height: auto !important;
    }

    .hero p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem !important;
    }

    .section-header {
        margin-bottom: 50px !important;
    }

    .products,
    .trust,
    .services,
    .mission {
        padding: 60px 5% !important;
    }

    .mission div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .carousel-container {
        padding: 0 10px !important;
    }

    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.8rem !important;
    }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 8%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 118, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Hamburger & Overlay */
.menu-btn {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2000;
    transition: var(--transition);
}

.menu-line {
    width: 100%;
    height: 2px;
    background: white;
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.menu-btn.active .menu-line:nth-child(1) { transform: translateY(11px) rotate(45deg); background: var(--primary); }
.menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
.menu-btn.active .menu-line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background: var(--primary); }

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(25px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.overlay-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.overlay-nav li {
    margin: 0;
}

.overlay-nav a {
    color: white;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: var(--transition);
    letter-spacing: -1px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .overlay-nav a {
        font-size: 2.2rem;
        gap: 15px;
    }
}

.overlay-nav a span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 3px;
    opacity: 0.6;
}

.overlay-nav a:hover {
    color: var(--primary);
    transform: skewX(-5deg) scale(1.1);
}

.overlay-footer {
    margin-top: 80px;
    opacity: 0.5;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 1.5rem;
}

.social-icons a {
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
}

.logo {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-circle {
    box-shadow: 0 0 40px var(--primary-glow);
    border-color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    box-shadow: 0 4px 15px var(--primary-glow);
    font-weight: 800;
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .logo-circle {
        width: 60px !important;
        height: 60px !important;
    }

    .logo-aura {
        width: 70px !important;
        height: 70px !important;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.7rem;
    }

    .nav-extra {
        display: none !important;
        /* Hide CTA on mobile to save space */
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 10% 80px;
    background: radial-gradient(circle at center, rgba(0, 118, 255, 0.15) 0%, transparent 70%),
        url('https://www.transparenttextures.com/patterns/dark-matter.png');
    position: relative;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-tagline {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero h1 {
    font-size: 6rem;
    /* Slightly reduced for better mobile/desktop balance */
    line-height: 1.1;
    /* Increased line-height to prevent text collision */
    margin-bottom: 2.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.4rem;
    /* Larger body text */
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 0px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 118, 255, 0.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
}

.hero-image img:hover {
    filter: drop-shadow(0 0 40px var(--primary-glow));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Products Section */
.products {
    padding: 120px 10%;
    background: var(--bg-dark);
    position: relative;
    border-top: 1px solid rgba(0, 118, 255, 0.1);
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 118, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    /* Larger cards */
    gap: 4rem;
}

.product-card {
    background: #0d0d11;
    border-radius: 0px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 118, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.product-card img,
.hero-image img {
    width: 100%;
    max-width: 300px;
    min-height: 250px;
    background: #111;
    /* Dark background instead of white */
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto 1.5rem;
}

.product-card img::before,
.hero-image img::before {
    content: '\f466';
    /* Supplement icon fallback */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
}

.hero-image img {
    max-width: 600px;
    min-height: 500px;
}

.product-card h3 {
    margin-bottom: 0.5rem;
}

/* Services */
.services {
    padding: 100px 5%;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    border-radius: 0px;
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(2) {
    background: var(--text-dark);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 5% 40px;
    position: relative;
    z-index: 10;
}

footer a:hover {
    color: var(--primary) !important;
    opacity: 0.8;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease-out;
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}