/* Underground Degrees - Hexagonal Breathing Background Theme */
:root {
    --primary-blue: #667eea;
    --primary-purple: #764ba2;
    --neon-blue: #00d4ff;
    --neon-purple: #b794f6;
    --dark-blue: #1a202c;
    --white: #ffffff;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Moved titles styling */
.hero-title-moved {
    margin-top: -40px !important;
}

.transform-title-moved {
    margin-top: -60px !important;
}

/* Hexagonal Breathing Background Animation */
@keyframes hexagon-breathe {
    0% { 
        transform: scale(1) translateZ(0);
        opacity: 0.1;
    }
    25% { 
        transform: scale(1.05) translateZ(10px);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1) translateZ(20px);
        opacity: 0.5;
    }
    75% { 
        transform: scale(1.05) translateZ(10px);
        opacity: 0.3;
    }
    100% { 
        transform: scale(1) translateZ(0);
        opacity: 0.1;
    }
}

@keyframes falling-through-space {
    0% { 
        transform: translateY(0px) scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
    100% { 
        transform: translateY(-60px) scale(1.4);
        opacity: 0;
    }
}

@keyframes hexagon-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Enhanced Professional Navigation System */
.custom-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

/* Enhanced Logo Section */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2001;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(102, 126, 234, 0.3));
    transition: all 0.3s ease;
}

/* Primary Navigation */
.nav-primary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: transparent;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-btn:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

.nav-btn:hover::before {
    left: 0;
}

.nav-btn.active {
    background: transparent;
    color: var(--text-dark);
    box-shadow: none;
}

.nav-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-btn:hover i {
    transform: scale(1.2);
}

/* Ensure Home and Curriculum buttons turn white on hover */
.nav-home:hover,
.nav-curriculum:hover {
    color: white !important;
}

.nav-home:hover span,
.nav-curriculum:hover span {
    color: white !important;
}

/* Curriculum Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-curriculum {
    cursor: pointer;
}

.nav-arrow {
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-curriculum.active .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 1rem;
    min-width: 280px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-dropdown-menu .dropdown-item:hover {
    color: white;
    transform: translateX(5px);
}

.nav-dropdown-menu .dropdown-item:hover::before {
    left: 0;
}

.nav-dropdown-menu .dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    width: 20px;
    text-align: center;
}

.nav-dropdown-menu .dropdown-item:hover i {
    color: white;
    transform: scale(1.1);
}

/* Hamburger Container */
.hamburger-container {
    position: relative;
}

/* Enhanced Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hamburger-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger-menu:hover::before {
    opacity: 1;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.hamburger-line:not(:last-child) {
    margin-bottom: 4px;
}

.hamburger-menu:hover .hamburger-line {
    background: white;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white;
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: white;
}

.hamburger-menu.active::before {
    opacity: 1;
}

/* Elegant Dropdown Menu */
.elegant-dropdown {
    position: fixed;
    top: 100px;
    right: 20px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1999;
}

.elegant-dropdown.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 400px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.elegant-dropdown.show .dropdown-content {
    transform: scale(1) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 450px;
    margin: 0 auto;
}

.dropdown-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.dropdown-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.dropdown-link:hover {
    color: var(--primary-blue);
}

.dropdown-link i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    width: 24px;
    text-align: center;
}

.dropdown-link:hover i {
    transform: scale(1.2) rotate(5deg);
    color: white;
}

