:root {
    --primary: #5D7A9E;
    --primary-light: #7A95B5;
    --primary-dark: #4A6380;
    --secondary: #6B8E8C;
    --accent: #7AA582;
    --dark: #0A0C10;
    --dark-light: #15181D;
    --text: #E8EAED;
    --text-muted: #8B949E;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'space grotesk', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header - Mobile First */
.header {
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    background-color: var(--dark);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
}



.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Navigation */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-light);
    border-left: 1px solid var(--border);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 4rem 1.5rem 2rem;
}

.nav.active {
    right: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 0;
    display: block;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-cta {
    display: none;
}



/* Fix mobile nav top spacing - Only for mobile/tablet */
@media (max-width: 767px) {
    .nav-links {
        margin-top: 2rem !important;
    }
    
    /* Or if you prefer more top padding in the nav */
    .nav {
        padding-top: 5rem !important;
    }
}



/* Hero Section - Mobile First */
.hero {
    padding: 2rem 0;
    margin-top: rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: block;
}

.hero-text {
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    background: var(--card-bg);
    color: var(--primary-light);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'space grotesk', sans-serif;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--dark-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--card-bg);
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-visual {
    display: none;
}

/* Desktop Hero Animations */
@media (min-width: 1024px) {
    .hero {
        padding: 6rem 0;
        min-height: 90vh;
        display: flex;
        align-items: center;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .hero-visual {
        display: block;
        position: relative;
        height: 500px;
    }

    /* Floating Orb Animation */
    .floating-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(40px);
        opacity: 0.7;
        animation: orb-float 8s ease-in-out infinite;
    }

    .orb-1 {
        width: 200px;
        height: 200px;
        background: var(--primary);
        top: 50px;
        left: 50px;
        animation-delay: 0s;
    }

    .orb-2 {
        width: 150px;
        height: 150px;
        background: var(--secondary);
        bottom: 80px;
        right: 30px;
        animation-delay: 2s;
    }

    .orb-3 {
        width: 120px;
        height: 120px;
        background: var(--accent);
        top: 150px;
        right: 100px;
        animation-delay: 4s;
    }

    @keyframes orb-float {
        0%, 100% {
            transform: translateY(0px) scale(1);
            opacity: 0.7;
        }
        50% {
            transform: translateY(-30px) scale(1.1);
            opacity: 0.9;
        }
    }

    /* Rotating Geometric Shapes */
    .geometric-shapes {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
    }

    .shape {
        position: absolute;
        border: 2px solid var(--primary);
        opacity: 0.3;
        animation: shape-rotate 20s linear infinite;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        top: 50px;
        left: 50px;
        animation-duration: 25s;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        top: 75px;
        left: 75px;
        animation-duration: 20s;
        animation-direction: reverse;
    }

    .shape-3 {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        top: 100px;
        left: 100px;
        animation-duration: 15s;
    }

    @keyframes shape-rotate {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    /* Floating Particles */
    .particles {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .particle {
        position: absolute;
        width: 4px;
        height: 4px;
        background: var(--primary-light);
        border-radius: 50%;
        opacity: 0.6;
        animation: particle-float 6s ease-in-out infinite;
    }

    .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
    .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
    .particle:nth-child(3) { top: 80%; left: 20%; animation-delay: 2s; }
    .particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; }
    .particle:nth-child(5) { top: 50%; left: 40%; animation-delay: 4s; }
    .particle:nth-child(6) { top: 10%; left: 60%; animation-delay: 5s; }

    @keyframes particle-float {
        0%, 100% {
            transform: translateY(0px) scale(1);
            opacity: 0.3;
        }
        50% {
            transform: translateY(-20px) scale(1.5);
            opacity: 0.8;
        }
    }

    /* Pulsing Trident */
    .trident-symbol {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 8rem;
        opacity: 0.1;
        animation: trident-pulse 4s ease-in-out infinite;
        z-index: 2;
    }

    @keyframes trident-pulse {
        0%, 100% {
            opacity: 0.05;
            transform: translate(-50%, -50%) scale(1) rotate(0deg);
        }
        50% {
            opacity: 0.15;
            transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        }
    }

    /* Background Gradient Animation */
    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
        opacity: 0.1;
        filter: blur(60px);
        animation: gradient-move 10s ease-in-out infinite;
        z-index: -1;
    }

    @keyframes gradient-move {
        0%, 100% {
            transform: translate(0px, 0px) scale(1);
        }
        33% {
            transform: translate(30px, -20px) scale(1.1);
        }
        66% {
            transform: translate(-20px, 30px) scale(0.9);
        }
    }

    /* Enhanced Text Styles for Desktop */
    .hero-title {
        font-size: 3.5rem;
        background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: title-glow 3s ease-in-out infinite;
    }

    @keyframes title-glow {
        0%, 100% {
            text-shadow: 0 0 20px rgba(93, 122, 158, 0.3);
        }
        50% {
            text-shadow: 0 0 30px rgba(93, 122, 158, 0.6);
        }
    }

    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .btn:hover::before {
        left: 100%;
    }
}

/* Large Desktop Enhancements */
@media (min-width: 1400px) {
    .hero-visual {
        height: 600px;
    }

    .floating-orb {
        width: 250px;
        height: 250px;
    }

    .trident-symbol {
        font-size: 10rem;
    }
}





/* Orion's Belt Constellation */
.orion-belt {
    position: absolute;
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.orion-star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px #4FC3F7, 0 0 40px #29B6F6, 0 0 60px #0288D1;
    animation: star-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #fff);
}

.star-alnitak {
    width: 12px;
    height: 12px;
    left: -80px;
    animation-delay: 0s;
}

.star-alnilam {
    width: 16px;
    height: 16px;
    left: 0;
    top: -5px;
    animation-delay: 1.3s;
}

.star-mintaka {
    width: 14px;
    height: 14px;
    left: 80px;
    top: 5px;
    animation-delay: 2.6s;
}

/* Connecting lines between stars */
.orion-belt::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -70px;
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(79, 195, 247, 0.6) 20%, 
        rgba(41, 182, 246, 0.8) 50%, 
        rgba(79, 195, 247, 0.6) 80%, 
        transparent 100%
    );
    transform: translateY(-50%);
    animation: belt-glow 3s ease-in-out infinite;
}

