@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --primary: #0066FF;
    --text-main: #111111;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-offset: #F9F9FB;
    --border: #E5E7EB;
    --radius: 12px;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Secondary 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;
}

/* Ensure headings maintain the primary display font */
h1,
h2,
h3,
h4,
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Base Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section.container {
    padding: 100px 24px;
}

/* Header / Hero */
.hero-section {
    text-align: center;
    padding: 120px 0;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #fff;
}

.top-left-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
}

.top-left-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.top_left_logo:hover img {
    transform: scale(1.1);
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 150;
}

.lang-btn {
    background: #fff;
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: var(--bg-offset);
    color: var(--primary);
}

h1 {
    font-size: 80px;
    font-weight: 800;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.1;
    transition: all 0.5s ease;
    cursor: default;
}

h1:hover {
    letter-spacing: 0.05em;
    color: var(--primary);
}

.tagline {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.intro-p {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
}

.btn-contact {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    background: #111;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid #64748b;
    border-radius: 20px;
    animation: floatIcon 3s infinite ease-in-out;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #475569;
    border-radius: 2px;
    animation: scrollMouse 3s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% {
        opacity: 0;
        transform: translate(-50%, -4px);
    }

    30%,
    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 4px);
    }
}

/* Project Grids */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 4px;
    background: var(--primary);
    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);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.image-box {
    background: var(--bg-offset);
    border-radius: var(--radius);
    padding: 0;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    pointer-events: none;
}

.view-overlay span {
    color: white;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(4px);
    transition: var(--transition);
}

.image-box img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: block;
}

.project-card:hover .image-box {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.03);
}

.project-card:hover .view-overlay {
    opacity: 1;
}

.project-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition);
}

.project-card:hover h3 {
    color: var(--primary);
}

.project-info p {
    color: var(--text-muted);
    font-size: 15px;
}

.tag-container {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    background: #F1F5F9;
    color: #64748B;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

/* Product Showcase */
.product-showcase {
    background: #FAFAFA;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    border: 1px solid var(--border);
}

.product-content {
    flex: 1;
}

.product-image {
    flex: 1;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 66, 255, 0.1);
    animation: floatImage 4s ease-in-out infinite;
    transition: var(--transition);
}

.product-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 66, 255, 0.15);
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.badge {
    background: #E8F2FF;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin: 20px 0 30px 0;
}

.product-features li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li::before {
    content: '✓';
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

/* Books */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 40px;
}

.book-card {
    text-align: center;
    transition: var(--transition);
    perspective: 1000px;
}

.book-image-container {
    background: #F8FAFF;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 18px;
    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::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.book-image-container img {
    max-width: 130px;
    height: auto;
    border-radius: 6px;
    box-shadow: 5px 15px 30px 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(-15px);
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.1);
}

.book-card:hover .book-image-container::before {
    opacity: 1;
}

.book-card:hover img {
    transform: rotateY(0deg) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.book-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: var(--transition);
    color: var(--text-main);
}

.book-card:hover .book-title {
    color: var(--primary);
    transform: translateY(-5px);
}

.btn-book {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-block;
}

.book-card:hover .btn-book {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:not(.popular):hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.price {
    font-size: 32px;
    font-weight: 800;
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
}

.pricing-card ul li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li::before {
    content: '✓';
    color: #10B981;
}

.btn-outline {
    display: block;
    text-align: center;
    border: 1px solid #111;
    color: #111;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.pricing-card:hover .btn-outline {
    background: var(--text-main);
    color: white;
    transform: translateY(-2px);
}

.pricing-card.popular:hover .btn-outline {
    background: var(--primary);
    border-color: var(--primary);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.1);
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 102, 255, 0.15);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
}

/* About */
.about-box {
    background: #F8FAFF;
    border-radius: 32px;
    padding: 80px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-img img {
    width: 100%;
    border-radius: 24px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.about-text h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Contact */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
}

.btn-send {
    background: #111;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.btn-send:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Footer */
footer {
    background: #f1f5f9;
    padding: 80px 0;
    margin-top: 100px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* Responsiveness */
@media (max-width: 900px) {

    .grid-2,
    .pricing-grid,
    .about-box,
    .product-showcase {
        grid-template-columns: 1fr;
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }

    h1 {
        font-size: 48px;
    }

    .tagline {
        font-size: 24px;
    }

    .top-left-logo,
    .lang-switcher {
        top: 20px;
        left: 20px;
    }

    .lang-switcher {
        left: auto;
        right: 20px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 100px 0;
    }
}