@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
    --primary: #4F6EF7;
    --primary-glow: rgba(79, 110, 247, 0.35);
    --accent: #A855F7;
    --accent2: #06B6D4;
    --text-main: #0F0F1A;
    --text-muted: #64748B;
    --bg-white: #ffffff;
    --bg-offset: #F8F9FF;
    --border: rgba(79, 110, 247, 0.15);
    --radius: 16px;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.9);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background: #fafbff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated gradient mesh background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(79, 110, 247, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(168, 85, 247, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 60% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
p,
span,
label,
input,
textarea,
.tag,
.badge,
.footer-links a,
.copyright,
.nav-tooltip,
.lang-option,
.project-info p,
.product-features li,
.pricing-card ul li,
.book-title,
.intro-p,
.tagline {
    font-family: 'Space Mono', monospace;
}

h1,
h2,
h3,
h4,
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal.active>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal.active>*:nth-child(2) {
    transition-delay: 0.12s;
}

.reveal.active>*:nth-child(3) {
    transition-delay: 0.19s;
}

.reveal.active>*:nth-child(4) {
    transition-delay: 0.26s;
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section.container {
    padding: 100px 24px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero-section {
    text-align: center;
    padding: 140px 24px 100px;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated orbs behind hero */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 110, 247, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -150px;
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -80px;
    right: -100px;
    animation: orbFloat 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* ═══════════════════════════════════════════
   LOGO & LANG SWITCHER
═══════════════════════════════════════════ */
.top-left-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
}

.top-left-logo img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(79, 110, 247, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.top-left-logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 20px rgba(79, 110, 247, 0.4));
}

.lang-switcher {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 150;
}

.lang-btn {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    transform: scale(1.1);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
    background: rgba(79, 110, 247, 0.08);
    color: var(--primary);
}

/* ═══════════════════════════════════════════
   HERO TYPOGRAPHY
═══════════════════════════════════════════ */
h1 {
    font-size: 88px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.0;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #0F0F1A 0%, #4F6EF7 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    cursor: default;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.tagline {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.intro-p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    max-width: 520px;
    line-height: 1.8;
}

/* Typing cursor */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--primary);
    margin-left: 3px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 8px 30px var(--primary-glow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-contact:hover::before {
    opacity: 1;
}

.btn-contact:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 40px var(--primary-glow);
}

.btn-contact span {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   SCROLL INDICATOR
═══════════════════════════════════════════ */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 44px;
    border: 2px solid rgba(79, 110, 247, 0.5);
    border-radius: 20px;
    /* Removed rotation/border-bottom from arrow style */
    border-bottom: 2px solid rgba(79, 110, 247, 0.5);
    border-right: 2px solid rgba(79, 110, 247, 0.5);
    border-top: 2px solid rgba(79, 110, 247, 0.5);
    border-left: 2px solid rgba(79, 110, 247, 0.5);
    animation: none;
    /* Mouse itself doesn't bounce */
    opacity: 0.8;
}

.scroll-indicator::after {
    content: '';
    display: block;
    /* Ensure visibility */
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 1.6s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        /* Slide down clearly */
    }
}

/* ═══════════════════════════════════════════
   SECTION TITLE
═══════════════════════════════════════════ */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0 auto 56px;
    /* Auto margin centers the table block */
    position: relative;
    display: table;
    /* Shrink to wrap text exactly for the underline */
    padding-bottom: 16px;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    transform-origin: center;
}

.reveal.active .section-title::after {
    transform: translateX(-50%) scaleX(1);
}

/* ═══════════════════════════════════════════
   PROJECT GRID
═══════════════════════════════════════════ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-radius: 20px;
    padding: 4px;
    background: linear-gradient(135deg, transparent, transparent);
    transition: background 0.4s ease, transform 0.4s ease;
}

.project-card:hover {
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.15), rgba(168, 85, 247, 0.1));
}

.image-box {
    background: var(--bg-offset);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
    aspect-ratio: 16/10;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.project-card:hover .image-box img {
    transform: scale(1.06);
}

.view-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.85), rgba(168, 85, 247, 0.75));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.view-overlay span {
    color: white;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(8px);
    transition: transform 0.4s ease;
    letter-spacing: 0.05em;
}

.project-card:hover .view-overlay {
    opacity: 1;
}

.project-card:hover .view-overlay span {
    transform: translateY(0);
}

.project-card:hover .image-box {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(79, 110, 247, 0.2);
    transform: translateY(-6px);
}

.project-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: var(--primary);
}

.project-info p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.tag-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(79, 110, 247, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(79, 110, 247, 0.2);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   PRODUCT SHOWCASE
═══════════════════════════════════════════ */
.product-showcase {
    background: linear-gradient(135deg, #0F0F1A 0%, #1a1040 50%, #0f1a40 100%);
    border-radius: 28px;
    padding: 64px;
    display: flex;
    align-items: center;
    gap: 60px;
    border: 1px solid rgba(79, 110, 247, 0.3);
    box-shadow: 0 40px 80px rgba(79, 110, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 110, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.product-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.product-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.product-content .tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 20px;
}

.product-content .desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
}

.badge {
    background: rgba(79, 110, 247, 0.25);
    color: #818CF8;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(79, 110, 247, 0.4);
    letter-spacing: 0.08em;
}

.product-features {
    list-style: none;
    margin: 20px 0 32px;
}

.product-features li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.product-features li::before {
    content: '✦';
    color: #818CF8;
    font-size: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 24px rgba(79, 110, 247, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(79, 110, 247, 0.5);
}

.product-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    animation: floatImage 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-16px) rotate(0.5deg);
    }
}