@keyframes star-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 20px #4FC3F7, 0 0 40px #29B6F6, 0 0 60px #0288D1;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 30px #4FC3F7, 0 0 60px #29B6F6, 0 0 90px #0288D1;
    }
}

@keyframes belt-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Add subtle rotation to the entire belt */
.orion-belt {
    animation: belt-rotate 60s linear infinite;
}

@keyframes belt-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}







/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Chapters Grid - Mobile */
.chapters {
    padding: 2rem 0;
}

.chapters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.chapter-card {
    background: var(--dark-light); /* Darker background */
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chapter-card:hover {
    border-color: var(--primary);
}

.chapter-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.chapter-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF; /* Pure white for better contrast */
    font-weight: 600; /* Bolder weight */
}

.chapter-description {
    font-size: 0.8rem;
    color: #B8C2CC; /* Brighter muted color */
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 400;
}

.chapter-cta {
    color: var(--primary-light); /* Lighter primary color */
    font-weight: 600; /* Bolder weight */
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.chapter-card:hover .chapter-cta {
    transform: translateX(3px);
}








/* Blogs Section - Mobile */
.blogs {
    padding: 4rem 0;
    position: relative;
}

.blogs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 20%, rgba(93, 122, 158, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(107, 142, 140, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.blogs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 122, 158, 0.1), transparent);
    transition: left 0.6s ease;
}

.blog-card:hover::before {
    left: 100%;
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(93, 122, 158, 0.2);
}

.blog-category {
    display: inline-block;
    background: rgba(93, 122, 158, 0.15);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(93, 122, 158, 0.3);
    backdrop-filter: blur(10px);
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text);
    font-weight: 600;
}

.blog-excerpt {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.read-time, .publish-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog section cosmic particles */
.blogs-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.blog-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: blog-particle-float 10s ease-in-out infinite;
}

@keyframes blog-particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-25px) translateX(15px);
        opacity: 0.5;
    }
}

/* Desktop Enhancements */
@media (min-width: 768px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .blogs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .blog-card {
        padding: 2.5rem;
    }
    
    /* 3D tilt effect on desktop */
    .blog-card {
        transform-style: preserve-3d;
        perspective: 1000px;
    }
    
    .blog-card:hover {
        transform: translateY(-8px) rotateX(5deg);
    }
}