.link-title {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.link-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
    }
    
    .nav-logo {
        width: 140px;
        flex-shrink: 0;
    }
    
    /* Primary Navigation for Mobile */
    .nav-primary {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    /* Navigation Buttons on Mobile */
    .nav-btn {
        padding: 0.6rem 0.8rem;
        width: auto;
        height: auto;
        min-width: 60px;
        font-size: 0.85rem;
        display: flex !important;
        flex-shrink: 0;
    }
    
    .nav-btn i {
        display: none;
    }
    
    .nav-btn span {
        display: block;
        font-size: 0.85rem;
    }
    
    /* Hide curriculum dropdown on mobile, show in hamburger instead */
    .nav-dropdown {
        display: none;
    }
    
    /* Hide home button on mobile, show in hamburger instead */
    .nav-home {
        display: none;
    }
    
    /* Ensure Sign Up and Sign In are visible */
    .nav-signup,
    .nav-signin {
        display: flex !important;
        visibility: visible !important;
    }
    
    /* Hamburger Menu - Always Visible */
    .hamburger-container {
        display: flex !important;
        visibility: visible !important;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    
    .nav-dropdown-menu {
        min-width: 250px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .nav-dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .elegant-dropdown {
        top: 80px;
        right: 10px !important;
        left: auto !important;
        transform: none;
    }
    
    .dropdown-content {
        padding: 1.5rem;
        width: 300px;
        max-width: calc(100vw - 20px);
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-logo {
        width: 120px;
    }
    
    /* Primary Navigation for Small Mobile */
    .nav-primary {
        gap: 0.25rem;
    }
    
    .nav-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .hamburger-menu {
        width: 40px;
        height: 40px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .nav-dropdown-menu {
        min-width: 220px;
    }
    
    .elegant-dropdown {
        top: 70px;
        right: 5px !important;
        left: auto !important;
        transform: none;
    }
    
    .dropdown-content {
        padding: 1.25rem;
        border-radius: 16px;
        width: 280px;
        max-width: calc(100vw - 10px);
    }
    
    /* Mobile Authentication Pages */
    .login-section,
    .register-section {
        padding: 2rem 0 !important;
        min-height: calc(100vh - 140px);
        display: flex;
        align-items: center;
    }
    
    .login-section .container,
    .register-section .container {
        padding: 0 1rem;
    }
    
    .login-section .col-md-6,
    .register-section .col-md-8 {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .login-section .card,
    .register-section .card {
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15) !important;
        border: none !important;
        margin: 0 !important;
    }
    
    .login-section .card-header,
    .register-section .card-header {
        background: var(--gradient-primary) !important;
        border-radius: 16px 16px 0 0 !important;
        padding: 1.5rem !important;
    }
    
    .login-section .card-header h2,
    .register-section .card-header h2 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }
    
    .login-section .card-body,
    .register-section .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .login-section .card-body p,
    .register-section .card-body p {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
        color: var(--text-light) !important;
    }
    
    /* Mobile Form Styling */
    .login-section .form-control,
    .register-section .form-control,
    .register-section .form-select {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        border: 2px solid rgba(102, 126, 234, 0.2) !important;
        margin-bottom: 0.5rem !important;
        min-height: 48px !important;
    }
    
    .login-section .form-control:focus,
    .register-section .form-control:focus,
    .register-section .form-select:focus {
        border-color: var(--primary-blue) !important;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    }
    
    .login-section .form-label,
    .register-section .form-label {
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        margin-bottom: 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .login-section .btn-primary,
    .register-section .btn-primary {
        background: var(--gradient-primary) !important;
        border: none !important;
        padding: 0.75rem 2rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        min-height: 48px !important;
        margin-top: 1rem !important;
    }
    
    .register-section .row {
        margin: 0 !important;
        flex-direction: column !important;
    }
    
    .register-section .row .col-md-6 {
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Ensure form groups have proper spacing */
    .register-section .mb-3 {
        margin-bottom: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .register-section .form-label {
        margin-bottom: 0.75rem !important;
        align-self: flex-start !important;
    }
    
    .register-section .form-control,
    .register-section .form-select {
        width: 100% !important;
        align-self: stretch !important;
    }
    
    .login-section .form-check,
    .register-section .form-check {
        margin: 1.5rem 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex-direction: row !important;
    }
    
    .login-section .form-check-input,
    .register-section .form-check-input {
        margin: 0 !important;
        flex-shrink: 0 !important;
        width: 1.1rem !important;
        height: 1.1rem !important;
        position: relative !important;
        top: 0 !important;
    }
    
    .login-section .form-check-label,
    .register-section .form-check-label {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
    }
    
    .login-section .text-center,
    .register-section .text-center {
        margin-top: 2rem !important;
    }
    
    .login-section .text-center p,
    .register-section .text-center p {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .login-section .text-center a,
    .register-section .text-center a {
        color: var(--primary-blue) !important;
        text-decoration: none !important;
        font-weight: 600 !important;
    }

    /* Mobile Footer Fixes */
    .footer {
        padding: 40px 0 40px;
        margin-bottom: 0;
    }
    
    .footer-bottom {
        padding-bottom: 25px;
        margin-bottom: 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
        padding: 0 15px;
        margin-bottom: 0;
    }
    
    /* Transform Section Mobile Fix */
    .transform-title-moved {
        margin-bottom: 30px !important;
        padding: 0 15px;
    }
    
    /* Transform Title Mobile Responsive */
    .transform-title {
        font-size: clamp(2.2rem, 7vw, 3.8rem) !important;
        line-height: 1.2 !important;
        padding: 0 10px;
        word-wrap: normal;
        overflow-wrap: normal;
        hyphens: none;
        white-space: normal;
        word-break: keep-all;
    }
    
    .transform-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
        line-height: 1.5 !important;
        padding: 0 15px;
        margin-bottom: 30px !important;
    }
    
    .transform-content {
        padding: 0 10px;
    }
    
    .transform-section {
        padding: 60px 0 !important;
    }
    
    /* Ensure no content gets cut off at bottom */
    body {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    /* Content sections mobile spacing */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Welcome Section for Logged In Users */
.nav-welcome-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 1rem;
    position: relative;
}

.nav-welcome-text {
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-welcome-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-welcome-text:hover::before {
    width: 80%;
}

.nav-user-name {
    font-weight: 700;
    font-size: 1.15rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gentle-glow 4s ease-in-out infinite alternate;
}

.nav-user-name::after {
    content: '✨';
    position: absolute;
    right: -1.5rem;
    top: -0.2rem;
    font-size: 0.8rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { 
        opacity: 0.4;
        transform: scale(0.8) rotate(0deg);
    }
    100% { 
        opacity: 0.8;
        transform: scale(1.1) rotate(10deg);
    }
}

@keyframes gentle-glow {
    0% { 
        filter: drop-shadow(0 1px 2px rgba(102, 126, 234, 0.3)) brightness(1);
    }
    100% { 
        filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.4)) brightness(1.1);
    }
}

/* User Menu Hamburger */
.hamburger-container.user-menu {
    margin-left: auto;
}

.hamburger-container.user-menu .hamburger-menu {
    background: var(--gradient-primary);
    border: none;
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hamburger-container.user-menu .hamburger-menu:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.hamburger-container.user-menu .hamburger-line {
    background: white;
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    min-width: 500px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 2px solid transparent;
    background-clip: padding-box;
    margin-top: 10px;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Arrow removed for cleaner appearance */
.user-dropdown::before {
    display: none;
}

/* Remove inner box styling for user dropdown */
.user-dropdown .dropdown-content {
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    padding: 2rem;
}

.user-dropdown.show .dropdown-content {
    transform: none !important;
}

/* Desktop arrow positioning rules removed - no arrow needed */

/* User Dropdown Responsive */
@media (max-width: 768px) {
    .nav-welcome-section {
        margin: 0 0.5rem;
    }
    
    .nav-welcome-text {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .nav-user-name {
        font-size: 1.05rem;
    }
    
    .nav-user-name::after {
        right: -1.2rem;
        font-size: 0.7rem;
    }
    
    .user-dropdown {
        min-width: 350px;
        right: 10px !important;
        left: auto !important;
    }
    
    /* Mobile arrow removed */
}

@media (max-width: 480px) {
    .nav-welcome-text {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .nav-user-name {
        font-size: 1rem;
    }
    
    .nav-user-name::after {
        right: -1rem;
        font-size: 0.6rem;
    }
    
    .user-dropdown {
        min-width: 300px;
        right: 5px !important;
        left: auto !important;
    }
    
    /* Mobile arrow removed */
}

/* Account Settings Styling */
.account-settings-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.account-settings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.account-settings-card .card-body {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}

.account-settings-card h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 2rem;
}

.account-settings-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
}

.account-settings-card .form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.account-settings-card .form-control {
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.account-settings-card .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 1);
}

.account-settings-card .btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.account-settings-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.account-settings-card .btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.account-settings-card .btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

/* Hero Section with Hexagonal Breathing Background */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--white);
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

/* Hexagonal Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 2px, transparent 2px);
    background-size: 60px 60px, 80px 80px;
    animation: hexagon-breathe 6s ease-in-out infinite;
    z-index: 1;
}

/* Hexagonal Grid Overlay */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(150deg, rgba(118, 75, 162, 0.03) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 40px 40px;
    animation: falling-through-space 8s ease-in-out infinite;
    z-index: 2;
}

/* Floating Hexagonal Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gradient-primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: falling-through-space 10s ease-in-out infinite;
}

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

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-logo-section {
    margin-bottom: 40px;
}

.hero-logo {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.2));
    /* Removed spinning animation */
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    /* Static text - no color changing animations */
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* Static text - no animations */
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    opacity: 0.75;
    font-weight: 400;
    text-align: center;
}

/* Hexagonal Orbs */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 4;
}

.orb {
    position: absolute;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: radial-gradient(circle at center, 
                rgba(102, 126, 234, 0.15), 
                rgba(118, 75, 162, 0.1), 
                transparent);
    animation: hexagon-pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 120px;
    height: 120px;
    top: 65%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 60px;
    height: 60px;
    top: 45%;
    left: 75%;
    animation-delay: 4s;
}

/* CTA Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-blue);
    padding: 13px 38px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-block;
    margin-left: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* No Credit Card Required Styling */
.no-card-required-subtle {
    font-size: 0.75rem;
    color: white;
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.85;
    text-align: center;
    line-height: 1;
}

/* Button Glow Effects */
.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    border-radius: 50px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    margin-top: 5px;
    position: relative;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stats-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stats-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-blue);
}

.stats-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    /* Static text - no animations */
}

.stats-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features-wrapper {
    padding: 40px 0;
    position: relative;
    background: var(--white);
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease;
}

.features-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    /* Static text - no animations */
}

