:root {
    --bg-dark: #070913;
    --bg-darker: #030409;
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.5);
    --secondary: #3b82f6;
    --secondary-glow: rgba(59, 130, 246, 0.5);
    --accent: #ec4899;
    --accent-glow: rgba(236, 72, 153, 0.5);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --bronze: #cd7f32;
    --silver: #c0c0c0;
    --gold: #ffd700;
    --platinum: #e5e4e2;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.mt-4 { margin-top: 1rem; }

/* --------------------
   Background Animations 
   -------------------- */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top right, #1a1625 0%, var(--bg-darker) 100%);
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: floatOrb 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 5%) scale(1.1); }
    66% { transform: translate(-5%, 10%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --------------------
   Typography & Layout 
   -------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------
   UI Elements 
   -------------------- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.hover-glow:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.7);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-huge {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* --------------------
   Navbar 
   -------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(7, 9, 19, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --------------------
   Hero Section 
   -------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    position: relative;
    text-align: center;
}

.hero-content {
    z-index: 2;
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw + 1rem, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Hero Glass Mockup */
.hero-visual {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.glass-mockup {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.15) inset;
    height: 350px;
    display: flex;
    flex-direction: column;
    transform: perspective(1000px) rotateX(8deg) translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    height: 40px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skeleton-line {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: loadingAnim 2s infinite;
}
.skeleton-line.full { width: 100%; }
.skeleton-line.half { width: 60%; }

.skeleton-chart {
    height: 100px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
    border-bottom: 2px solid var(--secondary);
}

.skeleton-cards {
    display: flex;
    gap: 1rem;
}
.sk-card {
    flex: 1;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes loadingAnim {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --------------------
   Features 
   -------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
}

.feature-card:hover::before {
    opacity: 0.3;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --------------------
   How It Works (Timeline) 
   -------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 2rem;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

/* --------------------
   Certificates 
   -------------------- */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.tier-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tier-card .glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    filter: blur(60px);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
    pointer-events: none;
}

.tier-card:hover .glow-effect {
    opacity: 0.15;
}

.tier-card > *:not(.glow-effect) {
    z-index: 1;
    position: relative;
}

.tier-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.tier-card:hover .tier-icon {
    transform: scale(1.1) translateY(-5px);
}

.bronze-color { color: var(--bronze); text-shadow: 0 0 20px rgba(205, 127, 50, 0.5); }
.silver-color { color: var(--silver); text-shadow: 0 0 20px rgba(192, 192, 192, 0.5); }
.gold-color { color: var(--gold); text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
.platinum-color { color: var(--platinum); text-shadow: 0 0 20px rgba(229, 228, 226, 0.5); }

.bronze-glow { background: var(--bronze); }
.silver-glow { background: var(--silver); }
.gold-glow { background: var(--gold); }
.platinum-glow { background: var(--platinum); }

.tier-card:hover[data-tier="bronze"] { border-color: rgba(205, 127, 50, 0.4); }
.tier-card:hover[data-tier="silver"] { border-color: rgba(192, 192, 192, 0.4); }
.tier-card:hover[data-tier="gold"] { border-color: rgba(255, 215, 0, 0.4); }
.tier-card:hover[data-tier="platinum"] { border-color: rgba(229, 228, 226, 0.4); }

.tier-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.tier-card p { color: var(--text-muted); font-size: 0.9rem; }

/* --------------------
   Testimonials Carousel 
   -------------------- */
.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial {
    min-width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s, transform 0.5s;
}

.testimonial.active {
    opacity: 1;
    transform: scale(1);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    padding: 2px;
}

.user-info h4 { font-size: 1.1rem; }
.user-info span { color: var(--text-muted); font-size: 0.9rem; }

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-controls button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-controls button:hover {
    background: var(--primary);
    color: white;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* --------------------
   CTA Section 
   -------------------- */
.cta-banner {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.anim-float {
    animation: floating 4s ease-in-out infinite;
}

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

/* --------------------
   Footer 
   -------------------- */
footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 350px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex: 2;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.link-group {
    min-width: 150px;
}

.link-group h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --------------------
   Animation Classes for JS Observer
   -------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-top {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.appear, 
.slide-in-right.appear,
.slide-in-top.appear {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.animate-text {
    opacity: 0;
    animation: textAppear 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-fade {
    opacity: 0;
    animation: simpleFade 1.5s ease-in-out forwards;
}

@keyframes textAppear {
    from { opacity: 0; transform: scale(0.95) translateY(20px); filter: blur(5px); }
    to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes simpleFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------
   Responsive Mobile
   -------------------- */
@media (max-width: 900px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        justify-content: flex-end !important;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