/* About Section - Mobile */
.about {
    padding: 4rem 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 40%, rgba(93, 122, 158, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgba(107, 142, 140, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.about-content {
    display: block;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.about-stat {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.about-stat::before {
    content: '✦';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    opacity: 0.5;
    animation: stat-star-twinkle 3s ease-in-out infinite;
}

@keyframes stat-star-twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }
}

.about-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.about-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-visual {
    display: none;
}

/* Clean floating elements */
.about-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: element-float 8s ease-in-out infinite;
}

.about-element-1 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.about-element-2 {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    bottom: 30%;
    right: 15%;
    animation-delay: 2s;
}

.about-element-3 {
    width: 60px;
    height: 60px;
    background: var(--accent);
    top: 60%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes element-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Desktop Enhancements */
@media (min-width: 768px) {
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        text-align: left;
    }

    .about-text p {
        font-size: 1.2rem;
        margin-left: 0;
        margin-right: 0;
    }

    .about-stats {
        justify-content: flex-start;
        gap: 3rem;
    }

    .about-visual {
        display: block;
        position: relative;
        height: 300px;
    }

    /* Clean geometric pattern */
    .geometric-pattern {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .pattern-line {
        position: absolute;
        background: rgba(93, 122, 158, 0.1);
        animation: pattern-glow 4s ease-in-out infinite;
    }

    .pattern-line-1 {
        width: 2px;
        height: 100px;
        top: 50px;
        left: 50px;
        animation-delay: 0s;
    }

    .pattern-line-2 {
        width: 100px;
        height: 2px;
        top: 100px;
        left: 100px;
        animation-delay: 1s;
    }

    .pattern-line-3 {
        width: 2px;
        height: 80px;
        bottom: 80px;
        right: 80px;
        animation-delay: 2s;
    }

    @keyframes pattern-glow {
        0%, 100% {
            opacity: 0.3;
        }
        50% {
            opacity: 0.6;
        }
    }
}

@media (min-width: 1024px) {
    .about {
        padding: 6rem 0;
    }

    .about-stat .stat-value {
        font-size: 2.5rem;
    }

    .about-visual {
        height: 400px;
    }
}



/* Solar System Visual */
.solar-system {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(93, 122, 158, 0.2);
    border-radius: 50%;
    animation: orbit-rotate linear infinite;
}

.planet {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-1 { width: 120px; height: 120px; animation-duration: 20s; }
.orbit-2 { width: 180px; height: 180px; animation-duration: 30s; }
.orbit-3 { width: 240px; height: 240px; animation-duration: 40s; }

.planet-1 { width: 12px; height: 12px; background: var(--primary); }
.planet-2 { width: 16px; height: 16px; background: var(--secondary); }
.planet-3 { width: 14px; height: 14px; background: var(--accent); }

.central-sun {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(93, 122, 158, 0.5);
    animation: sun-glow 3s ease-in-out infinite;
}

@keyframes orbit-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sun-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(93, 122, 158, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(93, 122, 158, 0.8);
        transform: scale(1.1);
    }
}








/* Footer - Mobile */
.footer {
    background: var(--dark-light);
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: var(--card-bg);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--text);
    background: var(--dark);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.footer-column h3 {
    color: var(--text);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    /* Header - Desktop */
    .header {
        padding: 1rem 0;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        border-left: none;
        padding: 0;
        display: flex;
        justify-content: center;
        flex: 1;
    }

    .nav-links {
        flex-direction: row;
        gap: 2rem;
        border-bottom: none;
    }

    .nav-links a {
        padding: 0;
        border-bottom: none;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--primary);
        transition: width 0.3s;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-cta {
        display: inline-block;
        background: var(--primary);
        color: white;
        padding: 0.5rem 1.2rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: background 0.3s;
    }

    .nav-cta:hover {
        background: var(--primary-dark);
    }

    /* Hero - Desktop */
    .hero {
        padding: 4rem 0;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Chapters - Desktop */
    .chapters {
        padding: 4rem 0;
    }

    .chapters-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .chapter-card {
        padding: 1.5rem;
        border-radius: 10px;
    }

    /* Blogs - Desktop */
    .blogs {
        padding: 4rem 0;
    }

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

    .blog-card {
        padding: 1.5rem;
        border-radius: 10px;
    }

    /* About - Desktop */
    .about {
        padding: 4rem 0;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-stats {
        gap: 2rem;
    }

    /* Footer - Desktop */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .chapters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .blogs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}













/* Shiva Trident Animations */
.trident-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
}

.trident-symbol {
    position: absolute;
    font-size: 8rem;
    opacity: 0;
    animation: trident-float 8s ease-in-out infinite;
}

.trident-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.trident-2 {
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.trident-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.trident-4 {
    top: 30%;
    right: 20%;
    animation-delay: 6s;
}

@keyframes trident-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.03;
    }
}

/* Hero Trident Animation */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    opacity: 0.02;
    z-index: -1;
    animation: trident-pulse 6s ease-in-out infinite;
}

@keyframes trident-pulse {
    0%, 100% {
        opacity: 0.01;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.03;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Chapter Cards Trident Hover */
.chapter-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.chapter-card:hover::before {
    opacity: 0.3;
    transform: rotate(15deg);
}

/* Blog Cards Trident Effect */
.blog-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width 0.3s ease;
}

.blog-card:hover::after {
    width: 100%;
}

/* Nav Trident Indicator */
.nav-links a[href="#chapters"]::before,
.nav-links a[href="#blogs"]::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::before {
    opacity: 0.5;
}

/* Footer Trident */
.footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.1;
}

/* Mobile adjustments for trident elements */
@media (max-width: 768px) {
    .trident-bg {
        display: none;
    }
    
    .hero::after {
        font-size: 8rem;
        opacity: 0.015;
    }
    
    .trident-symbol {
        font-size: 4rem;
    }
    
    .chapter-card::before {
        font-size: 1rem;
        top: -5px;
        right: -5px;
    }
}

/* Desktop trident enhancements */
@media (min-width: 1024px) {
    .trident-bg {
        display: block;
    }
    
    .hero::after {
        font-size: 20rem;
    }
}

/* Trident loading animation */
@keyframes trident-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-trident {
    animation: trident-spin 2s linear infinite;
}

/* Section divider tridents */
.section-header::before {
    content: '';
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.2;
    animation: trident-bob 3s ease-in-out infinite;
}

@keyframes trident-bob {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}







/* === ENHANCED GLASS MORPHISM NAVIGATION === */

/* Header Glass Effect */
.header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(40px) saturate(200%);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* Logo with Gradient */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 122, 158, 0.2), transparent);
    transition: left 0.6s ease;
}

