/* 
 * ForceNest Main Styles
 * Extracted from index.html for better caching and maintainability.
 */

:root {
    --sf: #00A1E0;
    --sfDark: #032D60;
    --sfMid: #0070D2;
    --sfLight: #1B96FF;
    --teal: #06A59A;
    --purple: #9050E9;
    --orange: #FE9339;
    --green: #2E844A;
    --bg: #F8FBFF;
    --white: #fff;
    --border: rgba(0, 161, 224, 0.18);
    --text: #032D60;
    --muted: #54698D;
    --red: #e74c3c;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    transition: all .4s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(2, 21, 48, .96);
    backdrop-filter: blur(20px);
    border-color: rgba(0, 161, 224, .2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.nav-logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: .3px;
}

.nav-logo-text span {
    color: var(--sf);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: color .2s;
    letter-spacing: .3px;
}

.nav-links a:hover {
    color: #fff;
}

/* User Profile & Dropdown */
#auth-nav {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0.5rem;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.3s;
    border: none;
    background: none;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sf);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    overflow: hidden;
}

.profile-trigger:hover .profile-avatar {
    border-color: var(--sfLight);
    box-shadow: 0 0 15px rgba(0, 161, 224, 0.4);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: none;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
    overflow: hidden;
}

.profile-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #f0f4f8;
    background: #f8fbff;
}

.dropdown-user-name {
    display: block;
    font-weight: 700;
    color: var(--sfDark);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.dropdown-user-email {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

.dropdown-menu {
    padding: 0.5rem 0;
}

.profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1rem;
    color: var(--sfDark) !important; /* Force override of global .nav-links a */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.profile-dropdown .dropdown-item:hover {
    background: #f0f7ff;
    color: var(--sf) !important;
}

.profile-dropdown .dropdown-item span {
    font-size: 1.1rem;
    opacity: 0.8;
}

.dropdown-item.logout {
    color: var(--red);
    border-top: 1px solid #f0f4f8;
    margin-top: 0.5rem;
}

.dropdown-item.logout:hover {
    background: #fff5f5;
    color: #c0392b;
}

.dropdown-divider {
    height: 1px;
    background: #f0f4f8;
    margin: 0.4rem 0;
}

@media (max-width: 900px) {
    #auth-nav {
        padding: 1rem 0;
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .profile-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
    }
    
    .profile-dropdown.active {
        display: block;
    }
    
    .dropdown-header {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Only apply white text if inside the active mobile menu overlay */
    .nav-links.active .profile-dropdown .dropdown-user-name { color: #fff; }
    .nav-links.active .profile-dropdown .dropdown-user-email { color: rgba(255, 255, 255, 0.5); }
    .nav-links.active .profile-dropdown .dropdown-item { color: rgba(255, 255, 255, 0.8); }
    .nav-links.active .profile-dropdown .dropdown-item:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
}

.nav-cta {
    padding: .5rem 1.4rem;
    background: linear-gradient(135deg, var(--sf), var(--sfLight));
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700 !important;
    transition: box-shadow .3s, transform .2s !important;
}

.nav-cta:hover {
    box-shadow: 0 0 20px rgba(0, 161, 224, .5);
    transform: scale(1.05);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 2rem 6rem;
    background: linear-gradient(160deg, var(--sfDark) 0%, #013B6E 45%, #005FB2 100%);
    position: relative;
    overflow: hidden;
}

.hero-rings span {
    position: absolute;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 161, 224, .1);
    animation: ringPulse 6s ease-in-out infinite;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    animation: blobFloat 7s ease-in-out infinite;
}

.hero-logo-wrap {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    animation: logoFloat 4s ease-in-out infinite;
}

.hero-logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .4rem 1.2rem;
    background: rgba(0, 161, 224, .2);
    border: 1px solid rgba(0, 161, 224, .5);
    border-radius: 100px;
    font-size: .75rem;
    color: #7EC8FD;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sf);
    box-shadow: 0 0 8px var(--sf);
    animation: dotPulse 1.5s ease-in-out infinite;
}

h1.hero-title {
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 2;
}

h1.hero-title .glow {
    color: var(--sf);
    animation: textGlow 2.5s ease-in-out infinite;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .6);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.8rem;
    position: relative;
    z-index: 2;
}

.hero-sub strong {
    color: #fff;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-primary {
    padding: .9rem 2.3rem;
    background: linear-gradient(135deg, var(--sf), var(--sfLight));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: .5px;
    box-shadow: 0 4px 20px rgba(0, 161, 224, .4);
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 161, 224, .5);
}

.btn-outline {
    padding: .9rem 2.3rem;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-3px);
}

.scroll-mouse {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--sf);
    border-radius: 2px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

/* Stats Section */
#stats {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 1.6rem;
    margin-bottom: .4rem;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
}

.stat-label {
    font-size: .73rem;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: .3rem;
}

