/*:root {

    --primary: #075586;
    --primary-dark: #075586;
    --primary-light: #3b82f6;
    --primary-ultra-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #075586;
    --accent-light: #67e8f9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-elevated: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --gradient-primary: linear-gradient(135deg, #075586 0%, #003352 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #00a99d 0%, #00766e 50%, #00a99d 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}*/

:root {
    --primary: #075586;
    --primary-dark: #075586;
    --primary-light: #3b82f6;
    --primary-ultra-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #075586;
    --accent-light: #67e8f9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-elevated: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --gradient-primary: linear-gradient(135deg, #075586 0%, #003352 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        --gradient-hero: linear-gradient(135deg, #00aca100 0%, #03a69edb 50%, #007e7d 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
i.fas.fa-check-circle {
    color: #075586;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- Navigation ---- */
.store-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: transparent; padding: 1rem 0;
    transition: var(--transition);
}
.store-nav.scrolled {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md); padding: 0.5rem 0;
}
.store-nav.scrolled .nav-logo span,
.store-nav.scrolled .nav-link { color: var(--text) !important; }
.store-nav.scrolled .nav-link:hover { color: var(--primary) !important; }
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.5rem; font-weight: 800; color: #fff;
}
.nav-logo i { color: var(--accent); font-size: 1.3rem; }
.nav-logo sup { font-size: 0.5em; color: var(--accent); font-weight: 600; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link {
    color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem;
    padding: 0.5rem 0; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: var(--transition);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: #fff; }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-user {
    color: rgba(255,255,255,0.8); font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.store-nav.scrolled .nav-user { color: var(--text-secondary); }
.btn-nav {
    padding: 0.5rem 1.25rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-outline-nav {
    border: 1.5px solid rgba(255,255,255,0.4); color: #fff; background: transparent;
}
.btn-outline-nav:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.store-nav.scrolled .btn-outline-nav { border-color: var(--border); color: var(--text); }
.store-nav.scrolled .btn-outline-nav:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary-nav { background: var(--primary); color: #fff; border: none; }
.btn-primary-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-toggle {
    display: none; background: none; border: none; color: #fff;
    font-size: 1.5rem; cursor: pointer;
}
.store-nav.scrolled .nav-toggle { color: var(--text); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 2rem; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 1rem; cursor: pointer; transition: var(--transition);
    border: none; line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--surface); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary-ultra-light); }
.btn-accent { background: var(--gradient-primary); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.3); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--secondary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }

/* ---- Alerts ---- */
.alert {
    max-width: 1280px; margin: 6rem auto 1rem; padding: 1rem 1.5rem;
    border-radius: var(--radius-md); display: flex; align-items: center; gap: 0.75rem;
    font-weight: 500;
}
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ---- Hero Section ---- */
.hero {
    background: var(--gradient-hero); min-height: 100vh;
    display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; bottom: -50%; left: -20%; width: 50%; height: 200%;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 60%);
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(2deg); }
}
.hero-container {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2);
    padding: 0.4rem 1rem; border-radius: 50px; color: var(--accent);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-badge i { font-size: 0.75rem; }
.hero-title {
    font-size: 3.5rem; font-weight: 900; line-height: 1.1; color: #fff;
    margin-bottom: 1.5rem;
}
.hero-title span { background: var(--gradient-primary); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle {
    font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem;
    line-height: 1.7; max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase;
    letter-spacing: 0.05em; font-weight: 600; }

.hero-visual {
    position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-card-stack {
    position: relative; width: 100%; max-width: 450px;
}
.hero-card {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
    padding: 2rem; position: relative;
}
.hero-card-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--gradient-primary); display: flex; align-items: center;
    justify-content: center; color: #fff; font-size: 1.5rem; margin-bottom: 1rem;
}
.hero-card h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.hero-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }
.hero-card-features { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-card-feature {
    display: flex; align-items: center; gap: 0.75rem;
    color: rgba(255,255,255,0.75); font-size: 0.9rem;
}
.hero-card-feature i { color: var(--accent); font-size: 0.8rem; }
.hero-floating {
    position: absolute; padding: 1rem 1.5rem; background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md); display: flex; align-items: center; gap: 0.75rem;
   /* animation: float 6s ease-in-out infinite;*/
}
.hero-floating.top-right {     top: -50px;
    right: 116px; animation-delay: -2s; }
.hero-floating.bottom-left { bottom: -50px;
    left: 106px; animation-delay: -4s; }
