/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
   :root {
    /* Color Palette - Navy & Teal */
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --bg-light: #f8fafc;
    --accent: #64ffda;
    --accent-hover: #52e0c4;
    --text-primary: #cbd5e1;
    --text-dark: #1e293b;
    --text-heading: #ccd6f6;
    --text-heading-dark: #0f172a;
    --border-color: rgba(100, 255, 218, 0.1);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Effects */
    --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; }
.bg-light { background-color: var(--bg-light); color: var(--text-dark); }
.bg-light h2, .bg-light h3, .bg-light h4 { color: var(--text-heading-dark); }
.bg-dark { background-color: #020c1b; }
.bg-accent { background-color: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.text-white { color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

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

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.nav-btn {
    padding: 0.5rem 1.25rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.floating {
    animation: floating 6s ease-in-out infinite;
}

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

/* ==========================================================================
   Layouts & Reusables
   ========================================================================== */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col-layout.reverse .content-col {
    order: -1;
}

.rounded-img {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.shadow {
    box-shadow: var(--shadow);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.check-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 2px;
}

.check-list.red-cross li::before {
    content: "❌";
}

.check-list.green-check li::before {
    content: "✅";
}

.alert-box {
    background-color: rgba(100, 255, 218, 0.05);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.highlight-alert {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
    display: inline-block;
    border-radius: 8px;
    border-left: none;
}

/* ==========================================================================
   Grids
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.skill-item {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    color: var(--text-primary);
}

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

.badge-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

/* ==========================================================================
   Accordion / Curriculum
   ========================================================================== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background-color: transparent;
    border: none;
    text-align: left;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 400;
}

.accordion-header::after {
    content: "+";
    font-size: 1.5rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-header::after {
    content: "-";
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    padding-bottom: 1.5rem;
}

.accordion-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-primary);
}

.module-desc {
    font-style: italic;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Instructor
   ========================================================================== */
.quote {
    font-style: italic;
    font-size: 1.1rem;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin-top: 2rem;
    color: #475569;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.author {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-light);
    position: relative;
    border: 1px solid #e2e8f0;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--accent);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}

.tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading-dark);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-heading-dark);
    margin-bottom: 2rem;
}

.features {
    text-align: left;
    margin-bottom: 2rem;
}

.features li {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features li.disabled {
    color: #94a3b8;
    text-decoration: line-through;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 5rem 0 2rem;
}

.cta-box {
    background-color: rgba(100, 255, 218, 0.05);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: inline-block;
}

.small-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

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

.text-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-heading-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.2);
}

.form-message {
    font-weight: 600;
    color: #059669; /* Green for success */
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .two-col-layout { grid-template-columns: 1fr; gap: 3rem; }
    .two-col-layout.reverse .content-col { order: 1; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero { padding-top: 8rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .pricing-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem 0;
        clip-path: circle(0% at 100% 0);
        transition: all 0.4s ease-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .hamburger { display: flex; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero h1 { font-size: 2.5rem; }
}