/* Common Section Layout */
section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.blog-tag-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    background: rgba(0, 112, 210, 0.08);
    color: var(--sf);
    border: 1px solid rgba(0, 112, 210, 0.15);
}

.blogs-header {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--sfDark);
    margin-bottom: .8rem;
}

.chip {
    display: inline-block;
    padding: .3rem 1rem;
    border-radius: 100px;
    font-size: .73rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: .9rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--sfDark);
    margin-bottom: .8rem;
}

.section-sub {
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Services */
#services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all .35s;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 112, 210, .14);
}

.service-card-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}

.service-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--sfDark);
    margin-bottom: .6rem;
}

.service-desc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* Videos */
#videos {
    background: linear-gradient(180deg, #EEF5FF 0%, var(--bg) 100%);
}

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

.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .35s;
    text-decoration: none;
    display: block;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(0, 112, 210, .18);
}

.video-thumb {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.play-btn {
    width: 56px;
    height: 56px;
    background: #E02020;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 6px 24px rgba(224, 32, 22, .6);
    z-index: 1;
    padding-left: 4px;
    transition: transform .3s;
}

.video-card:hover .play-btn {
    transform: scale(1.15);
}

.video-info {
    padding: 1.3rem;
}

.video-tag {
    font-size: .7rem;
    color: var(--sf);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.video-title {
    font-weight: 800;
    font-size: .95rem;
    color: var(--sfDark);
    line-height: 1.45;
    margin: .4rem 0 .5rem;
}

.video-meta {
    font-size: .78rem;
    color: var(--muted);
}

.videos-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-yt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: .8rem 2.2rem;
    border: 2px solid #E02020;
    background: #fff;
    color: #E02020;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    font-size: .95rem;
    transition: all .3s;
    text-decoration: none;
}

.btn-yt:hover {
    background: #E02020;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(224, 32, 32, .3);
}

/* Blogs */
#blogs {
    background: var(--bg);
}

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

.blog-featured {
    background: #fff;
    border: 1px solid rgba(0, 112, 210, 0.08);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.blog-featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 112, 210, .12);
    border-color: rgba(0, 112, 210, 0.15);
}

.blog-feat-img {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-feat-img-pic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* contain → show the entire uploaded cover image; the card gradient
       fills any letterbox space around it instead of the image being cropped. */
    object-fit: contain;
    object-position: center;
    display: block;
}

.blog-feat-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 45, 96, .6), transparent);
    pointer-events: none;
}

.blog-feat-body {
    padding: 1.8rem;
}

.blog-feat-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--sfDark);
    line-height: 1.35;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-feat-excerpt {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-feat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: #aaa;
}

.read-more {
    color: var(--sf);
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s;
    display: inline-block;
}

.read-more:hover {
    transform: translateX(4px);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.blog-mini {
    background: #fff;
    border: 1px solid rgba(0, 112, 210, 0.06);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    cursor: pointer;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    transition: all .3s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.blog-mini:hover {
    transform: translateX(10px);
    background: #fdfdff;
    border-color: var(--sf);
    box-shadow: 0 12px 30px rgba(0, 112, 210, .08);
}

.blog-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .75rem;
    flex-shrink: 0;
}

.blog-mini-title {
    font-weight: 700;
    font-size: .85rem;
    color: var(--sfDark);
    line-height: 1.4;
    margin-bottom: 3px;
}

.blog-mini-meta {
    font-size: .73rem;
    color: #aaa;
}

.btn-blogs {
    width: 100%;
    padding: .75rem;
    background: transparent;
    border: 2px solid var(--sf);
    color: var(--sf);
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: .875rem;
    margin-top: .3rem;
    transition: all .3s;
}

.btn-blogs:hover {
    background: var(--sf);
    color: #fff;
}

/* About Section */
#about {
    background: linear-gradient(160deg, var(--sfDark) 0%, #013B6E 60%, #005FB2 100%);
    position: relative;
    overflow: hidden;
}

.about-deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 161, 224, .07);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-orb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 600px;
}

.about-orb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    transition: transform .6s ease;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    transition: all .5s ease;
}

.orb-ring-1 {
    width: 160px;
    height: 160px;
    border: 1.5px solid rgba(0, 161, 224, .5);
    box-shadow: 0 0 12px rgba(0, 161, 224, .2), inset 0 0 12px rgba(0, 161, 224, .1);
    animation: bhSpin1 16s linear infinite;
}

.orb-ring-2 {
    width: 220px;
    height: 220px;
    border: 1px dashed rgba(0, 161, 224, .3);
    box-shadow: 0 0 8px rgba(0, 161, 224, .1);
    animation: bhSpin2 26s linear infinite reverse;
}

.orb-ring-3 {
    width: 295px;
    height: 295px;
    border: 1px solid rgba(0, 161, 224, .18);
    animation: bhSpin3 40s linear infinite;
}