.hero-floating-icon {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1rem;
}
.hero-floating-icon.green { background: rgba(16,185,129,0.2); color: var(--success); }
.hero-floating-icon.blue { background: rgba(37,99,235,0.2); color: var(--primary-light); }
.hero-floating span { color: #fff; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

/* ---- Section Common ---- */
.section { padding: 6rem 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--gradient-dark); color: #fff; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary);
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.section-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-title span { color: var(--primary); }
.section-desc { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; }

/* ---- Course Cards ---- */
.courses-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}
.course-card {
    background: var(--surface-elevated); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border-light);
    transition: var(--transition); position: relative;
}
.course-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-xl);
    border-color: var(--primary-ultra-light);
}
.course-card-image {
    height: 200px; background: var(--gradient-dark); overflow: hidden;
    position: relative;
}
.course-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.course-card:hover .course-card-image img { transform: scale(1.05); }
.course-card-badge {
    position: absolute; top: 1rem; left: 1rem; background: var(--primary);
    color: #fff; padding: 0.3rem 0.8rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.course-card-body { padding: 1.5rem; }
.course-card-title {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem;
    color: var(--text); line-height: 1.3;
}
.course-card-desc {
    color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-card-meta {
    display: flex; gap: 1.25rem; margin-bottom: 1.25rem;
    font-size: 0.85rem; color: var(--text-muted);
}
.course-card-meta span { display: flex; align-items: center; gap: 0.4rem; }
.course-card-meta i { color: var(--primary); }
.course-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1.25rem; border-top: 1px solid var(--border-light);
}
.course-card-price { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.course-card-price small { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

/* ---- Features Grid ---- */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--surface-elevated); padding: 2rem; border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
    border-color: var(--primary-ultra-light);
}
.feature-icon {
    width: 64px; height: 64px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.feature-icon.blue { background: var(--primary-ultra-light); color: var(--primary); }
.feature-icon.cyan { background: #ecfeff; color: var(--accent); }
.feature-icon.green { background: #ecfdf5; color: var(--success); }
.feature-icon.amber { background: #fffbeb; color: var(--warning); }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ---- Trust Bar ---- */
.trust-bar { padding: 3rem 0; border-bottom: 1px solid var(--border-light); }
.trust-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 3rem; flex-wrap: wrap; opacity: 0.5;
}
.trust-logos span { font-size: 1.1rem; font-weight: 700; color: var(--text-muted);
    letter-spacing: 0.03em; }

/* ---- CTA Section ---- */
.cta-section {
    background: var(--gradient-primary); padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.cta-desc { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ---- Pricing Section ---- */
.pricing-toggle {
    display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem;
    background: var(--surface-alt); padding: 0.4rem; border-radius: 50px;
    width: fit-content; margin-left: auto; margin-right: auto;
}
.pricing-toggle-btn {
    padding: 0.6rem 1.5rem; border-radius: 50px; border: none; background: transparent;
    color: var(--text-secondary); font-weight: 600; cursor: pointer; transition: var(--transition);
    font-size: 0.9rem;
}
.pricing-toggle-btn.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; max-width: 1000px; margin: 0 auto;
}
.pricing-card {
    background: var(--surface-elevated); border-radius: var(--radius-lg);
    padding: 2.5rem; border: 2px solid var(--border-light); transition: var(--transition);
    position: relative;
}
.pricing-card.featured {
    border-color: var(--primary); transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-popular {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-primary); color: #fff; padding: 0.3rem 1.25rem;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--text); margin-bottom: 0.25rem; }
.pricing-price small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.pricing-features { margin-bottom: 2rem; }
.pricing-features li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-features li i { color: var(--success); margin-top: 0.2rem; flex-shrink: 0; }

/* ---- Course Detail Page ---- */
.course-hero {
    background: var(--gradient-hero); padding: 8rem 0 4rem; color: #fff;
}
.course-hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.course-hero-img {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl);
}
.course-hero-img img { width: 100%; height: 300px; object-fit: cover; }
.course-breadcrumb {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
    font-size: 0.9rem; color: rgba(255,255,255,0.5);
}
.course-breadcrumb a { color: rgba(255,255,255,0.7); }
.course-breadcrumb a:hover { color: var(--accent); }
.course-hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.course-hero-desc { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.course-hero-meta {
    display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.course-meta-item {
    display: flex; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.7); font-size: 0.9rem;
}
.course-meta-item i { color: var(--accent); }
.course-hero-price {
    font-size: 2rem; font-weight: 800; color: var(--accent);
}
.course-hero-price small { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; }

.course-content-grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; padding: 4rem 0;
}
.course-sidebar {
    position: sticky; top: 6rem; align-self: start;
}
.sidebar-card {
    background: var(--surface-elevated); border-radius: var(--radius-lg);
    padding: 2rem; border: 1px solid var(--border-light); box-shadow: var(--shadow-lg);
}
.sidebar-card-divider { border: none; border-top: 1px solid var(--border-light); margin: 1.5rem 0; }

/* Levels List */
.levels-list { display: flex; flex-direction: column; gap: 0.75rem; }
.level-item {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    background: var(--surface-alt); border-radius: var(--radius-md);
    transition: var(--transition); border: 1px solid transparent;
}
.level-item:hover { border-color: var(--primary-ultra-light); background: #fff; }
.level-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-ultra-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.level-name { font-weight: 500; font-size: 0.95rem; }

/* ---- Checkout Page ---- */
.checkout-section { padding: 7rem 0 4rem; }
.checkout-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem;
}
.checkout-form { }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text); }
.form-input, .form-select {
    width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--border);
    border-radius: var(--radius-md); font-size: 1rem; font-family: inherit;
    transition: var(--transition); background: var(--surface);
}
.form-input:focus, .form-select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ultra-light);
}
.form-input::placeholder { color: var(--text-muted); }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 0.4rem; }

