/* ===================================================
   COMPUTER SCIENCE & AI COACHING — MAIN STYLESHEET
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #48182F;
    --primary-dark: #3a1226;
    --primary-light: #5e2240;
    --primary-glow: rgba(72, 24, 47, 0.12);
    --secondary: #2d0f1e;
    --accent: #8B3A5C;
    --accent-dark: #6e2d48;
    --success: #48182F;
    --purple: #5e2240;
    --moonstone: #D4CBC4;
    --moonstone-dark: #c4b9b1;
    --moonstone-light: #e8e3df;
    --white: #ffffff;
    --gray-50: #f5f2f0;
    --gray-100: #ede8e5;
    --gray-200: #D4CBC4;
    --gray-300: #b8ada5;
    --gray-400: #8c7f77;
    --gray-500: #6b5e56;
    --gray-600: #524540;
    --gray-700: #3d332e;
    --gray-800: #2d0f1e;
    --gray-900: #1e0a14;
    --font-primary: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--gray-900);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section Base ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(72, 24, 47, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 24, 47, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 12px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--gray-900);
    font-weight: 500;
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-logo strong {
    font-weight: 800;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius);
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f2f0 0%, #ede8e5 50%, #D4CBC4 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(72, 24, 47, 0.08);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: rgba(72, 24, 47, 0.06);
    bottom: -100px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(212, 203, 196, 0.4);
    top: 40%;
    left: 30%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title-line {
    display: block;
    color: var(--gray-900);
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 480px;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255,255,255,0.3);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== CODE EDITOR (Hero) ========== */
.code-editor {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 30px 60px rgba(72, 24, 47, 0.25), 0 0 0 1px rgba(72, 24, 47, 0.08);
    animation: fadeInRight 1s ease 0.3s both;
}

.editor-header {
    background: #1e0a14;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.editor-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.editor-tab {
    background: rgba(255,255,255,0.08);
    padding: 5px 16px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--moonstone);
    font-weight: 500;
}

.editor-body {
    background: #2d0f1e;
    padding: 20px 0;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.88rem;
    line-height: 1.75;
    min-height: 280px;
}

.code-line {
    padding: 0 20px;
    display: flex;
    white-space: pre;
    transition: background 0.2s;
}

.code-line:hover {
    background: rgba(255,255,255,0.03);
}

.line-num {
    display: inline-block;
    width: 32px;
    color: rgba(212, 203, 196, 0.25);
    text-align: right;
    margin-right: 16px;
    flex-shrink: 0;
    user-select: none;
    font-size: 0.8rem;
}

