/* =========================
   GLOBAL RESET & BASE
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111;
}

/* =========================
   ACCENT VARIABLES
========================= */
:root {
    --accent: #7a3cff;      /* Signauto purple */
    --soft-gray: #f4f5f7;
    --text-muted: #666;
    --border-radius: 18px;
}

/* =========================
   TOP NAVIGATION (LOCKED)
========================= */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 96px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-sub {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-right a {
    font-size: 13px;              /* ← smaller, premium */
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #111;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-right a:hover {
    background: rgba(122, 60, 255, 0.12);
    color: var(--accent);
}

/* =========================
   WELCOME PAGE LAYOUT
========================= */
.welcome-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* =========================
   WELCOME CARD
========================= */
.welcome-card {
    max-width: 520px;
    background: #ffffff;
    padding: 48px 40px;
    border-radius: var(--border-radius);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
    text-align: center;
    z-index: 2;
}

.welcome-card h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.welcome-card .accent {
    color: var(--accent);
}

.welcome-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* =========================
   ACTION BUTTONS
========================= */
.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn-primary,
.btn-secondary {
    display: block;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 30px rgba(122, 60, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(122, 60, 255, 0.45);
}

.btn-secondary {
    background: var(--soft-gray);
    color: #111;
}

.btn-secondary:hover {
    background: #e9ebef;
    transform: translateY(-1px);
}

/* =========================
   AI ORB (FUTURISTIC TOUCH)
========================= */
.ai-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%,
            rgba(122, 60, 255, 0.45),
            rgba(122, 60, 255, 0.15),
            transparent 60%);
    filter: blur(8px);
    top: 10%;
    right: -80px;
    animation: floatOrb 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatOrb {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* =========================
   MOBILE TUNING
========================= */
@media (max-width: 600px) {
    .welcome-card {
        padding: 36px 26px;
    }

    .welcome-card h1 {
        font-size: 26px;
    }

    .ai-orb {
        width: 180px;
        height: 180px;
        right: -60px;
    }
}
/* =========================
   COURSES PAGE
========================= */
.courses-container {
    padding: 40px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.courses-header {
    margin-bottom: 32px;
}

.courses-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.courses-header p {
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.6;
}

/* =========================
   COURSE GRID
========================= */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* =========================
   COURSE CARD
========================= */
.course-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: #111;
    overflow: hidden;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.10),
        0 2px 0 rgba(0, 0, 0, 0.06);
}

/* =========================
   COURSE THUMBNAIL
========================= */
.course-thumb {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

/* =========================
   COURSE INFO
========================= */
.course-info {
    padding: 20px 18px 22px;
}

.course-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.course-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================
   MOBILE TWEAKS
========================= */
@media (max-width: 600px) {
    .courses-container {
        padding: 28px 18px 60px;
    }

    .course-thumb {
        height: 140px;
    }
}
/* =========================
   PATH PAGE
========================= */
.path-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.path-hero {
    margin-bottom: 48px;
}

.path-hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.path-hero p {
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================
   PATH SECTIONS
========================= */
.path-section {
    margin-bottom: 56px;
}

.path-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* =========================
   MODULE CARD
========================= */
.module-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 28px 26px 30px;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
}

/* =========================
   LESSON LIST
========================= */
.lesson-list {
    list-style: none;
    margin-bottom: 28px;
}

.lesson-list li {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

.lesson-list li:last-child {
    border-bottom: none;
}

/* =========================
   SMALL BUTTON VARIANT
========================= */
.btn-primary.small {
    display: inline-block;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(122, 60, 255, 0.35);
}

.btn-primary.small:hover {
    box-shadow: 0 14px 30px rgba(122, 60, 255, 0.45);
}

/* =========================
   MOBILE TUNING
========================= */
@media (max-width: 600px) {
    .path-container {
        padding: 32px 18px 60px;
    }

    .path-hero h1 {
        font-size: 26px;
    }

    .path-section h2 {
        font-size: 20px;
    }

    .module-card {
        padding: 22px 20px 24px;
    }
}
/* =========================
   COURSE PAGE
========================= */
.course-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* =========================
   VIDEO SECTION
========================= */
.video-section {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.video-section video {
    width: 100%;
    max-width: 900px;              /* ← controls visual size */
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--border-radius);
    background: #000;
    object-fit: contain;
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.10),
        0 2px 0 rgba(0, 0, 0, 0.06);
}


/* =========================
   COURSE CONTENT LAYOUT
========================= */
.course-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
}

/* =========================
   LESSON SIDEBAR
========================= */
.lesson-sidebar {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 22px 20px;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
}

.lesson-sidebar h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.lesson-sidebar ul {
    list-style: none;
}

.lesson-sidebar li {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lesson-sidebar li:hover {
    background: var(--soft-gray);
}

.lesson-sidebar li.active {
    background: rgba(122, 60, 255, 0.12);
    color: var(--accent);
    font-weight: 600;
}

/* =========================
   LESSON MAIN CONTENT
========================= */
.lesson-main {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px 28px;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
}

.lesson-main h2 {
    font-size: 24px;
    margin-bottom: 14px;
}

.lesson-main p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 640px;
}

/* =========================
   MOBILE LAYOUT
========================= */
@media (max-width: 800px) {
    .course-content {
        grid-template-columns: 1fr;
    }

    .lesson-sidebar {
        order: 2;
    }

    .lesson-main {
        order: 1;
    }
}
/* =========================
   AI TUTOR PAGE
========================= */
.ai-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
    position: relative;
    overflow: hidden;
}