.features-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px auto 0;
    max-width: 1200px;
}

.feature-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.6s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 40px 100px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Enhanced Process Section - Hexagonal Theme */
.process-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Process Background Grid */
.process-background-grid {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(118, 75, 162, 0.08) 2px, transparent 2px);
    background-size: 80px 80px, 120px 120px;
    animation: hexagon-breathe 8s ease-in-out infinite;
    z-index: 1;
}

/* Process Particles */
.process-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.process-particles .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: falling-through-space 12s ease-in-out infinite;
}

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

.process-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.process-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    /* Static text - no animations */
}

.process-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.step-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.6s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.05);
}

.step-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.step-box.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.step-box:hover::before {
    transform: scaleX(1);
}

.step-box:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 40px 100px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-blue);
}

.step-hexagon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hexagon-pulse 6s ease-in-out infinite;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
}

.process-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.process-orbs .orb-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.process-orbs .orb-2 {
    width: 140px;
    height: 140px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.process-orbs .orb-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 80%;
    animation-delay: 6s;
}

/* Scroll Fade In Animation for Titles */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    background: #fafbff;
    position: relative;
    overflow: hidden;
}

.success-background-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.06) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 40px 40px;
    animation: backgroundFloat 20s ease-in-out infinite;
    opacity: 0.7;
}

.success-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.success-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 8s ease-in-out infinite;
}

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

.success-header {
    text-align: center;
    margin-bottom: 50px;
}

.success-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.success-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Success Statistics Grid */
.success-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.success-stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-stat-card:hover::before {
    opacity: 1;
}

.success-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.testimonial-card:hover::after {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-title {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Success CTA */
.success-cta {
    text-align: center;
}

.btn-success-stories {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-success-stories:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.btn-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-success-stories:hover .btn-arrow {
    transform: translateX(5px);
}

.success-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.success-orbs .orb {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: orbFloat 12s ease-in-out infinite;
}

.success-orbs .orb-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.success-orbs .orb-2 {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 20%;
    animation-delay: 4s;
}

.success-orbs .orb-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 8s;
}

/* Success Stories Mobile Responsive */
@media (max-width: 768px) {
    .success-stories-section {
        padding: 60px 0;
    }
    
    .success-title {
        font-size: 2.5rem;
    }
    
    .success-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .success-header {
        margin-bottom: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .btn-success-stories {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Transform Section - Enhanced Final CTA */
.transform-section {
    padding: 80px 0;
    margin-top: 30px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Transform Background Grid */
.transform-background-grid {
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 3px, transparent 3px),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 3px, transparent 3px);
    background-size: 100px 100px, 140px 140px;
    animation: hexagon-breathe 10s ease-in-out infinite;
    z-index: 1;
}

/* Transform Particles */
.transform-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.transform-particles .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gradient-primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: falling-through-space 15s ease-in-out infinite;
}

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

.transform-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.transform-hexagon-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
    position: relative;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hexagon-pulse 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.3));
}

.transform-inner-hex {
    width: 120px;
    height: 120px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.transform-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 10px rgba(102, 126, 234, 0.3));
}

.transform-title {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    /* Static text - no animations */
}

.transform-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 500;
}

.transform-buttons {
    margin-bottom: 60px;
}

.transform-buttons .btn-primary,
.transform-buttons .btn-secondary {
    margin: 10px 15px;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 80px;
    height: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: top;
}

.transform-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 5px;
}

.transform-stat {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 25px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.05);
}

.transform-stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-blue);
}

.transform-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    /* Static text - no animations */
}

.transform-stat-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.transform-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.transform-orbs .orb-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.transform-orbs .orb-2 {
    width: 160px;
    height: 160px;
    top: 70%;
    right: 10%;
    animation-delay: 2s;
}