.orb-core {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(0, 180, 255, .25), rgba(0, 161, 224, .08));
    border: 2px solid rgba(0, 161, 224, .45);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 161, 224, .3), 0 0 100px rgba(0, 100, 200, .15), inset 0 0 30px rgba(0, 0, 0, .4);
    animation: coreBreath 5s ease-in-out infinite;
    transition: all .5s ease;
    cursor: pointer;
}

.about-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.about-text p {
    color: rgba(255, 255, 255, .6);
    line-height: 1.85;
    margin-bottom: 1.2rem;
    font-size: .95rem;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.tech-pill {
    padding: .3rem .9rem;
    background: rgba(0, 161, 224, .12);
    border: 1px solid rgba(0, 161, 224, .3);
    border-radius: 100px;
    font-size: .78rem;
    color: #7EC8FD;
    font-weight: 500;
}

/* Contact Section */
#contact {
    background: var(--bg);
}

.contact-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 12px 50px rgba(0, 112, 210, .08);
    margin-top: 2.5rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .45rem;
    font-weight: 700;
}

.form-input {
    width: 100%;
    background: #F8FBFF;
    border: 1.5px solid rgba(0, 161, 224, .2);
    border-radius: 10px;
    padding: .85rem 1.1rem;
    color: var(--text);
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    transition: all .2s;
}

.form-input:focus {
    border-color: var(--sf);
    box-shadow: 0 0 0 3px rgba(0, 161, 224, .12);
}

textarea.form-input {
    height: 130px;
    resize: none;
}

.btn-send {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--sfDark), var(--sfMid), var(--sf));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: .5px;
    box-shadow: 0 4px 20px rgba(0, 112, 210, .3);
    transition: all .3s;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 161, 224, .35);
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
    display: none;
}

/* Footer */
footer {
    background: var(--sfDark);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-logo-text {
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: .3px;
}

.footer-logo-text span {
    color: var(--sf);
}

.footer-tagline {
    color: rgba(255, 255, 255, .3);
    font-size: .82rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: .8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    font-size: .95rem;
    transition: all .3s;
}

.social-link:hover {
    border-color: var(--sf);
    color: var(--sf);
    transform: translateY(-4px);
}

.footer-copy {
    font-size: .73rem;
    color: rgba(255, 255, 255, .15);
    letter-spacing: 1px;
}

/* Animations & Transitions */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: none;
}

@keyframes ringPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1) } 50% { transform: translate(-50%, -50%) scale(1.04) } }
@keyframes blobFloat { 0%, 100% { transform: translate(0, 0) } 50% { transform: translate(8px, -20px) } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes dotPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--sf) } 50% { opacity: .5; box-shadow: 0 0 16px var(--sf) } }
@keyframes textGlow { 0%, 100% { text-shadow: 0 0 30px rgba(0, 161, 224, .5) } 50% { text-shadow: 0 0 70px rgba(0, 161, 224, .9) } }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0) } 100% { opacity: 0; transform: translateY(12px) } }
@keyframes bhSpin1 { 0% { transform: rotate(0deg) scaleX(1) scaleY(1) } 25% { transform: rotate(90deg) scaleX(1.06) scaleY(.94) } 50% { transform: rotate(180deg) scaleX(1) scaleY(1) } 75% { transform: rotate(270deg) scaleX(.94) scaleY(1.06) } 100% { transform: rotate(360deg) scaleX(1) scaleY(1) } }
@keyframes bhSpin2 { 0% { transform: rotate(0deg) scaleX(1) scaleY(.88) } 50% { transform: rotate(180deg) scaleX(.9) scaleY(1) } 100% { transform: rotate(360deg) scaleX(1) scaleY(.88) } }
@keyframes bhSpin3 { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }
@keyframes coreBreath { 0%, 100% { box-shadow: 0 0 50px rgba(0, 161, 224, .3), 0 0 100px rgba(0, 100, 200, .15), inset 0 0 30px rgba(0, 0, 0, .4); transform: scale(1) } 50% { box-shadow: 0 0 80px rgba(0, 200, 255, .55), 0 0 140px rgba(0, 120, 255, .25), inset 0 0 40px rgba(0, 0, 0, .5); transform: scale(1.05) } }

/* Mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media(max-width:900px) {
    .blogs-grid, .about-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .mobile-menu-btn { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        width: 100%;
        background: rgba(2, 21, 48, .99);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2.5rem 2rem;
        border-bottom: 2px solid var(--sf);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
        gap: 1.5rem;
    }
    .nav-links.active { display: flex; }
}

/* Video Player Inline */
.video-iframe, .video-local {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    border: none;
    background: #000;
    object-fit: cover;
}

.video-card.playing { cursor: default; }
.video-card.playing:hover { transform: none; box-shadow: 0 12px 50px rgba(0,112,210,.08); }

/* Auth Modal */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.active { opacity: 1; pointer-events: auto; }

.video-modal-content {
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal-content { transform: translateY(0); }

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