.logo:hover::before {
    left: 100%;
}

.logo:hover {
    background: rgba(93, 122, 158, 0.15);
    border-color: rgba(93, 122, 158, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(93, 122, 158, 0.2);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(93, 122, 158, 0.4);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(93, 122, 158, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(93, 122, 158, 0.6);
    }
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Navigation */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(21, 24, 29, 0.98);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.nav.active {
    right: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.8rem 0;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    
    transition: left 0.6s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    color: var(--primary-light);
    transform: translateX(10px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover {
    background: rgba(93, 122, 158, 0.2);
    border-color: rgba(93, 122, 158, 0.4);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(93, 122, 158, 0.3);
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-btn.active {
    background: rgba(93, 122, 158, 0.25);
    border-color: rgba(93, 122, 158, 0.5);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .header {
        backdrop-filter: blur(35px) saturate(200%);
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding: 0;
        display: flex;
        justify-content: center;
        flex: 1;
        box-shadow: none;
    }

    .nav-links {
        flex-direction: row;
        gap: 0.5rem;
        margin: 0 2rem;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        margin: 0;
        background: transparent;
        border: 1px solid transparent;
        font-size: 0.95rem;
        font-weight: 500;
        position: relative;
        overflow: hidden;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-50%);
    }

    .nav-links a:hover::after {
        width: 80%;
    }

    .nav-links a:hover {
        color: var(--primary-light);
        transform: translateY(-3px);
    }

    /* Enhanced CTA Button */
    .nav-cta {
        display: inline-block;
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: white;
        padding: 0.6rem 1.2rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px rgba(93, 122, 158, 0.4);
        position: relative;
        overflow: hidden;
    }

    .nav-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
    }

    .nav-cta:hover::before {
        left: 100%;
    }

    .nav-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 45px rgba(93, 122, 158, 0.5);
    }
}

/* Large Desktop Enhancement */
@media (min-width: 1024px) {
    .header {
        backdrop-filter: blur(45px) saturate(200%);
    }

    .nav-links {
        gap: 1rem;
        padding: 0.3rem 0.8rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    /* Floating particles in nav background */
    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 50%, rgba(93, 122, 158, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(107, 142, 140, 0.08) 0%, transparent 50%);
        pointer-events: none;
        z-index: -1;
    }
}




/* === BLACK BACKGROUND WITH MOVING STARS === */

/* Starfield Background */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -2;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

.star.small {
    width: 1px;
    height: 1px;
}

.star.medium {
    width: 2px;
    height: 2px;
}

.star.large {
    width: 3px;
    height: 3px;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* Shooting Stars */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: shoot var(--shoot-duration) linear infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        transform: translateX(-100px) translateY(0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

/* Header with star overlay */
.header {
    background: rgba(0, 0, 0, 0.9) !important;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
}








/* Footer - Mobile */
.footer {
    padding: 4rem 0 2rem;
    position: relative;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Constellation Background */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(93, 122, 158, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 142, 140, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.footer-content {
    display: block;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    padding: 1rem;
    position: relative;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(93, 122, 158, 0.1), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-logo:hover::before {
    opacity: 1;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(93, 122, 158, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 30px rgba(93, 122, 158, 0.5);
}

.footer-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 300px;
    margin-top: 4.8rem;
    position: absolute;
}

/* Satellite Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.8rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 122, 158, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    color: var(--text);
    background: rgba(93, 122, 158, 0.15);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(93, 122, 158, 0.3);
}

/* Navigation Comets */
.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-column h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 100%;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1rem;
}

.footer-column li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-column li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-column a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(93, 122, 158, 0.5);
}

/* Meteor Shower Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
}

.copyright::before {
    content: '☄️';
    position: absolute;
    left: -30px;
    animation: meteor-shower 8s ease-in-out infinite;
}

@keyframes meteor-shower {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
        opacity: 0;
    }
    50% {
        transform: translateX(20px) translateY(-5px);
        opacity: 1;
    }
}

/* Orbiting Elements */
.footer-orbits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(93, 122, 158, 0.1);
    border-radius: 50%;
    animation: orbit-rotate linear infinite;
}

.orbit-ring-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-duration: 40s;
}

.orbit-ring-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation-duration: 60s;
    animation-direction: reverse;
}

@keyframes orbit-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
        margin-bottom: 3rem;
    }

    .footer-brand {
        text-align: left;
        margin-bottom: 0;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 5rem 0 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}


/* Force hardware acceleration */
.hero-visual {
    transform: translate3d(0, 0, 0);
}

/* Reduce repaints */
.chapter-card {
    contain: layout style paint;
}

.floating-orb,
.chapter-card:hover,
.blog-card:hover {
    transform: translateZ(0);
}

.hero-visual,
.chapter-card,
.blog-card {
    will-change: transform, opacity;
}




/* Prevent zoom on mobile */
@media (max-width: 768px) {
    body {
        touch-action: pan-y;
        -webkit-user-scalable: no;
        user-scalable: no;
    }
    
    /* Ensure nav is properly hidden */
    .nav:not(.active) {
        display: none !important;
    }
}


/* Fix for iPad and tablet responsiveness */
@media (max-width: 888px) {
    /* Force hamburger menu to show */
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide desktop navigation */
    .nav {
        display: none !important;
    }
    
    .nav.active {
        display: block !important;
    }
    
    /* Hide desktop CTA button */
    .nav-cta {
        display: none !important;
    }
    
    /* Ensure mobile nav is properly positioned */
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 320px !important;
        height: 100vh !important;
        background: rgba(21, 24, 29, 0.98) !important;
        backdrop-filter: blur(40px) saturate(200%) !important;
        z-index: 1000 !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .nav.active {
        right: 0 !important;
    }
}

/* Specific iPad Pro fix */
@media (min-width: 769px) and (max-width: 888px) and (orientation: portrait) {
    .header-content {
        padding: 0 1rem !important;
    }
    
    .nav-links a {
        font-size: 1.1rem !important;
        padding: 1rem 0 !important;
    }
}

/* Fix for landscape tablets */
@media (max-width: 888px) and (orientation: landscape) {
    .nav {
        width: 280px !important;
        padding: 4rem 1.5rem 1rem !important;
    }
    
    .nav-links a {
        padding: 0.8rem 0 !important;
        font-size: 1rem !important;
    }
}





/* === TRIDENT CURSOR ANIMATIONS === */

/* Custom Trident Cursor for Desktop */
@media (min-width: 769px) {

    
    /* Cursor hover effects */
    .cursor-hover {
        transform: translate(-50%, -50%) scale(1.3);
        color: var(--accent);
        text-shadow: 0 0 15px var(--accent);
        filter: drop-shadow(0 0 8px var(--accent));
    }
    
    /* Cosmic trail effect */
    .cursor-trail {
        position: fixed;
        width: 4px;
        height: 4px;
        background: var(--primary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        opacity: 0;
        animation: trail-fade 0.6s ease-out forwards;
    }
    
    @keyframes trail-fade {
        0% {
            opacity: 0.8;
            transform: translate(-50%, -50%) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.5);
        }
    }
}

/* === SPACE RIPPLE ANIMATION (All Devices) === */
.ripple-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9997;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: space-ripple 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: translate(-50%, -50%);
}

