/* 
 * The Trading Blueprint - Main Stylesheet
 * Dark Space Void Theme
 */

/* ---------- Variables ---------- */
:root {
    /* Primary Colors - Deep Space Theme */
    --color-primary: #0A0F2A;       /* Deep space blue */
    --color-primary-dark: #050816;  /* Near black */
    --color-primary-alt: #2A0A29;   /* Cosmic purple */
    
    /* Accent Colors */
    --color-accent: #00BFFF;        /* Vibrant neon blue */
    --color-accent-alt: #40E0D0;    /* Turquoise */
    
    /* Secondary Colors */
    --color-secondary: #8892b0;     /* Subtle grey for text */
    --color-secondary-light: #a8b2d1; /* Lighter grey */
    --color-white: rgba(255, 255, 255, 0.87); /* Muted starlight white */
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Other */
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 28px rgba(0, 191, 255, 0.15);
    --glow-effect: 0 0 15px rgba(0, 191, 255, 0.6);
}

/* ---------- Reset & Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #000000;
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 40%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 60%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 70% 70%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 80%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 90% 90%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 45%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 35% 65%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 85%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 75% 5%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 25%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 25% 95%, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    background-attachment: fixed;
    background-size: 550px 550px, 450px 450px, 350px 350px, 250px 250px, 150px 150px, 550px 550px, 450px 450px, 350px 350px, 250px 250px, 150px 150px, 550px 550px, 450px 450px, 350px 350px, 250px 250px, 150px 150px;
    animation: subtleStarTwinkle 10s infinite alternate;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-alt);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ---------- Layout & Grid ---------- */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.chart-animation {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
    opacity: 0.4;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(0, 191, 255, 0.1));
}

.chart-candle {
    position: absolute;
    bottom: 0;
    width: 4px;
    background-color: var(--color-accent);
    border-radius: 1px;
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

.chart-candle::before,
.chart-candle::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: var(--color-accent);
    opacity: 0.5;
}

.chart-candle::before {
    top: -10px;
    left: 50%;
    height: 10px;
}

.chart-candle::after {
    bottom: -10px;
    left: 50%;
    height: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.section-padding {
    padding: 100px 0;
}

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

.section-header h2 {
    margin-bottom: 15px;
    color: var(--color-white);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.bg-alt {
    background-color: rgba(10, 15, 30, 0.3);
}

.bg-accent {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 30, 60, 0.8));
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .col-md-4, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 80px 30px 30px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 0.8rem 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    .navbar-cta {
        margin: 1.5rem 0 0 0;
        width: 100%;
    }
    
    .navbar-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ---------- Pricing Section ---------- */
.pricing {
    position: relative;
}

.pricing-card {
    background: rgba(15, 15, 15, 0.8);
    border-radius: 20px;
    padding: var(--space-lg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    text-align: left;
    z-index: 1;
    border: 1px solid rgba(40, 40, 40, 0.8);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00BFFF, #0077FF, #00BFFF, #0077FF);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: calc(var(--border-radius) + 2px);
    animation: gradientBorder 10s ease infinite;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius);
    z-index: -1;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 120, 255, 0.5);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0077FF, #00BFFF, #0077FF, #00BFFF);
    background-size: 300% 300%;
    filter: blur(0.5px);
    border-radius: 22px;
    z-index: -1;
    animation: gradientBorder 6s ease infinite;
}

.pricing-header {
    margin-bottom: var(--space-md);
    text-align: center;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.discount-badge {
    display: inline-block;
    background: rgba(0, 77, 255, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    box-shadow: 0 0 15px rgba(0, 77, 255, 0.4);
}

.limited-badge {
    display: inline-block;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    margin-left: 0.5rem;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    margin-top: 1rem;
}

.currency {
    font-size: 1.8rem;
    margin-right: 0.2rem;
    font-weight: 600;
}

.period {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.2rem;
    font-weight: 400;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
}

.pricing-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    font-size: 1rem;
}

.pricing-features i {
    color: #1E88E5;
    margin-right: 0.8rem;
    background: rgba(30, 136, 229, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-cta {
    margin-top: var(--space-md);
}

.row.justify-content-center {
    display: flex;
    justify-content: center;
}

/* ---------- Stats Section ---------- */
.stats-section {
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 15%, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    z-index: 0;
    opacity: 0.3;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    margin: 1rem;
    flex: 1;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 191, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
    border-color: rgba(0, 191, 255, 0.3);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.5;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.stat-icon i {
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, var(--color-white), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stat-item {
        min-width: 150px;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* ---------- About Section ---------- */
.about-content {
    padding-right: var(--space-lg);
}

.about-content h3 {
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0 0;
}

.about-list li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.about-list li i {
    color: var(--color-accent);
    margin-right: 10px;
}

.about-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 191, 255, 0.3);
    border: 1px solid rgba(0, 191, 255, 0.2);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(-5deg);
}

.about-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 191, 255, 0.4);
    border-color: rgba(0, 191, 255, 0.4);
}

/* ---------- Results Section ---------- */
.results-section {
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.results-showcase {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 1200px;
}

.results-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 191, 255, 0.2);
}

.results-track {
    display: flex;
    will-change: transform;
    /* Transition is now handled by JS for smoother animation */
}

.results-group {
    display: flex;
    flex: 0 0 auto;
    gap: 20px;
    justify-content: center;
    padding: 0 20px;
    margin-right: 20px;
}

.result-card {
    flex: 1;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(40, 40, 40, 0.8);
    background-color: rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 191, 255, 0.2);
}