.transform-orbs .orb-3 {
    width: 90px;
    height: 90px;
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

.transform-orbs .orb-4 {
    width: 110px;
    height: 110px;
    top: 60%;
    left: 15%;
    animation-delay: 6s;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.footer .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}



.footer .col-lg-3 {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

/* Desktop Footer Responsive Spacing - Even Distribution */
@media (min-width: 992px) {
    .footer .row {
        gap: 35px;
    }
    
    .footer .col-lg-3 {
        padding: 0 12px;
    }
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

.x-logo {
    font-size: 18px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.footer-newsletter .input-group {
    margin-bottom: 0;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px 0 0 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 12px 16px;
    height: auto;
    min-height: 48px;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(102, 126, 234, 0.7);
    font-weight: 500;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: var(--text-dark);
}

.footer-newsletter .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 8px 8px 0;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    height: auto;
    min-height: 48px;
    transition: all 0.3s ease;
}

.footer-newsletter .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop/Laptop Responsive Design - Optimized for 13" to 34" screens */

/* Large Desktop Monitors (32"+ / 2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding: 0 120px;
    }
    
    .nav-container {
        max-width: 2200px;
        padding: 1rem 60px;
    }
    
    .hero-nexus {
        min-height: 120vh;
        padding: 180px 0;
    }
    
    .brand-core {
        font-size: 6rem;
    }
    
    .matrix-tagline {
        font-size: 2.5rem;
        max-width: 1400px;
    }
    
    .matrix-highlight {
        font-size: 1.8rem;
    }
    
    .transform-title {
        font-size: 5rem;
    }
    
    .transform-subtitle {
        font-size: 2rem;
        max-width: 1200px;
        margin: 0 auto 60px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        max-width: 2200px;
    }
}

/* Standard Desktop (27"-32" / 1920px-2560px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .nav-container {
        max-width: 1500px;
        padding: 1rem 40px;
        margin: 0 auto;
    }
    
    .hero-nexus {
        min-height: 100vh;
        padding: 140px 0;
    }
    
    .brand-core {
        font-size: 5.5rem;
    }
    
    .matrix-tagline {
        font-size: 2.2rem;
        max-width: 1200px;
    }
    
    .transform-title {
        font-size: 4.5rem;
    }
    
    .transform-subtitle {
        font-size: 1.8rem;
        max-width: 1000px;
        margin: 0 auto 50px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 1400px;
        margin: 60px auto 0;
    }
}

/* Desktop (21"-27" / 1440px-1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1350px;
        padding: 0 50px;
    }
    
    .nav-container {
        max-width: 1250px;
        padding: 1rem 30px;
        margin: 0 auto;
    }
    
    .hero-nexus {
        min-height: 95vh;
        padding: 120px 0;
    }
    
    .brand-core {
        font-size: 5rem;
    }
    
    .matrix-tagline {
        font-size: 2rem;
        max-width: 1000px;
    }
    
    .transform-title {
        font-size: 4rem;
    }
    
    .transform-subtitle {
        font-size: 1.6rem;
        max-width: 900px;
        margin: 0 auto 45px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 1200px;
        margin: 60px auto 0;
    }
}

/* Standard Laptop (15"-21" / 1024px-1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    
    .nav-container {
        max-width: 1100px;
        padding: 1rem 20px;
    }
    
    .hero-nexus {
        min-height: 90vh;
        padding: 100px 0;
    }
    
    .brand-core {
        font-size: 4.5rem;
    }
    
    .matrix-tagline {
        font-size: 1.8rem;
        max-width: 800px;
    }
    
    .transform-title {
        font-size: 3.5rem;
    }
    
    .transform-subtitle {
        font-size: 1.4rem;
        max-width: 750px;
        margin: 0 auto 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1100px;
    }
    
    .transform-buttons .btn-primary,
    .transform-buttons .btn-secondary {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
}

/* Small Laptop (13"-15" / 768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero-nexus {
        min-height: 85vh;
        padding: 80px 0;
    }
    
    .brand-core {
        font-size: 4rem;
    }
    
    .matrix-tagline {
        font-size: 1.6rem;
        max-width: 700px;
    }
    
    .matrix-highlight {
        font-size: 1.3rem;
    }
    
    .transform-title {
        font-size: 3rem;
    }
    
    .transform-subtitle {
        font-size: 1.3rem;
        max-width: 650px;
        margin: 0 auto 35px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .transform-buttons .btn-primary,
    .transform-buttons .btn-secondary {
        padding: 14px 35px;
        font-size: 1rem;
        margin: 8px 12px;
        min-height: 70px;
        height: auto;
    }
    
    .transform-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Large Desktop (32"+ monitors) - Ultra-wide spacing */
@media (min-width: 2560px) {
    .footer .row {
        max-width: 1600px;
        gap: 80px;
    }
    
    .footer .col-lg-3 {
        padding: 0 40px;
    }
    
    .footer {
        padding: 80px 0 60px;
    }
}

/* Standard Desktop (27"-32" monitors) - Optimal spacing */
@media (min-width: 1920px) and (max-width: 2559px) {
    .footer .row {
        max-width: 1400px;
        gap: 60px;
    }
    
    .footer .col-lg-3 {
        padding: 0 30px;
    }
    
    .footer {
        padding: 70px 0 55px;
    }
}

/* Desktop (21"-27" monitors) - Balanced spacing */
@media (min-width: 1440px) and (max-width: 1919px) {
    .footer .row {
        max-width: 1200px;
        gap: 50px;
    }
    
    .footer .col-lg-3 {
        padding: 0 25px;
    }
    
    .footer {
        padding: 60px 0 50px;
    }
    
    .transform-buttons .btn-primary,
    .transform-buttons .btn-secondary {
        min-height: 75px;
        padding: 16px 40px;
        font-size: 1.1rem;
        margin: 8px 12px;
    }
}

/* Standard Laptop (15"-21" monitors) - Compact spacing */
@media (min-width: 1024px) and (max-width: 1439px) {
    .footer .row {
        max-width: 1000px;
        gap: 40px;
    }
    
    .footer .col-lg-3 {
        padding: 0 20px;
    }
    
    .footer {
        padding: 50px 0 40px;
    }
    
    .transform-buttons .btn-primary,
    .transform-buttons .btn-secondary {
        min-height: 72px;
        padding: 15px 38px;
        font-size: 1.05rem;
        margin: 8px 12px;
    }
}

/* Small Laptop (13"-15" screens) - Tight spacing */
@media (min-width: 769px) and (max-width: 1023px) {
    .footer .row {
        max-width: 800px;
        gap: 30px;
    }
    
    .footer .col-lg-3 {
        padding: 0 15px;
    }
    
    .footer {
        padding: 40px 0 35px;
    }
    
    .footer-links h4,
    .footer-newsletter h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .transform-buttons .btn-primary,
    .transform-buttons .btn-secondary {
        min-height: 65px;
        padding: 12px 30px;
        font-size: 0.95rem;
        margin: 6px 10px;
    }
    
    .no-card-required-subtle {
        font-size: 0.7rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Force CSS Grid layout to override Bootstrap completely */
    .footer .container {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 15px !important;
    }
    
    .footer .row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer .col-lg-3 {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        flex: none !important;
        position: relative !important;
    }
    
    /* Force left alignment on all content EXCEPT social icons */
    .footer .col-lg-3 *:not(.footer-social):not(.footer-social *) {
        text-align: left !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Keep social icons horizontal and properly centered */
    .footer .footer-social {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
    }
    
    .footer .footer-social a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-right: 0 !important;
    }
    
    .footer .footer-links,
    .footer .footer-newsletter {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .footer .footer-links h4,
    .footer .footer-newsletter h4 {
        text-align: left !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
    }
    
    .footer .footer-links ul {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .footer .footer-links ul li {
        text-align: left !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-logo {
        width: 280px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Footer Note Styling */
.footer-note {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer-note p {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
    margin: 0;
}

/* Next-Generation Interactive Hero */
.hero-nexus {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    cursor: crosshair;
    margin-top: 0;
    padding-top: 0;
}

/* Dynamic Gradient Canvas */
.gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* Content Matrix */
.content-matrix {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

/* Brand Portal */
.brand-portal {
    position: relative;
    margin-bottom: 2rem;
    animation: portalActivation 2s ease-out;
}

.portal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
}

.portal-ring::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(118, 75, 162, 0.2);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite 2s;
}

.brand-core {
    position: relative;
    z-index: 5;
}

.brand-underground, .brand-degrees {
    display: inline-block;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    position: relative;
    margin: 0 0.5rem;
}

.brand-underground {
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(102, 126, 234, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.brand-degrees {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple), var(--primary-blue));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite, textGlow 3s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 0 10px rgba(118, 75, 162, 0.3));
}

.brand-underground::after,
.brand-degrees::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    transform: translate(2px, 2px);
    opacity: 0.3;
}

/* No Card Required Styling */
.no-card-required {
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Removed duplicate - consolidated above */

/* Vision Cascade - Improved Layout */
.vision-cascade {
    margin-bottom: 4rem;
    perspective: 1000px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vision-primary {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 400;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: cascadeReveal 1s ease-out forwards;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.vision-secondary {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 400;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: cascadeReveal 1s ease-out forwards 0.3s;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.vision-emphasis {
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-blue) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: gradientShift 3s ease-in-out infinite, cascadeReveal 1s ease-out forwards 0.6s;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.03em;
    line-height: 1.1;
}

/* Mission Matrix */
.mission-matrix {
    margin: 1.5rem 0;
    text-align: center;
}

.matrix-tagline, .matrix-highlight {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.matrix-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.matrix-highlight {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--primary-blue);
    font-weight: 600;
}

/* Particle Universe Styling */
.particle-universe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--primary-blue) 0%, rgba(102, 126, 234, 0.5) 70%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
    animation: particleFloat 4s ease-in-out infinite;
    pointer-events: auto;
}

.particle-node[data-type="alpha"] { top: 20%; left: 15%; animation-delay: 0s; }
.particle-node[data-type="beta"] { top: 35%; right: 20%; animation-delay: 0.8s; }
.particle-node[data-type="gamma"] { bottom: 30%; left: 25%; animation-delay: 1.6s; }
.particle-node[data-type="delta"] { bottom: 45%; right: 30%; animation-delay: 2.4s; }
.particle-node[data-type="epsilon"] { top: 60%; left: 60%; animation-delay: 3.2s; }
.particle-node[data-type="zeta"] { top: 45%; right: 45%; animation-delay: 4s; }

/* Enhanced Action Portal */
.action-portal {
    margin-top: 4rem;
}

.portal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-nexus {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-nexus:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    color: white;
    text-decoration: none;
}

.btn-nexus.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

.btn-matrix {
    position: relative;
    z-index: 2;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0.7;
    transform: scale(1);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-nexus:hover .btn-wave {
    left: 100%;
}

/* Additional Vision Cascade Effects */
.vision-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateY(90deg);
    animation: visionCascade 0.8s ease-out forwards;
}

@keyframes visionCascade {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateY(90deg) scale(0.8);
    }
    60% {
        transform: translateY(-10px) rotateY(0deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateY(0deg) scale(1);
    }
}

/* Mission Matrix - Streamlined */
.mission-matrix {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.matrix-tagline {
    font-size: 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: matrixReveal 0.8s ease-out forwards;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.matrix-highlight {
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    opacity: 0;
    transform: scale(0.95);
    animation: highlightExplosion 1s ease-out forwards;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    letter-spacing: 0.02em;
    position: relative;
}

.matrix-highlight[data-reveal="600"] {
    animation-delay: 0.6s;
}

/* Action Portal */
.action-portal {
    position: relative;
}

.portal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-nexus {
    position: relative;
    padding: 1.3rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(0);
    border: none;
}

.btn-nexus.primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.4),
        0 8px 16px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-nexus.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-nexus:hover {
    transform: translateY(-12px) scale(1.08) rotateX(5deg) translateZ(0);
    text-decoration: none;
}

.btn-nexus.primary:hover {
    color: white;
    box-shadow: 
        0 30px 60px rgba(102, 126, 234, 0.6),
        0 15px 30px rgba(118, 75, 162, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    filter: brightness(1.1);
}

.btn-nexus.secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    color: var(--primary-purple);
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-nexus:hover .btn-particles {
    opacity: 1;
    animation: particleExplosion 0.6s ease-out;
}

.btn-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-nexus:hover .btn-wave {
    width: 200%;
    height: 200%;
}

.trust-matrix {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.trust-particle {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 50%;
    animation: trustPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.6);
}

/* Interactive Particle Universe */
.particle-universe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.particle-node[data-type="alpha"] {
    top: 15%;
    left: 20%;
    animation: particleFloat 12s ease-in-out infinite;
}

.particle-node[data-type="beta"] {
    top: 25%;
    right: 15%;
    animation: particleFloat 15s ease-in-out infinite 2s;
}

.particle-node[data-type="gamma"] {
    bottom: 30%;
    left: 10%;
    animation: particleFloat 18s ease-in-out infinite 4s;
}

.particle-node[data-type="delta"] {
    bottom: 20%;
    right: 25%;
    animation: particleFloat 14s ease-in-out infinite 6s;
}

.particle-node[data-type="epsilon"] {
    top: 60%;
    left: 50%;
    animation: particleFloat 16s ease-in-out infinite 8s;
}

.particle-node[data-type="zeta"] {
    top: 40%;
    right: 40%;
    animation: particleFloat 20s ease-in-out infinite 10s;
}

/* Morphing Background Layers */
.morph-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: morphFloat 20s ease-in-out infinite;
}

.layer-1 {
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    animation-delay: 0s;
}

.layer-2 {
    bottom: 30%;
    right: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    animation-delay: 7s;
}

.layer-3 {
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

/* Neural Network Overlay */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    opacity: 0.4;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    animation: neuralPulse 3s ease-in-out infinite;
}

.node-1 { top: 20%; left: 30%; animation-delay: 0s; }
.node-2 { top: 40%; right: 20%; animation-delay: 1s; }
.node-3 { bottom: 30%; left: 40%; animation-delay: 2s; }
.node-4 { bottom: 50%; right: 30%; animation-delay: 1.5s; }

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    opacity: 0.3;
    animation: connectionFlow 4s ease-in-out infinite;
}

.conn-1 {
    top: 22%;
    left: 30%;
    width: 35%;
    transform: rotate(25deg);
    animation-delay: 0.5s;
}

.conn-2 {
    top: 42%;
    left: 45%;
    width: 25%;
    transform: rotate(-30deg);
    animation-delay: 1.5s;
}

.conn-3 {
    bottom: 32%;
    left: 40%;
    width: 20%;
    transform: rotate(45deg);
    animation-delay: 2.5s;
}

/* Revolutionary Effect Layers */

/* Holographic Overlay */
.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.03) 0%, 
        rgba(118, 75, 162, 0.03) 25%, 
        rgba(102, 126, 234, 0.03) 50%, 
        rgba(118, 75, 162, 0.03) 75%, 
        rgba(102, 126, 234, 0.03) 100%);
    background-size: 200px 200px;
    animation: hologramShift 8s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

/* Energy Grid */
.energy-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridPulse 6s ease-in-out infinite;
    z-index: 1;
}

/* Floating Geometry */
.floating-geometry {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.05);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid rgba(102, 126, 234, 0.3);
    background: none;
    top: 20%;
    left: 15%;
    animation: floatTriangle 12s ease-in-out infinite;
}

.hexagon {
    width: 30px;
    height: 30px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 60%;
    right: 20%;
    animation: floatHexagon 15s ease-in-out infinite;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 40%;
    left: 80%;
    animation: floatCircle 10s ease-in-out infinite;
}

.diamond {
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    bottom: 30%;
    left: 25%;
    animation: floatDiamond 14s ease-in-out infinite;
}

/* Constellation Layer */
.constellation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    animation: starTwinkle 3s ease-in-out infinite;
}

.star-1 { top: 25%; left: 30%; animation-delay: 0s; }
.star-2 { top: 35%; right: 25%; animation-delay: 1s; }
.star-3 { bottom: 40%; left: 20%; animation-delay: 2s; }
.star-4 { bottom: 30%; right: 35%; animation-delay: 1.5s; }
.star-5 { top: 50%; left: 60%; animation-delay: 0.5s; }

.constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.4) 50%, transparent 100%);
    animation: constellationGlow 4s ease-in-out infinite;
}

