/* ========================================
   GENERAL STYLES AND VARIABLES
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #0B0F1A;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --accent-primary: #b272ed;
    --accent-secondary: #c45aef;
    --accent-tertiary: #6A5AE0;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #9CA3AF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9d00ff 0%, #431758 100%);
    --gradient-secondary: linear-gradient(135deg, #9d00ff 0%, #431758 100%);
    --gradient-bg: linear-gradient(180deg, #0B0F1A 0%, #111827 100%);

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* Sizes */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 181, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 181, 255, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 181, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 181, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

/* Breadcrumbs */
.breadcrumb-section {
    padding: 100px 0 0 0;
    margin-bottom: -30px;
    overflow-x: auto;
    overflow-y: hidden;
}

.breadcrumb-section::-webkit-scrollbar {
    height: 4px;
}

.breadcrumb-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.breadcrumb-section::-webkit-scrollbar-thumb {
    background: rgba(0, 181, 255, 0.3);
    border-radius: 4px;
}

.breadcrumb-section::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 181, 255, 0.5);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 181, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(0, 181, 255, 0.15);
    width: fit-content;
    min-width: min-content;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    white-space: nowrap;
}

.breadcrumb-nav:hover {
    background: rgba(0, 181, 255, 0.08);
    border-color: rgba(0, 181, 255, 0.25);
    box-shadow: var(--shadow-sm);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

.breadcrumb-item:not(.active):hover {
    color: var(--accent-primary);
    background: rgba(0, 181, 255, 0.1);
}

.breadcrumb-item i {
    font-size: 0.9rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(0, 181, 255, 0.15);
    padding: 0.25rem 0.75rem;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.6;
    flex-shrink: 0;
}

.breadcrumb-separator i {
    color: var(--text-muted);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(11, 15, 26, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-academy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--text-primary) !important;
    font-weight: 600;
}

.nav-link-academy::after {
    display: none;
}

.nav-link-academy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 181, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

/* Slider in hero */
.hero-slider {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
}

.slider-container {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.slide-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
    color: white;
}



.slide-info p {
    color: var(--text-secondary);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 181, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.slider-btn:hover {
    background: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 6px;
}

/* AI Assistant */
.hero-right {
    position: sticky;
    top: 100px;
}

.ai-assistant {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 181, 255, 0.2);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-title h3 {
    font-size: 1.2rem;
    font-family: var(--font-secondary);
    margin-bottom: 0.25rem;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ai-status i {
    color: #10B981;
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.ai-chat-window {
    height: auto;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
}

.hero-video {
    width: 100%;
}

@media (min-width: 1025px) {
    .hero-video {
        width: 78%;
        margin-left: 34px;
    }
}

.ai-chat-window::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.ai-chat-window::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

.ai-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-content {
    flex: 1;
}

.ai-message-content p {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.ai-message-content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.ai-message-content li {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.ai-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ai-input-area {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ai-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.ai-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 181, 255, 0.1);
}

.ai-input::placeholder {
    color: var(--text-muted);
}

.ai-send-btn {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.ai-send-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ai-suggestion-btn {
    background: rgba(0, 181, 255, 0.1);
    border: 1px solid rgba(0, 181, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.ai-suggestion-btn:hover {
    background: rgba(0, 181, 255, 0.2);
    border-color: var(--accent-primary);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline-primary:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

.btn-course {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

/* ========================================
   STATISTICS
   ======================================== */

.stats-section {
    padding: 80px 0;
    background: rgba(0, 181, 255, 0.03);
    border-top: 1px solid rgba(0, 181, 255, 0.1);
    border-bottom: 1px solid rgba(0, 181, 255, 0.1);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ========================================
   SECTIONS AND HEADINGS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

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

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   CATEGORIES
   ======================================== */

.categories-section {
    padding: 80px 0;
}

.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    background: rgba(0, 181, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.category-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-primary);
}

/* ========================================
   COURSES
   ======================================== */

.featured-courses-section {
    padding: 80px 0;
}

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

.course-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    overflow: visible;
    /* Changed from hidden to visible */
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    /* Added slight scaling */
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
    z-index: 10;
    /* So card is above others on hover */
}

.course-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    /* Keep overflow: hidden only for image */
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.course-badge.badge-new {
    background: var(--gradient-secondary);
}

.course-content {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.course-category,
.course-level {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.course-category i {
    color: var(--accent-primary);
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.course-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.course-stats span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.course-stats i {
    color: var(--accent-primary);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-action {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.btn-course-start {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-course-start:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-course-start i {
    font-size: 1.1rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-rating i {
    color: #FFA500;
    font-size: 0.9rem;
}

.course-rating span {
    margin-left: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   BENEFITS
   ======================================== */

.benefits-section {
    padding: 80px 0;
    background: rgba(0, 181, 255, 0.02);
}

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

.benefit-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-section {
    padding: 80px 0;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.testimonial-card {
    min-width: calc(33.333% - 1.5rem);
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    flex-shrink: 0;
    width: 31%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #FFA500;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Carousel control buttons */
.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 181, 255, 0.1);
    border: 1px solid rgba(0, 181, 255, 0.3);
    border-radius: 50%;
    color: var(--accent-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: rgba(0, 181, 255, 0.1);
    color: var(--accent-primary);
    transform: scale(1);
}

/* ========================================
   FAQ
   ======================================== */

.faq-section {
    padding: 80px 0;
    background: rgba(0, 181, 255, 0.02);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--bg-primary);
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-primary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

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

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-links i {
    color: var(--accent-primary);
}

.footer-legal {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* ========================================
   "SCROLL TO TOP" BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   RESPONSIVENESS
   ======================================== */

/* Styles for page headers */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(0, 181, 255, 0.1) 0%, rgba(106, 90, 224, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 181, 255, 0.2);
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Catalog */
.catalog-section {
    padding: 80px 0;
}

.catalog-filters {
    margin-bottom: 3rem;
}

.filters-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
}

.catalog-results {
    margin-top: 3rem;
}

.results-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-count {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Product page */
.product-section {
    padding: 80px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-image-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-main-image {
    width: 100%;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 181, 255, 0.2);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Prices */
.product-pricing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(0, 181, 255, 0.05);
    border-radius: var(--border-radius-large);
    border: 2px solid rgba(0, 181, 255, 0.2);
    margin-bottom: 0;
}

.price-current {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-original {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Main course enrollment button */
.product-main-cta {
    margin-bottom: 0;
}

.btn-course-enroll {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-course-enroll:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-course-enroll i {
    font-size: 1.3rem;
}

/* Marketing Description */
.product-marketing-description {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(0, 181, 255, 0.15);
    line-height: 1.8;
}

.product-marketing-description h1,
.product-marketing-description h2,
.product-marketing-description h3,
.product-marketing-description h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.product-marketing-description h2 {
    font-size: 1.8rem;
}

.product-marketing-description h3 {
    font-size: 1.5rem;
}

.product-marketing-description p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-marketing-description ul,
.product-marketing-description ol {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.product-marketing-description li {
    margin-bottom: 0.5rem;
}

.product-marketing-description a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

.product-marketing-description a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    line-height: 1.3;
    margin: 1rem 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-stars {
    display: flex;
    gap: 0.3rem;
}

.product-stars i {
    color: #FFA500;
    font-size: 1.2rem;
}

.product-rating-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.product-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-stat i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.product-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-description {
    padding: 2rem 0;
}

.product-description h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.product-description-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-cta {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
}

.product-features {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    border: 1px solid rgba(0, 181, 255, 0.2);
}

.product-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-feature-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    width: 24px;
}

.product-related {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-section {
        position: static;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-right {
        position: static;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {

    /* Breadcrumbs */
    .breadcrumb-section {
        padding: 90px 0 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb-section::-webkit-scrollbar {
        height: 4px;
    }

    .breadcrumb-section::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }

    .breadcrumb-section::-webkit-scrollbar-thumb {
        background: rgba(0, 181, 255, 0.5);
        border-radius: 2px;
    }

    .breadcrumb-nav {
        padding: 0.6rem 0.8rem;
        gap: 0.4rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: min-content;
        width: max-content;
    }

    .breadcrumb-item {
        font-size: 0.8rem;
        gap: 0.3rem;
        white-space: nowrap;
        padding: 0.2rem 0.4rem;
    }

    .breadcrumb-item i {
        font-size: 0.75rem;
    }

    .breadcrumb-item.active {
        max-width: 150px;
    }

    .breadcrumb-separator {
        font-size: 0.6rem;
    }

    /* Header */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(11, 15, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    /* Hero */
    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .slider-container {
        height: 300px;
    }

    .ai-chat-window {
        height: 250px;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Categories */
    .categories-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .category-tab {
        justify-content: center;
    }

    /* Courses */
    .courses-grid {
        grid-template-columns: 1fr;
    }

    /* Statistics */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 100%;
    }

    .testimonials-track {
        gap: 1rem;
    }

    /* CTA */
    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .slider-container {
        height: 250px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .course-card {
        border-radius: var(--border-radius);
    }

    .ai-suggestions {
        flex-direction: column;
    }

    .ai-suggestion-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth appearance of elements on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness for product and catalog pages */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .product-container {
        grid-template-columns: 1fr;
    }

    .product-image-section {
        position: static;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-cta {
        flex-direction: column;
    }

    .product-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Responsive styles for prices */
    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .price-current {
        font-size: 2.5rem;
    }

    .price-original {
        font-size: 1.5rem;
    }

    .btn-course-enroll {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }

    .product-marketing-description {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
}


/* ========================================
   ORDER CHECKOUT PAGE
   ======================================== */

.order-section {
    padding: 80px 0;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

/* Order summary */
.order-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-summary-title i {
    color: var(--accent-primary);
}

.order-product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    border: 1px solid rgba(0, 181, 255, 0.2);
    margin-bottom: 1.5rem;
}

.order-product-image {
    position: relative;
    width: 100%;
    height: 250px;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-product-info {
    padding: 1.5rem;
}

.order-product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.order-product-category i {
    color: var(--accent-primary);
}

.order-product-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.order-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-product-rating i {
    color: #FFA500;
    font-size: 0.9rem;
}

.order-product-rating span {
    color: var(--text-muted);
    font-weight: 600;
}

.order-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-feature-item i {
    color: var(--accent-primary);
}

/* Prices in order */
.order-pricing {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    border: 1px solid rgba(0, 181, 255, 0.2);
    margin-bottom: 1.5rem;
}

.order-price-row,
.order-discount-row,
.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.order-price-row {
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-discount-row {
    color: #10B981;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-discount-value {
    font-weight: 600;
}

.order-total-row {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    padding-top: 1rem;
}

.order-total-value {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Guarantees */
.order-guarantees {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-guarantee-item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* Order form */
.order-form-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    border: 1px solid rgba(0, 181, 255, 0.2);
}

.order-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-form-title i {
    color: var(--accent-primary);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.required {
    color: #EF4444;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 181, 255, 0.1);
}

.form-input-error {
    border-color: #EF4444;
}

.form-input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    display: block;
    color: #EF4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
}

.form-checkbox-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

.form-checkbox-label a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-footer-note i {
    color: var(--accent-primary);
}

/* Modal window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-container {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    max-width: 500px;
    width: 100%;
    border: 2px solid rgba(0, 181, 255, 0.3);
    box-shadow: var(--shadow-glow);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-icon {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-footer {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
}

.modal-footer .btn {
    min-width: 150px;
}


/* Responsiveness for order page */
@media (max-width: 1024px) {
    .order-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .order-form-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-product-image {
        height: 200px;
    }

    .modal-container {
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* ========================================
   ORDER CHECKOUT PAGE
   ======================================== */

.order-section {
    padding: 80px 0;
}

.order-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.section-title-small {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Order form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.required {
    color: #FF6B6B;
}

.form-input {
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 181, 255, 0.05);
}

.form-input.invalid {
    border-color: #FF6B6B;
}

.form-error {
    color: #FF6B6B;
    font-size: 0.85rem;
    display: none;
    margin-top: 0.25rem;
}

.form-group.invalid .form-error,
.form-group-checkbox.invalid .form-error {
    display: block;
}

/* Checkboxes */
.form-group-checkbox {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: var(--bg-card);
    position: relative;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked~.checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
}

.checkbox-label input[type="checkbox"]:checked~.checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
}

.checkbox-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.checkbox-text a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Submit button */
.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: var(--accent-primary);
}

/* Order summary */
.order-summary-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    border: 1px solid rgba(0, 181, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.order-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.order-course-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.order-course-image {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
}

.order-course-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-course-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.order-course-category i {
    color: var(--accent-primary);
}

.order-course-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.order-course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-course-rating i {
    color: #FFA500;
    font-size: 0.9rem;
}

.order-course-rating span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-course-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.order-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-feature i {
    color: var(--accent-primary);
}

.order-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-row-original {
    opacity: 0.7;
}

.price-strikethrough {
    text-decoration: line-through;
    color: var(--text-muted);
}

.price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.order-savings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--border-radius);
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.95rem;
}

.order-savings i {
    font-size: 1.1rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.order-total span:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.order-total-amount {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.order-guarantees {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.guarantee-item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
    width: 20px;
}

/* Modal window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    border: 1px solid rgba(0, 181, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.modal-icon i {
    font-size: 2.5rem;
    color: #FF9800;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--text-primary);
}

.modal-body {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.modal-footer .btn {
    min-width: 150px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .order-container {
        grid-template-columns: 1fr;
    }

    .order-summary-section {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-course-features {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 2rem;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
    }

    .modal-icon i {
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   ORDER PAGE
   ======================================== */

.order-section {
    padding: 80px 0;
}

.order-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
}

.order-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.order-section-title i {
    color: var(--accent-primary);
    font-size: 1.3rem;
}

/* Course information */
.order-course-info {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-course-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    border: 1px solid rgba(0, 181, 255, 0.2);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.order-course-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.order-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-course-details {
    padding: 1.5rem;
}

.order-course-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.order-course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-course-rating i {
    color: #FFA500;
    font-size: 0.9rem;
}

.order-course-rating span {
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.25rem;
}

.order-course-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-course-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-course-stats i {
    color: var(--accent-primary);
    width: 20px;
}

.order-price-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-price-original {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.order-price-current {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Order summary */
.order-summary {
    background: rgba(0, 181, 255, 0.05);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(0, 181, 255, 0.2);
    padding: 1.5rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.order-summary-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 1rem;
}

/* Order form */
.order-form-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    border: 1px solid rgba(0, 181, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-label i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.form-input {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 181, 255, 0.1);
}

.form-input.valid {
    border-color: #10B981;
}

.form-input.invalid {
    border-color: #EF4444;
}

.form-error {
    font-size: 0.85rem;
    color: #EF4444;
    display: none;
    margin-top: -0.25rem;
}

.form-group.invalid .form-error {
    display: block;
}

.form-checkbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    width: 90%;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.form-checkbox label {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-checkbox label a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

.form-checkbox label a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.form-checkbox.invalid label {
    color: #EF4444;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
}

.order-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
    color: #10B981;
    font-size: 0.9rem;
    text-align: center;
}

.order-security-note i {
    font-size: 1rem;
}

/* Modal window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-large);
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    border: 2px solid rgba(0, 181, 255, 0.3);
    box-shadow: var(--shadow-glow);
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon i {
    font-size: 2.5rem;
    color: #FBB F24;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-message {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-close-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsiveness for order page */
@media (max-width: 1024px) {
    .order-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-course-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .order-section {
        padding: 60px 0;
    }

    .order-form-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-course-title {
        font-size: 1.1rem;
    }

    .order-price-current {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
    }

    .modal-icon i {
        font-size: 2rem;
    }
}

/* DETAILS */
.contact-h2 {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.6rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--border-radius-large);
    padding: 16px;
    box-shadow: var(--shadow-md);
}

.contact-line {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin: .5rem 0;
}

.contact-line i {
    color: var(--accent-primary);
    margin-top: .2rem;
}

/* Email Copy Feedback */
.copy-email-wrapper {
    position: relative;
    display: inline-block;
}

.copy-feedback {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120%;
    background: #8e44ad;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.visible {
    display: block;
    opacity: 1;
}

.copy-feedback::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #8e44ad transparent transparent transparent;
}

@media (max-width: 768px) {
    .ai-chat-window {
        max-height: 250px;
    }
}