.ai-panel {
    max-width: 560px;
    width: 100%;
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 36px 32px 34px;
    text-align: center;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(0, 0, 0, 0.04);
    z-index: 2;
}

.ai-panel h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.ai-subtitle {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* =========================
   CHAT
========================= */
.ai-chat {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    text-align: left;
}

.chat-message {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}

.chat-message.ai {
    background: rgba(122, 60, 255, 0.12);
    color: #111;
}

.chat-message.user {
    background: var(--soft-gray);
    align-self: flex-end;
}

/* =========================
   INPUT
========================= */
.ai-input {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.ai-input input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.ai-input button {
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.6;
}

/* =========================
   FOOTNOTE
========================= */
.ai-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* =========================
   AI ORB LARGE
========================= */
.ai-orb.large {
    width: 320px;
    height: 320px;
    top: 8%;
    left: -120px;
}
/* =========================
   NAV LOGO
========================= */
.nav-logo {
    height: 271px;          /* ← bigger, more presence */
    width: auto;
    display: block;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .nav-inner {
        height: 76px;
        padding: 0 20px;
    }

    .nav-right a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* =========================
   COURSE FILTERS
========================= */
.course-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter {
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter.active,
.filter:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
/* =========================
   FLOATING AI ROBOT ASSISTANT
========================= */
.assistant-robot {
    position: fixed;
    bottom: 80px;
    right: 80px;
    width: 120px;
    cursor: pointer;
    z-index: 999;
    animation: floatRobot 6s ease-in-out infinite;
}

/* Robot image */
.assistant-robot img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0,0,0,0.25));
}

/* Floating motion */
@keyframes floatRobot {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-14px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* =========================
   SPEECH BUBBLE
========================= */
.assistant-bubble {
    position: absolute;
    bottom: 100%;
    right: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
    color: #333;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    white-space: nowrap;
    display: none;
}

/* Bubble pop animation */
.assistant-robot:hover .assistant-bubble {
    display: block;
    animation: bubblePop 0.25s ease-out;
}

@keyframes bubblePop {
    0% {
        transform: translateY(6px) scale(0.96);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* =========================
   ROBOT INTRO ANIMATION
========================= */
.assistant-robot.intro {
    animation:
        robotIntro 1.8s ease-out forwards,
        floatRobot 6s ease-in-out infinite 2s;
}

@keyframes robotIntro {
    0% {
        transform: translate(-40vw, -30vh) scale(0.6);
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

/* =========================
   MOBILE TUNING
========================= */
@media (max-width: 600px) {
    .assistant-robot {
        width: 88px;
        bottom: 60px;
        right: 20px;
    }
}
/* =========================
   MOBILE NAV (STACKED & CENTERED)
========================= */
@media (max-width: 600px) {

    .top-nav {
        height: auto;
        padding: 12px 0 16px;
    }

    .nav-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        height: auto;
        padding: 0 16px;
    }

    .nav-left {
        justify-content: center;
        width: 100%;
    }

	.nav-logo {
		height: 48px;          /* layout size */
		width: auto;
		display: block;
		transform-origin: center;
	}

    .nav-right {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
    }

    .nav-right a {
        font-size: 12px;
        padding: 6px 12px;
    }
}
@media (max-width: 600px) {

    .nav-logo {
        transform: scale(3.35);        /* reasonable visual scale */
        pointer-events: none;          /* ← THIS FIXES CLICK ISSUE */
    }
}