.line-1 {
    top: 27%;
    left: 30%;
    width: 35%;
    transform: rotate(20deg);
}

.line-2 {
    top: 37%;
    left: 45%;
    width: 25%;
    transform: rotate(-15deg);
}

.line-3 {
    bottom: 35%;
    left: 20%;
    width: 30%;
    transform: rotate(35deg);
}

/* Digital Rain Effect */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.rain-column {
    position: absolute;
    top: -100px;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(102, 126, 234, 0.8) 20%, 
        rgba(102, 126, 234, 0.4) 80%, 
        transparent 100%);
    animation: digitalRain 8s linear infinite;
}

/* Energy Pulse System */
.energy-pulse-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.energy-pulse {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: energyPulse 6s ease-in-out infinite;
}

.pulse-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.pulse-2 {
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.pulse-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

/* Advanced Holographic Effects */
.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    opacity: 0.6;
}

.holo-beam {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.8) 10%, 
        rgba(255, 255, 255, 0.9) 20%, 
        rgba(118, 75, 162, 0.8) 30%, 
        transparent 40%,
        transparent 60%,
        rgba(102, 126, 234, 0.6) 70%,
        transparent 100%);
    height: 2px;
    animation: holoBeamSweep 8s linear infinite;
    filter: blur(0.5px);
}

