/* Base Styles & Variables */
:root {
    --bg-color: #050816;
    --primary-color: #6c63ff;
    --primary-glow: rgba(108, 99, 255, 0.5);
    --secondary-color: #00c2ff;
    --secondary-glow: rgba(0, 194, 255, 0.5);
    --text-main: #ffffff;
    --text-muted: #a0a8b9;
    --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);
    --nav-bg: rgba(5, 8, 22, 0.85);
    --footer-bg: rgba(0, 0, 0, 0.3);
    --btn-outline-text: white;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --primary-glow: rgba(108, 99, 255, 0.15);
    --secondary-glow: rgba(0, 194, 255, 0.15);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    --nav-bg: rgba(248, 250, 252, 0.9);
    --footer-bg: rgba(241, 245, 249, 0.8);
    --btn-outline-text: #1e293b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(120deg, var(--bg-color), rgba(108, 99, 255, 0.08), var(--bg-color));
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    box-shadow: 0 6px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-full {
    width: 100%;
}

/* Glowing Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}

.top-glow {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(108,99,255,0) 70%);
}

.bottom-glow {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(0,194,255,0) 70%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--glass-bg);
    color: var(--secondary-color);
}

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

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.stars {
    color: #ffb800;
    letter-spacing: 2px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-illustration {
    position: relative;
    padding: 20px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.main-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite;
}

.icon-1 { top: 10%; left: -20px; background: linear-gradient(135deg, var(--primary-color), transparent); animation-delay: 0s; }
.icon-2 { bottom: 20%; right: -20px; background: linear-gradient(135deg, var(--secondary-color), transparent); animation-delay: 2s; }
.icon-3 { top: 50%; right: 10%; background: linear-gradient(135deg, #ff007a, transparent); animation-delay: 4s; }

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

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    padding: 40px 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(108, 99, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Courses Section */
.courses {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 194, 255, 0.3);
}

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--glass-border);
}

.course-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.course-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.course-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.course-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
}

.why-us-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-us-image {
    flex: 1;
    position: relative;
}

.why-us-image .glass-card {
    padding: 15px;
}

.why-us-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--glass-shadow);
    z-index: 2;
}

.top-badge {
    top: 10%;
    right: -20px;
    color: #4ade80;
}

.bottom-badge {
    bottom: 10%;
    left: -20px;
    color: #facc15;
}

.why-us-content {
    flex: 1;
}

.why-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-us-content > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 194, 255, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefits-list h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

/* Stats Section */
.stats {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 50px;
    text-align: center;
}

.stat-box {
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--glass-border);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.testimonial-card .stars {
    margin-bottom: 20px;
}

.testimonial-card > p {
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 30px;
    flex: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-info h4 {
    margin-bottom: 3px;
    font-size: 1.1rem;
}

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

/* CTA Section */
.cta {
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(108,99,255,0.2) 0%, rgba(5,8,22,0) 70%);
    z-index: 0;
}

.cta-card h2, .cta-card p, .cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    transition: background-color 0.4s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.footer-links h4, .footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    outline: none;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    border-color: var(--secondary-color);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    transform: translateX(50px);
}

.fade-right.active {
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-container, .why-us-container { gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; padding: 40px 20px; }
    .stat-box:nth-child(2)::after { display: none; }
    .stat-box:nth-child(1)::after, .stat-box:nth-child(3)::after { right: -20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-container, .why-us-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 40px; }
    .hero p { margin: 0 auto 30px; }
    .hero-cta { justify-content: center; }
    .stat-item { justify-content: center; }
    .why-us-content > p { margin: 0 auto 40px; }
    .benefits-list li { text-align: left; }
    .cta-card h2 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; gap: 15px; }
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat-box::after { display: none !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .section-header h2 { font-size: 2rem; }
}

/* =========================================
   About Page Specific Styles
========================================= */

/* Mission Section */
.mission {
    padding: 100px 0;
}

.mission-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.mission-content {
    flex: 1;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mission-points li {
    font-size: 1.05rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.mission-points i {
    margin-top: 5px;
}

/* Benefits Grid (Why Choose Us - About) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    padding: 30px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 194, 255, 0.3);
}

.benefit-card h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Team / Creator Section */
.team-creator {
    padding: 100px 0;
}

.creator-card {
    display: flex;
    gap: 40px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.creator-image {
    position: relative;
    flex-shrink: 0;
}

.creator-image img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(108, 99, 255, 0.3);
}

.creator-socials {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: var(--nav-bg);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.creator-socials a {
    color: var(--text-main);
    font-size: 1.2rem;
}

.creator-socials a:hover {
    color: var(--secondary-color);
}

.creator-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.creator-content h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.creator-content .role {
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.creator-content .story {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.vision-statement {
    background: rgba(108, 99, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
    display: flex;
    gap: 15px;
}

.vision-statement i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.vision-statement p {
    font-weight: 500;
    margin: 0;
}

/* About Page Specific Responsive */
@media (max-width: 768px) {
    .mission-container {
        flex-direction: column;
    }
    .creator-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }
    .creator-image {
        margin-bottom: 30px;
    }
    .vision-statement {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--primary-color);
    }
}
