/* === MODERN 2025 DESIGN FOR VISUMATICA AI === */

/* Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    /* Palette */
    --primary-color: #4F46E5;
    /* Indigo 600 */
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #10B981;
    /* Emerald 500 */
    --accent-color: #F59E0B;

    /* Neutral */
    --dark-bg: #0F172A;
    --dark-bg-secondary: #1E293B;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;

    /* Text */
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;

    /* Shapes */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-highlight: 0 0 0 1px rgba(15, 23, 42, 0.05);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-sm);
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-highlight), var(--shadow-sm);
}

.cta-button.secondary:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
}

/* Header */
header.container {
    position: sticky;
    top: 24px;
    z-index: 100;
    padding: 0 24px;
    pointer-events: none;
}

.navbar {
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md), var(--shadow-highlight);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-button {
    background: var(--text-main);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -5px);
}

/* Hero */
.hero {
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
    background-image: radial-gradient(at 50% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 70%);
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero .subtitle {
    max-width: 650px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.typing-container {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    margin-bottom: 48px;
    font-family: 'Inter', monospace;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(79, 70, 229, 0.1);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 4px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.gallery-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md), var(--shadow-highlight);
    transition: all 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-highlight);
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-content {
    padding: 32px;
}

.gallery-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.gallery-card-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Features */
#features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.feature-text ul {
    list-style: none;
}

.feature-text li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 4px;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.feature-visual {
    flex: 1;
    padding: 40px;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-highlight);
}

.feature-visual img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Schools */
.schools-section {
    background: var(--dark-bg);
    border-radius: var(--radius-lg);
    padding: 100px 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.schools-section h2,
.schools-section p {
    color: white;
}

/* Video */
.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.video-placeholder {
    background: var(--dark-bg) url('../images/player_bg.jpg') center center / cover no-repeat;
    padding-bottom: 56.25%;
    position: relative;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.video-play-button svg {
    width: 32px;
    height: 32px;
    color: white;
    fill: white;
}

.video-player {
    width: 100%;
    display: block;
}

/* Pricing & Additional */
.pricing-grid,
.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card,
.additional-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover,
.additional-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular,
.additional-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 10px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.period {
    color: var(--text-muted);
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--light-bg);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.pricing-footer {
    margin-top: 32px;
    text-align: center;
}

.additional-packages {
    background: white;
    text-align: center;
}

.additional-header,
.additional-content {
    text-align: center;
}

.additional-content .cta-button {
    margin-top: 24px;
}

.info-card,
.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: white;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--light-bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        gap: 60px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .feature-item:nth-child(even) {
        flex-direction: column;
    }

    .feature-text li {
        display: inline-block;
        margin: 0 10px 10px;
        text-align: left;
    }
}

@media (max-width: 768px) {

    /* Mobile Header Fixed */
    header.container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 10px 16px;
        margin: 0;
        transition: transform 0.3s ease;
    }

    .navbar {
        width: 100%;
        padding: 12px 16px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .navbar {
        padding: 12px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease, visibility 0s linear 0.3s;
        padding: 40px;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
        transition: right 0.3s ease, visibility 0s linear 0s;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .video-section {
        padding-top: 120px;
    }

    .gallery-grid,
    .pricing-grid,
    .additional-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}