.beam-1 {
    top: 20%;
    width: 100%;
    animation-delay: 0s;
}

.beam-2 {
    top: 60%;
    width: 100%;
    animation-delay: 2.7s;
}

.beam-3 {
    top: 80%;
    width: 100%;
    animation-delay: 5.3s;
}

.energy-field {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.05) 40%, 
        transparent 70%);
    animation: energyPulse 6s ease-in-out infinite;
    filter: blur(20px);
}

.field-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.field-2 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.shimmer-wave {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 100%);
    animation: shimmerSweep 4s ease-in-out infinite;
}

.wave-1 {
    top: 30%;
    animation-delay: 1s;
}

.wave-2 {
    bottom: 30%;
    animation-delay: 3s;
}

/* Quantum Particle Generator */
.quantum-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.quantum-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(102, 126, 234, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    animation: quantumFloat 12s linear infinite;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8), 0 0 20px rgba(118, 75, 162, 0.4);
}

.q-1 { top: 15%; left: 10%; animation-delay: 0s; }
.q-2 { top: 25%; right: 20%; animation-delay: 1.5s; }
.q-3 { top: 45%; left: 30%; animation-delay: 3s; }
.q-4 { top: 65%; right: 15%; animation-delay: 4.5s; }
.q-5 { bottom: 25%; left: 25%; animation-delay: 6s; }
.q-6 { bottom: 35%; right: 35%; animation-delay: 7.5s; }
.q-7 { top: 35%; left: 60%; animation-delay: 9s; }
.q-8 { bottom: 45%; right: 50%; animation-delay: 10.5s; }

/* 3D Depth Layers */
.depth-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.03;
}

.depth-1 {
    background: radial-gradient(ellipse at 30% 20%, var(--primary-blue) 0%, transparent 60%);
    animation: depthFloat1 20s ease-in-out infinite;
    transform: translateZ(100px);
}

.depth-2 {
    background: radial-gradient(ellipse at 70% 80%, var(--primary-purple) 0%, transparent 60%);
    animation: depthFloat2 25s ease-in-out infinite;
    transform: translateZ(-50px);
}