.result-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.results-caption {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

@media (max-width: 992px) {
    .results-group {
        flex-wrap: wrap;
    }
    
    .result-card {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .result-card {
        flex: 0 0 100%;
    }
}

.success-navigation {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
}

.success-nav-btn {
    background: rgba(0, 191, 255, 0.1);
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 1rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.success-nav-btn:hover {
    background: rgba(0, 191, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 191, 255, 0.3);
}

.success-dots {
    display: flex;
    justify-content: center;
    margin-top: var(--space-sm);
}

.success-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.success-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

@media (max-width: 768px) {
    .success-slideshow-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .success-slideshow-container {
        height: 300px;
    }
    
    .success-nav-btn {
        width: 40px;
        height: 40px;
        margin: 0 0.5rem;
    }
}

/* ---------- Testimonials ---------- */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
    padding: 40px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

.testimonial-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.85);
    filter: blur(2px);
}

.testimonial-item.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.testimonial-content {
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-content:hover {
    transform: translateY(-10px) rotateX(3deg);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2), 0 15px 20px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 191, 255, 0.2);
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-nav-btn:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: rgba(0, 191, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
    transform: scale(1.2);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-sm);
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--space-sm);
    border: 2px solid var(--color-accent);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-accent-alt);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.7), 0 0 40px rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
    color: var(--color-primary-dark);
    animation: pulseGlow 2s infinite;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(0, 191, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5), 0 0 30px rgba(0, 191, 255, 0.3);
    transform: translateY(-2px);
    color: var(--color-white);
    border-color: var(--color-accent-alt);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
    color: var(--color-primary-dark);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.8), 0 0 50px rgba(0, 191, 255, 0.4);
    color: var(--color-primary-dark);
    animation: pulseGlow 2s infinite;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s ease;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.7);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 70%, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    z-index: -1;
    opacity: 0.3;
}

@keyframes navbarGlow {
    0% {
        opacity: 0.3;
        background-position: -100% 0;
    }
    100% {
        opacity: 0.7;
        background-position: 200% 0;
    }
}

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

.navbar-cta {
    margin-left: auto;
}

.navbar-cta .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
    border: 1px solid rgba(0, 191, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.navbar-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
}

.navbar-brand a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    background: linear-gradient(90deg, var(--color-white), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 1.2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
    opacity: 1;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.nav-links ul {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.navbar-toggle:hover span {
    background-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 75% 75%, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    z-index: -1;
    animation: subtleStarTwinkle 15s infinite alternate ease-in-out;
}

@keyframes subtleStarTwinkle {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.5;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-secondary-light);
    margin-bottom: var(--space-lg);
}

.text-accent {
    color: var(--color-accent);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ---------- Features Section ---------- */
.features {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-alt));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 191, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.5), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.2), 0 5px 15px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 191, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.feature-card:hover::before {
    opacity: 1;
    animation: pulseGlow 4s infinite alternate;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.8;
    }
}

.feature-card .feature-icon {
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: translateZ(20px);
}

.feature-card h3 {
    transition: transform 0.5s ease, color 0.3s ease;
    margin: 1.5rem 0 1rem;
}

.feature-card:hover h3 {
    transform: translateZ(15px);
    color: var(--color-accent);
}

.feature-card p {
    transition: transform 0.5s ease;
    transform-origin: bottom;
}

.feature-card:hover p {
    transform: translateZ(10px);
}

.feature-card:nth-child(odd) {
    animation: floatEffect 8s infinite ease-in-out;
}

.feature-card:nth-child(even) {
    animation: floatEffect 10s infinite ease-in-out reverse;
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--color-accent);
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    color: #40E0D0;
    filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.7));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--color-secondary);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: var(--space-xl) 0;
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.8), rgba(42, 10, 41, 0.5));
}

.testimonials-slider {
    margin-top: var(--space-lg);
    position: relative;
}

/* ---------- Floating CTA Button ---------- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: all 0.3s ease;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
}

.floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.floating-cta .btn {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 191, 255, 0.4);
    position: relative;
}

.floating-cta .btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50px;
    background: rgba(0, 191, 255, 0.4);
    z-index: -1;
    animation: pulse 2s infinite;
}

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

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cta .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ---------- CTA Section ---------- */
.cta {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    padding: var(--space-xl) 0;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
    font-size: 2.5rem;
}

.cta-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(10, 15, 42, 0.8), rgba(42, 10, 41, 0.8));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--color-secondary-light);
}

/* ---------- Footer ---------- */
footer {
    background-color: rgba(5, 8, 22, 0.7);
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20% 80%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 20%, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    z-index: -1;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.3), transparent);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-lg);
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--space-md);
}

.footer-logo p {
    color: var(--color-secondary);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    justify-content: space-around;
}

.footer-nav h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.footer-nav ul li {
    margin-bottom: var(--space-sm);
}

.footer-nav a {
    color: var(--color-secondary);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-social h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: var(--space-lg);
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Space animations */
@keyframes subtleStarTwinkle {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 20% 20%, 10% 10%, -10% 10%, -20% 20%, 10% -10%, 20% -20%, -10% -10%, -20% -20%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes floatEffect {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
    }
}

/* Animation classes for AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Glassmorphism effect for cards */
.glass-card {
    background: rgba(10, 15, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.1);
    border-radius: var(--border-radius);
}

/* Glow effects */
.glow-on-hover:hover {
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.text-glow {
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
}