.order-summary-card {
    background: var(--surface-alt); border-radius: var(--radius-lg);
    padding: 2rem; border: 1px solid var(--border-light); position: sticky; top: 6rem;
}
.order-summary-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.order-item {
    display: flex; gap: 1rem; padding-bottom: 1rem;
    margin-bottom: 1rem; border-bottom: 1px solid var(--border-light);
}
.order-item-img { width: 80px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.order-item-info p { font-size: 0.85rem; color: var(--text-muted); }
.order-total {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1rem; font-size: 1.25rem; font-weight: 800;
}
.order-total .price { color: var(--primary); }

/* Plan selector */
.plan-selector { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.plan-option {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
    border: 2px solid var(--border); border-radius: var(--radius-md);
    cursor: pointer; transition: var(--transition); position: relative;
}
.plan-option:hover { border-color: var(--primary-light); }
.plan-option.selected { border-color: var(--primary); background: var(--primary-ultra-light); }
.plan-option input[type="radio"] { display: none; }
.plan-radio {
    width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: var(--transition);
}
.plan-option.selected .plan-radio { border-color: var(--primary); }
.plan-option.selected .plan-radio::after {
    content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
}
.plan-info { flex: 1; }
.plan-info h4 { font-weight: 600; font-size: 0.95rem; text-transform: capitalize; }
.plan-info p { font-size: 0.8rem; color: var(--text-muted); }
.plan-price { font-weight: 800; color: var(--primary); font-size: 1.1rem; }

/* ---- Success / Cancel Pages ---- */
.result-page {
    min-height: 80vh; display: flex; align-items: center; justify-content: center;
    padding: 7rem 2rem 4rem;
}
.result-card {
    max-width: 550px; width: 100%; text-align: center; padding: 3rem;
    border-radius: var(--radius-xl); background: var(--surface-elevated);
    border: 1px solid var(--border-light); box-shadow: var(--shadow-xl);
}
.result-icon {
    width: 80px; height: 80px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 2rem;
    margin: 0 auto 1.5rem;
}
.result-icon.success { background: #ecfdf5; color: var(--success); }
.result-icon.error { background: #fef2f2; color: var(--danger); }
.result-card h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.result-card p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.result-details {
    text-align: left; background: var(--surface-alt); padding: 1.25rem;
    border-radius: var(--radius-md); margin-bottom: 2rem;
}
.result-details .row {
    display: flex; justify-content: space-between; padding: 0.4rem 0;
    font-size: 0.9rem;
}
.result-details .row .label { color: var(--text-muted); }
.result-details .row .value { font-weight: 600; }

/* ---- Footer ---- */
.store-footer { background: var(--secondary); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo {
    display: flex; align-items: center; gap: 0.5rem; color: #fff;
    font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem;
}
.footer-logo i { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.08); display: flex; align-items: center;
    justify-content: center; color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-links-group h4 { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: 1rem; }
.footer-links-group a, .footer-links-group p {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem;
}
.footer-links-group a:hover { color: var(--accent); }
.footer-links-group i { font-size: 0.85rem; opacity: 0.5; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .course-hero-grid { grid-template-columns: 1fr; }
    .course-content-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--secondary);
        padding: 1.5rem; gap: 1rem; }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .nav-actions { display: none; }
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 1.75rem; }
    .courses-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-4px); }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}