.code-keyword { color: #e06c9a; font-weight: 600; }
.code-class { color: #f0c674; }
.code-func { color: #81a2be; }
.code-param { color: #cc6666; }
.code-string { color: #b5bd68; }
.code-comment { color: rgba(212, 203, 196, 0.35); font-style: italic; }

.cursor-blink {
    color: var(--moonstone);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

.editor-terminal {
    background: #1a0812;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 1px solid rgba(212, 203, 196, 0.08);
    font-family: monospace;
    font-size: 0.85rem;
}

.terminal-prompt {
    color: #e06c9a;
    font-weight: 700;
}

.terminal-output {
    animation: fadeInUp 0.5s ease 1.5s both;
}

/* Floating language badges */
.floating-badge {
    position: absolute;
    padding: 8px 18px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.badge-py {
    top: -16px;
    right: -20px;
    background: #3572A5;
    color: #fff;
    animation-delay: 0s;
}

.badge-java {
    top: 50%;
    right: -40px;
    background: #f89820;
    color: #fff;
    animation-delay: 1s;
}

.badge-sql {
    bottom: 60px;
    left: -30px;
    background: #336791;
    color: #fff;
    animation-delay: 2s;
}

.badge-ai {
    top: 20%;
    left: -35px;
    background: var(--primary);
    color: #fff;
    animation-delay: 0.5s;
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
}

/* ========== BOARDS TICKER ========== */
.boards-ticker {
    background: var(--primary);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 50px;
    animation: ticker 25s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.ticker-item i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ========== COURSES ========== */
.courses {
    background: var(--gray-50);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.course-card-featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f5f0ed 0%, var(--white) 100%);
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.course-card-featured .course-icon {
    background: rgba(72, 24, 47, 0.1);
}

.course-card-featured .course-icon i {
    color: var(--primary);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.badge-green { background: #6b4a3a; }
.badge-purple { background: var(--primary-light); }
.badge-gold { background: var(--accent); }

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.course-classes {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.course-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.course-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 5px 12px;
    border-radius: 50px;
}

.course-meta-item i {
    font-size: 0.7rem;
    color: var(--primary);
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.course-highlights li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* ========== WHY US / FEATURES ========== */
.why-us {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ========== ABOUT ========== */
.about {
    background: var(--gray-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}


.about-image img {
    width: 100%;
    height: auto;
}

/* ========== ABOUT — Profile Card Creative ========== */
.about-visual {
    display: flex;
    justify-content: center;
}

.profile-card-creative {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(72, 24, 47, 0.15), 0 0 0 1px rgba(72, 24, 47, 0.06);
    text-align: center;
    position: relative;
}

.profile-header-bg {
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, #5e2240 60%, #8B3A5C 100%);
    position: relative;
    overflow: hidden;
}

.profile-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.04) 2px, transparent 2px);
    background-size: 30px 30px, 40px 40px, 50px 50px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8B3A5C);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 12px;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.profile-avatar i {
    font-size: 2rem;
    color: var(--white);
}

.profile-name {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.profile-title {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

/* Tech orbit */
.profile-tech-stack {
    padding: 10px 24px 24px;
}

.tech-orbit {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.tech-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(72, 24, 47, 0.3);
}

.tech-center span {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.tech-center small {
    font-size: 0.65rem;
    color: var(--moonstone);
    font-weight: 500;
}

.tech-orbit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1.5px dashed var(--gray-200);
    animation: spin 20s linear infinite;
}

.tech-item {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    z-index: 3;
    animation: spin-reverse 20s linear infinite;
}

.tech-1 { top: 0; left: 50%; transform: translateX(-50%); }
.tech-2 { top: 25%; right: 0; }
.tech-3 { bottom: 25%; right: 0; }
.tech-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.tech-5 { bottom: 25%; left: 0; }
.tech-6 { top: 25%; left: 0; }

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Degree chips */
.profile-degrees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 24px 20px;
}

.degree-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.degree-chip i {
    font-size: 0.7rem;
    color: var(--primary);
}

.degree-chip-highlight {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.degree-chip-highlight i {
    color: var(--moonstone);
}

/* Activity bars */
.profile-activity {
    padding: 20px 24px 28px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.activity-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.activity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #8B3A5C);
    border-radius: 3px;
    transition: width 1.5s ease;
}

.activity-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 14px;
}

.activity-labels:last-child {
    margin-bottom: 0;
}

.about-content .section-tag {
    margin-bottom: 8px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 6px;
    background: none;
    -webkit-text-fill-color: var(--gray-900);
}

.about-role {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-description {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.about-qualifications {
    margin-bottom: 28px;
}

.about-qualifications h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.about-qualifications h4 i {
    color: var(--primary);
}

.about-qualifications ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-qualifications li {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.about-experience {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.exp-item {
    text-align: center;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    flex: 1;
}

.exp-number {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.exp-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #8B3A5C;
    font-size: 0.9rem;
}

.testimonial-card > p {
    color: var(--gray-600);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ========== FAQ ========== */
.faq {
    background: var(--gray-50);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(72, 24, 47, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gray-800);
    list-style: none;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-item summary i {
    font-size: 0.8rem;
    color: var(--gray-400);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 600;
}

/* ========== CONTACT ========== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

.google-qr-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--gray-50);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.google-qr-card:hover {
    box-shadow: var(--shadow-md);
}

.google-qr-card img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    flex-shrink: 0;
}

.google-qr-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.google-qr-card p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-map {
    margin-top: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--gray-800);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(72, 24, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #2d0f1e 100%);
    padding: 60px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-brand .nav-logo {
    color: var(--white);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer ul a,
.footer ul li {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--white);
}

.footer ul li i {
    font-size: 0.85rem;
    color: var(--primary-light);
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    z-index: 99;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* ========== HERO HIGHLIGHTS ========== */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    background: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
}

.hero-highlight i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ========== RESULTS SECTION ========== */
.results {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.results::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.results .section-tag {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.results .section-header h2 {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

.results .section-header p {
    color: rgba(255,255,255,0.7);
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.result-stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.result-stat-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.result-stat-icon {
    font-size: 1.5rem;
    color: var(--moonstone);
    margin-bottom: 12px;
}

.result-stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 6px;
}

.result-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.top-performers {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.performers-title {
    text-align: center;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 32px;
}

.performers-title i {
    color: var(--moonstone);
    margin-right: 6px;
}

.performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.performer-card {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.performer-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.performer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.performer-avatar i {
    color: var(--moonstone);
    font-size: 1.1rem;
}

.performer-score {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.performer-score::after {
    content: '/100';
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    margin-left: 2px;
}

.performer-card strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-top: 8px;
}

.performer-card span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* ========== DEMO SECTION ========== */
.demo-section {
    background: var(--gray-50);
}

.demo-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.demo-content .section-tag {
    margin-bottom: 12px;
}

.demo-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: none;
    -webkit-text-fill-color: var(--gray-900);
}

.demo-content > p {
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.demo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
}

.demo-features li i {
    color: var(--primary);
    font-size: 0.85rem;
}

.demo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.demo-icon-big {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-icon-big i {
    font-size: 4rem;
    color: var(--primary);
}

.demo-badge-float {
    position: absolute;
    top: 10px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(72, 24, 47, 0.3);
    animation: bounce 2s infinite;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3), 0 0 0 12px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5); }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-container { gap: 40px; }
    .about-container { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Results */
    .results-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .top-performers { padding: 24px; }
    .performers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Demo */
    .demo-card { grid-template-columns: 1fr; padding: 32px; text-align: center; }
    .demo-features { grid-template-columns: 1fr; text-align: left; }
    .demo-visual { display: none; }

    /* Hero highlights */
    .hero-highlights { justify-content: center; }

    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
        display: flex;
        margin-top: 8px;
    }

    /* Hero */
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-description { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-stats { justify-content: center; gap: 28px; }
    .hero-image-wrapper { max-width: 360px; margin: 0 auto; }
    .code-editor { max-width: 100%; margin: 0 auto; }
    .floating-badge { display: none; }
    .hero-scroll-indicator { display: none; }

    /* Sections */
    .section { padding: 70px 0; }
    .section-header h2 { font-size: 2rem; }
    .section-header { margin-bottom: 40px; }

    /* About */
    .about-container { grid-template-columns: 1fr; text-align: center; }
    .about-image { max-width: 400px; margin: 0 auto; }
    .about-visual { margin: 0 auto; }
    .about-qualifications ul { justify-content: center; }
    .about-content .btn { display: inline-flex; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }

    /* CTA */
    .cta-container { flex-direction: column; text-align: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-highlights { flex-direction: column; align-items: center; }
    .about-experience { flex-direction: column; gap: 12px; }
    .contact-form { padding: 24px; }
    .courses-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .results-stats { grid-template-columns: 1fr 1fr; }
    .result-stat-number { font-size: 2rem; }
    .editor-body { font-size: 0.75rem; min-height: 220px; }
    .code-line { padding: 0 12px; }
    .line-num { width: 24px; margin-right: 10px; }
    .performers-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-card { padding: 24px; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 420px;
}

.toast-notification.toast-visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: linear-gradient(135deg, #48182F, #5e2240);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast-notification i:first-child {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-notification span {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--white);
}

@media (max-width: 480px) {
    .toast-notification {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}