.depth-3 {
    background: radial-gradient(ellipse at 50% 50%, rgba(102, 126, 234, 0.8) 0%, transparent 60%);
    animation: depthFloat3 30s ease-in-out infinite;
    transform: translateZ(-150px);
}

/* Next-Gen Hero Animations */
@keyframes portalActivation {
    0% { 
        opacity: 0; 
        transform: scale(0.8) rotateY(90deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotateY(0deg); 
    }
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.8; 
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(102, 126, 234, 0.3); 
    }
    50% { 
        text-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 40px rgba(118, 75, 162, 0.4); 
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes cascadeReveal {
    0% { 
        opacity: 0; 
        transform: translateY(30px) rotateX(45deg); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg); 
    }
}

@keyframes matrixReveal {
    0% { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes highlightExplosion {
    0% { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    70% { 
        transform: scale(1.05); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes particleExplosion {
    0% { 
        background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 30%); 
    }
    100% { 
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 80%); 
    }
}

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

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1); 
        opacity: 0.6; 
    }
    25% { 
        transform: translateY(-20px) translateX(15px) scale(1.3); 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-10px) translateX(-10px) scale(0.8); 
        opacity: 0.7; 
    }
    75% { 
        transform: translateY(-30px) translateX(20px) scale(1.1); 
        opacity: 0.9; 
    }
}

@keyframes morphFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1) rotate(0deg); 
    }
    25% { 
        transform: translateY(-30px) translateX(20px) scale(1.1) rotate(90deg); 
    }
    50% { 
        transform: translateY(-15px) translateX(-25px) scale(0.9) rotate(180deg); 
    }
    75% { 
        transform: translateY(-40px) translateX(30px) scale(1.2) rotate(270deg); 
    }
}

@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6); 
    }
    50% { 
        transform: scale(1.5); 
        box-shadow: 0 0 40px rgba(102, 126, 234, 1); 
    }
}

@keyframes connectionFlow {
    0% { 
        background: linear-gradient(90deg, transparent 0%, transparent 100%); 
    }
    50% { 
        background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%); 
    }
    100% { 
        background: linear-gradient(90deg, transparent 0%, transparent 100%); 
    }
}

/* Revolutionary Effect Animations */
@keyframes hologramShift {
    0%, 100% { 
        background-position: 0% 0%; 
        opacity: 0.3; 
    }
    50% { 
        background-position: 100% 100%; 
        opacity: 0.6; 
    }
}

@keyframes gridPulse {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.05); 
    }
}

@keyframes floatTriangle {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.6; 
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
        opacity: 1; 
    }
    66% { 
        transform: translateY(-10px) rotate(240deg); 
        opacity: 0.8; 
    }
}

@keyframes floatHexagon {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.2); 
        opacity: 1; 
    }
}

@keyframes floatCircle {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.6; 
    }
    25% { 
        transform: translateY(-15px) scale(1.3); 
        opacity: 1; 
    }
    75% { 
        transform: translateY(-25px) scale(0.8); 
        opacity: 0.8; 
    }
}

@keyframes floatDiamond {
    0%, 100% { 
        transform: translateY(0) rotate(45deg) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-20px) rotate(225deg) scale(1.1); 
        opacity: 1; 
    }
}

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.6); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5); 
        box-shadow: 0 0 20px rgba(102, 126, 234, 1); 
    }
}

@keyframes constellationGlow {
    0%, 100% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 0.8; 
    }
}

@keyframes digitalRain {
    0% { 
        transform: translateY(-100px); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(calc(100vh + 100px)); 
        opacity: 0; 
    }
}

@keyframes energyPulse {
    0% { 
        transform: scale(0.8); 
        opacity: 0; 
        border-color: rgba(102, 126, 234, 0.8); 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.6; 
        border-color: rgba(118, 75, 162, 0.6); 
    }
    100% { 
        transform: scale(1.5); 
        opacity: 0; 
        border-color: rgba(102, 126, 234, 0.2); 
    }
}



/* Advanced Visual Effect Animations */
@keyframes holoBeamSweep {
    0% { 
        transform: translateX(-100%); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        transform: translateX(100%); 
        opacity: 0; 
    }
}

@keyframes energyPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.1; 
    }
    25% { 
        transform: scale(1.2) rotate(90deg); 
        opacity: 0.2; 
    }
    50% { 
        transform: scale(0.8) rotate(180deg); 
        opacity: 0.15; 
    }
    75% { 
        transform: scale(1.1) rotate(270deg); 
        opacity: 0.25; 
    }
}

@keyframes shimmerSweep {
    0% { 
        transform: translateX(-200%) skewX(-15deg); 
        opacity: 0; 
    }
    20% { 
        opacity: 1; 
    }
    80% { 
        opacity: 1; 
    }
    100% { 
        transform: translateX(200%) skewX(-15deg); 
        opacity: 0; 
    }
}

@keyframes quantumFloat {
    0% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.3; 
    }
    25% { 
        transform: translate(50px, -30px) scale(1.5); 
        opacity: 1; 
    }
    50% { 
        transform: translate(-30px, -60px) scale(0.8); 
        opacity: 0.7; 
    }
    75% { 
        transform: translate(70px, -20px) scale(1.2); 
        opacity: 0.9; 
    }
    100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.3; 
    }
}

@keyframes depthFloat1 {
    0%, 100% { 
        transform: translateZ(100px) translateX(0) translateY(0) rotateX(0deg); 
    }
    33% { 
        transform: translateZ(150px) translateX(50px) translateY(-30px) rotateX(10deg); 
    }
    66% { 
        transform: translateZ(80px) translateX(-30px) translateY(20px) rotateX(-5deg); 
    }
}

@keyframes depthFloat2 {
    0%, 100% { 
        transform: translateZ(-50px) translateX(0) translateY(0) rotateY(0deg); 
    }
    50% { 
        transform: translateZ(-100px) translateX(-40px) translateY(40px) rotateY(15deg); 
    }
}

@keyframes depthFloat3 {
    0%, 100% { 
        transform: translateZ(-150px) translateX(0) translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateZ(-100px) translateX(30px) translateY(-25px) rotate(90deg); 
    }
    50% { 
        transform: translateZ(-200px) translateX(-20px) translateY(35px) rotate(180deg); 
    }
    75% { 
        transform: translateZ(-120px) translateX(45px) translateY(-15px) rotate(270deg); 
    }
}