/* ═══════════════════════════════════════════
   BOOKS
═══════════════════════════════════════════ */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 32px;
}

.book-card {
    text-align: center;
    transition: var(--transition);
    perspective: 1000px;
}

.book-image-container {
    background: linear-gradient(135deg, #F8FAFF, #EEF2FF);
    padding: 28px;
    border-radius: 20px;
    margin-bottom: 16px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.book-card:hover .book-image-container::after {
    opacity: 1;
}

.book-image-container img {
    max-width: 120px;
    height: auto;
    border-radius: 6px;
    box-shadow: 8px 16px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: rotateY(-5deg);
}

.book-card:hover .book-image-container {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 24px 48px rgba(79, 110, 247, 0.15);
}

.book-card:hover img {
    transform: rotateY(0deg) scale(1.08);
    box-shadow: 12px 24px 48px rgba(0, 0, 0, 0.2);
}

.book-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.book-card:hover .book-title {
    color: var(--primary);
}

.btn-book {
    padding: 10px 24px;
    border: 1px solid var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    background: white;
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.1);
}

.book-card:hover .btn-book {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px var(--primary-glow);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 20px;
    /* space for .popular-tag that overflows above */
}

.pricing-card {
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: white;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
    /* Center Plan Names and Prices */
    /* overflow:hidden removed — was clipping the .popular-tag badge */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:not(.popular):hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 64px rgba(79, 110, 247, 0.12);
    border-color: rgba(79, 110, 247, 0.3);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.price {
    font-size: 36px;
    font-weight: 900;
    margin: 16px 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card ul {
    list-style: none;
    margin: 24px 0;
}

.pricing-card ul li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.pricing-card ul li::before {
    content: '✓';
    color: #10B981;
    font-weight: 800;
}

.btn-outline {
    display: block;
    text-align: center;
    border: 2px solid var(--border);
    color: var(--text-main);
    padding: 13px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-card:hover .btn-outline {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(79, 110, 247, 0.3);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(79, 110, 247, 0.15);
    background: linear-gradient(135deg, #fafbff, #f0f4ff);
}

.pricing-card.popular:hover {
    transform: scale(1.07) translateY(-10px);
    box-shadow: 0 40px 80px rgba(79, 110, 247, 0.2);
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.4);
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-box {
    background: linear-gradient(135deg, #F8FAFF, #EEF2FF);
    border-radius: 32px;
    padding: 80px;
    display: flex;
    align-items: center;
    gap: 80px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(79, 110, 247, 0.08);
}

.about-img {
    position: relative;
    flex-shrink: 0;
    width: 380px;
    /* Constrain width so it doesn't blow up */
    max-width: 100%;
}

.about-img img {
    width: 100%;
    border-radius: 24px;
    animation: profileFloat 4s ease-in-out infinite, profileGlow 4s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.about-img img:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 30px 60px rgba(79, 110, 247, 0.3);
    animation-play-state: paused;
}

@keyframes profileFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes profileGlow {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(79, 110, 247, 0.12);
    }

    50% {
        box-shadow: 0 24px 56px rgba(79, 110, 247, 0.28);
    }
}

/* Decorative ring around photo */
.about-img::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent2));
    z-index: -1;
    opacity: 0.3;
    animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

.about-text h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-text h4 {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 12px;
    font-size: 15px;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-form {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(79, 110, 247, 0.08);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafbff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: white;
}

.btn-send {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 8px 24px rgba(79, 110, 247, 0.35);
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(79, 110, 247, 0.45);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    background: #0F0F1A;
    padding: 80px 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════
   CURSOR GLOW (desktop only)
═══════════════════════════════════════════ */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 110, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

/* ═══════════════════════════════════════════
   STATS COUNTER STRIP
═══════════════════════════════════════════ */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 48px 24px;
    background: linear-gradient(135deg, #0F0F1A, #1a1040);
    border-top: 1px solid rgba(79, 110, 247, 0.2);
    border-bottom: 1px solid rgba(79, 110, 247, 0.2);
    margin: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Space Mono', monospace;
    margin-top: 6px;
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .product-showcase {
        flex-direction: column;
        padding: 40px 28px;
        gap: 36px;
    }

    .about-box {
        flex-direction: column;
        padding: 48px 28px;
        gap: 36px;
    }

    .about-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    h1 {
        font-size: 52px;
    }

    .tagline {
        font-size: 16px;
    }

    .top-left-logo {
        top: 20px;
        left: 20px;
    }

    .lang-switcher {
        top: 20px;
        right: 20px;
    }

    section.container {
        padding: 70px 20px;
    }

    .stats-strip {
        gap: 36px;
    }

    .stat-number {
        font-size: 36px;
    }

    .hero-section {
        padding: 100px 24px 100px;
        min-height: 80vh;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
═══════════════════════════════════════════ */
@media (max-width: 600px) {
    .hero-section {
        padding: 120px 24px 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        min-height: auto;
        /* Let content define height */
    }

    .scroll-indicator {
        display: none;
        /* Hide on mobile to avoid overlap and clutter */
    }

    h1 {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: 24px;
    }

    .tagline {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .intro-p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 32px;
        padding: 0 8px;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
        padding: 18px;
        font-size: 16px;
    }

    .lang-switcher {
        top: 20px;
        right: 20px;
    }

    section.container {
        padding: 64px 24px;
    }

    .section-title {
        font-size: 28px;
        margin: 0 auto 40px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Product Showcase - Centered & Clean */
    .product-showcase {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 32px;
        border-radius: 24px;
    }

    .product-content h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .product-content ul {
        display: inline-block;
        text-align: left;
        margin: 0 auto 24px;
        padding-left: 0;
    }

    .product-content .btn-primary {
        width: 100%;
        text-align: center;
    }

    .product-image img {
        animation: none;
    }

    /* Books - Clean List View */
    .books-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book-card {
        display: grid;
        grid-template-columns: 120px 1fr;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
    }

    .book-image-container {
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        height: auto;
        display: block;
    }

    .book-image-container::after {
        display: none;
    }

    /* Remove overlay */

    .book-image-container img {
        width: 100%;
        height: auto;
        max-width: none;
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .book-card:hover .book-image-container {
        transform: none;
        box-shadow: none;
        border: none;
    }

    .book-card:hover img {
        transform: none;
        scale: 1;
    }

    .book-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .btn-book {
        font-size: 13px;
        padding: 10px 20px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: white;
        border: none;
        box-shadow: 0 8px 16px var(--primary-glow);
        width: 100%;
        text-align: center;
    }

    /* Pricing - Spacious */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card {
        padding: 40px 24px;
    }

    .pricing-card .btn-outline {
        width: 100%;
        padding: 16px;
    }

    .price {
        font-size: 32px;
    }

    /* About - Stacked */
    .about-box {
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
        text-align: center;
        /* Center text in mobile */
    }

    .about-img {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .about-text h2 {
        font-size: 26px;
        justify-content: center;
    }

    .about-text h4 {
        font-size: 15px;
    }

    /* Contact Form - Touch Friendly */
    .contact-form .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        padding: 32px 20px;
    }

    input,
    textarea {
        padding: 18px;
        /* Larger tap area */
        font-size: 16px;
        /* No iOS zoom */
        border-radius: 12px;
    }

    .btn-send {
        width: 100%;
        padding: 18px;
        font-size: 16px;
    }

    /* Stats Mobile */
    .stats-strip {
        gap: 32px;
        padding: 48px 20px;
    }

    .stat-number {
        font-size: 42px;
        /* Bigger stats */
    }

    /* Footer */
    footer {
        padding: 60px 0 40px;
        margin-top: 40px;
    }

    .footer-links {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        font-size: 15px;
        padding: 8px;
        /* Tap area */
    }

    .cursor-glow {
        display: none;
    }
}

/* ═══════════════════════════════════════════
   STATS STRIP (DESKTOP & GENERAL)
═══════════════════════════════════════════ */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px 24px;
    background: var(--bg-offset);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    /* Significantly reduced from 42px */
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 2px;
    padding-bottom: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    /* Small and crisp */
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    /* Reduced spacing to fit */
    text-transform: uppercase;
    opacity: 0.9;
    white-space: nowrap;
    /* Force one line */
}