.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple-core 0.6s ease-out forwards;
}

@keyframes space-ripple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
        border-width: 2px;
    }
    50% {
        border-color: var(--accent);
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes ripple-core {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}

/* === MOBILE/TABLET OPTIMIZATIONS === */
@media (max-width: 768px) {
    body {
        cursor: default;
    }
    
    .custom-cursor,
    .cursor-trail {
        display: none !important;
    }
    
    /* Larger ripple for touch devices */
    .ripple-effect {
        width: 30px;
        height: 30px;
    }
    
    @keyframes space-ripple {
        0% {
            width: 30px;
            height: 30px;
            opacity: 0.8;
            border-width: 3px;
        }
        50% {
            border-color: var(--accent);
        }
        100% {
            width: 120px;
            height: 120px;
            opacity: 0;
            border-width: 1px;
        }
    }
}

/* === INTERACTIVE ELEMENT CURSOR CHANGES === */
@media (min-width: 769px) {
    /* REMOVED THE PROBLEMATIC CODE THAT HIDES CURSOR */
    /* Keep default cursor behavior on interactive elements */
    
    button, 
    .btn,
    a,
    .chapter-card,
    .blog-card {
        cursor: pointer; /* Ensure cursor shows on hover */
    }
}

/* === FIX MOBILE SCROLL RIPPLE === */
@media (max-width: 768px) {
    /* Prevent ripple on scroll */
    body {
        touch-action: pan-y;
    }
    
    /* Only show ripple on actual taps, not scrolls */
    .ripple-effect {
        display: none;
    }
    
    .ripple-tap {
        display: block;
        position: fixed;
        width: 30px;
        height: 30px;
        pointer-events: none;
        z-index: 9997;
        border: 2px solid var(--primary-light);
        border-radius: 50%;
        animation: space-ripple 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        transform: translate(-50%, -50%);
    }
    
    .ripple-tap::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        background: var(--accent);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: ripple-core 0.6s ease-out forwards;
    }
}