/* Next-Gen Hero Mobile Responsive */
@media (max-width: 768px) {
    .content-matrix {
        padding: 1rem;
    }
    
    .brand-underground, .brand-degrees {
        font-size: 2.5rem;
        display: block;
        margin: 0.5rem 0;
    }
    
    .portal-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-nexus {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
    }
    
    .vision-line {
        font-size: 1.2rem;
    }
    
    .vision-emphasis {
        font-size: 1.5rem;
    }
    
    .matrix-text {
        font-size: 1rem;
    }
    
    .matrix-highlight {
        font-size: 1.1rem;
    }
    
    .morph-layer {
        width: 250px;
        height: 250px;
    }
    
    .neural-network {
        display: none; /* Hide complex animations on mobile for performance */
    }
}

/* ========================================
   MOBILE NAVIGATION SYSTEM 
   Clear separation from desktop - screens under 768px only
   ======================================== */
@media (max-width: 767px) {
    
    /* Mobile Navigation Container */
    .nav-container {
        padding: 0.75rem 15px;
        max-width: 100%;
    }
    
    /* Mobile Logo Adjustments */
    .nav-logo {
        width: 120px; /* Smaller logo for mobile */
        height: auto;
    }
    
    /* HIDE CURRICULUM DROPDOWN ON MOBILE */
    .nav-dropdown {
        display: none !important;
    }
    
    /* Mobile Navigation Layout */
    .nav-primary {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Mobile Navigation Buttons - Simplified */
    .nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: auto;
    }
    
    /* Hide text in mobile Sign In/Sign Up, keep icons and buttons visible */
    .nav-signup span,
    .nav-signin span {
        display: none;
    }
    
    /* Keep Sign In/Sign Up buttons visible and properly styled */
    .nav-signup,
    .nav-signin {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0.5rem 0.75rem;
        color: var(--text-dark) !important;
        background: transparent;
        border: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    /* Show existing FontAwesome icons properly */
    .nav-signup i,
    .nav-signin i {
        display: block !important;
        font-size: 0.9rem !important;
        margin-right: 0 !important;
        color: var(--text-dark) !important;
        transition: all 0.3s ease;
    }
    
    /* Hover effects for mobile buttons */
    .nav-signup:hover,
    .nav-signin:hover {
        background: var(--gradient-primary) !important;
        transform: translateY(-1px);
    }
    
    .nav-signup:hover i,
    .nav-signin:hover i {
        color: white !important;
    }
    
    /* Mobile Home button adjustment */
    .nav-home span {
        display: inline; /* Keep Home text visible */
        font-size: 0.875rem;
    }
    
    .nav-home i {
        display: none; /* Hide Home icon if any */
    }
    
    /* Mobile Welcome Text - Just "Welcome" */
    .nav-welcome-text {
        font-size: 0.875rem;
    }
    
    .nav-welcome-text .nav-user-name {
        display: none; /* Hide user name on mobile, show only "Welcome" */
    }
    
    /* Mobile Hamburger Menu - Keep 3-Line Design */
    .hamburger-container {
        margin-left: 0.5rem;
    }
    
    .hamburger-menu {
        width: 40px;
        height: 40px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: rgba(102, 126, 234, 0.1) !important;
        border: none !important;
        border-radius: 12px !important;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .hamburger-line {
        width: 20px !important;
        height: 2px !important;
        background: var(--primary-blue) !important;
        border-radius: 2px !important;
        position: relative;
        z-index: 1;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hamburger-line:not(:last-child) {
        margin-bottom: 3px !important;
    }
    
    /* Mobile Dropdown Adjustments - Keep side alignment like desktop */
    .elegant-dropdown {
        top: 65px;
        left: 10px;
        right: auto;
        max-width: 300px;
        margin: 0;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dropdown-section {
        text-align: left; /* Keep left alignment like desktop */
    }
    
    /* Mobile body padding adjustment */
    body {
        padding-top: 70px; /* Smaller navbar height on mobile */
    }
    
    /* Additional mobile navbar styling */
    .custom-navbar {
        box-shadow: none !important;
        border-bottom: none !important;
    }
    
    /* Premium Curriculum Mobile Fixes */
    .curriculum-hero h1,
    .premium-hero h1 {
        font-size: 1.9rem !important; /* Even smaller title to prevent cut-off */
        line-height: 1.2 !important;
        padding: 0 15px;
        text-align: center;
    }
    
    /* Module Grid Mobile Centering - Complete Containment */
    .modules-grid,
    .premium-modules-grid,
    .module-grid,
    .modules-container,
    .curriculum-modules {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 15px !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    
    .module-card,
    .premium-module-card,
    .module-item,
    .card {
        width: 100% !important;
        max-width: 300px !important;
        min-height: 200px !important;
        margin: 0 auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border: 2px solid rgba(102, 126, 234, 0.2) !important;
        border-radius: 12px !important;
        background: white !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1) !important;
        padding: 1.5rem 1rem !important;
    }
    
    /* Force any module containers to center and full width */
    .row .col-md-4,
    .row .col-lg-4,
    .curriculum-modules .col-md-4,
    .row > div[class*="col-"] {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0 15px !important;
        flex: none !important;
    }
    
    /* Ensure row containers don't cause overflow */
    .row {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Specific fix for Premium Curriculum grid layout */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        grid-template-columns: none !important;
    }
    
    /* Target premium curriculum module divs specifically */
    div[style*="grid-template-columns"] > div[style*="background: linear-gradient(145deg, #ffffff, #f8fafc)"] {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        min-width: auto !important;
    }
    
    /* User Menu Dropdown Mobile Alignment - Right Side */
    .user-dropdown {
        left: auto !important;
        right: 10px !important;
        max-width: 280px !important;
    }
    
    /* Additional mobile container fixes */
    .footer .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    

    
    /* Ultimate Experience Dropdown Mobile Fixes */
    .modules-dropdown-container .dropdown-header {
        min-height: 70px !important;
        padding: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .modules-dropdown-container .dropdown-title {
        flex: 1 !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        white-space: normal !important;
    }
    
    .modules-dropdown-container .dropdown-arrow {
        flex-shrink: 0 !important;
        margin-left: 0.5rem !important;
    }
}