/* === FIX MOBILE SCROLL RIPPLE === */
@media (max-width: 768px) {
    .ripple-effect {
        display: none !important;
    }
    
    .ripple-tap {
        position: fixed;
        width: 30px;
        height: 30px;
        pointer-events: none;
        z-index: 9997;
        border: 2px solid var(--primary-light);
        border-radius: 50%;
        animation: space-ripple 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        transform: translate(-50%, -50%);
    }
    
    .ripple-tap::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        background: var(--accent);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: ripple-core 0.6s ease-out forwards;
    }
}


/* paste in your styles.css */
.nav { display:flex; }
@media (max-width:900px){
  .nav{ display:none; position:absolute; top:60px; right:20px; background:rgba(255,255,255,0.03); padding:12px; border-radius:8px; }
  .nav.open{ display:block; }
  .mobile-menu-btn{ display:flex; }
}



/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}


/* Remove mobile tap highlight - Add this to styles.css */
* {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

/* Specifically target all interactive elements */
a, button, .btn, .nav-links a, .logo, 
.mobile-menu-btn, .chapter-card, .blog-card {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    outline: none;
}

/* Optional: Add custom active state */
a:active, button:active, .btn:active {
    background: rgba(93, 122, 158, 0.1);
    transition: background 0.1s ease;
}



.btn-primary {
    color: #FFFFFF !important;
    font-weight: 700 !important; /* Bolder text */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3); /* Text shadow for better contrast */
}

/* Fix mobile nav links left margin */
@media (max-width: 888px) {
    .nav-links a {
        padding-left: 1rem !important;
    }
}



