@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0d1117;
    --bg-alt: #0b0f14;
    --bg-glass: rgba(13, 17, 23, 0); 
    --bg-glass-scrolled: rgba(13, 17, 23, 0.75); 
    --bg-menu-mobile: rgba(13, 17, 23, 0.98);
    --fg: #f1f5f9;
    --fg-muted: #94a3b8;
    --fg-dim: #64748b;
    --btn-gray: #334155;
    --btn-gray-hover: #475569;
    --accent: #3b82f6; 
    --green: #10b981;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --radius: 16px;
    --font: 'Inter', sans-serif;
    --spring: cubic-bezier(0.16, 1, 0.3, 1);
    --border: rgba(255,255,255,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg-dark); overflow-x: hidden; }

body {
    font-family: var(--font);
    background: 
        linear-gradient(rgba(13, 17, 23, 0.82), rgba(13, 17, 23, 0.82)),
        url('../assets/bg-workspace.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
a { color: inherit; text-decoration: none; }

/* ═══════════ HEADER ═══════════ */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; height: 100px;
    display: flex; align-items: center;
    transition: all 0.4s var(--spring);
    background: var(--bg-glass);
}
.header.scrolled {
    background: var(--bg-glass-scrolled); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); height: 80px;
}
.header.menu-open {
    background: var(--bg-menu-mobile) !important;
    backdrop-filter: blur(30px) !important; height: 80px !important;
}

.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo-img { height: 50px; width: auto; transition: height 0.3s; }
.header.scrolled .nav-logo-img, .header.menu-open .nav-logo-img { height: 42px; }

.nav-menu-wrap { flex: 1; display: flex; justify-content: center; position: relative; }
.nav-menu { display: flex; align-items: center; list-style: none; position: relative; gap: 0.5rem; }
.nav-menu li a { display: block; padding: 0.6rem 1.4rem; font-size: 0.95rem; font-weight: 500; color: var(--fg-muted); border-radius: 8px; transition: all 0.3s; position: relative; z-index: 2; }
.nav-menu li a:hover { color: #fff; }

/* TRAVELLING HIGHLIGHT BUBBLE */
.nav-highlight {
    position: absolute;
    background: rgba(255, 255, 255, 0.08); border-radius: 8px;
    transition: all 0.4s var(--spring); pointer-events: none;
    z-index: 1; height: calc(100% - 14px); top: 7px; opacity: 0;
}

.nav-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 1rem; }
.nav-cta { padding: 0.7rem 1.8rem; background: var(--btn-gray); color: #fff !important; border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.05); }

.nav-toggle {
    display: none; width: 44px; height: 44px; background: none; border: none; color: var(--fg); cursor: pointer;
    position: relative; transition: transform 0.45s var(--spring);
}
.nav-toggle svg { position: absolute; top: 10px; left: 10px; transition: all 0.5s var(--spring); width: 24px; height: 24px; pointer-events: none; }
.nav-toggle .lucide-x { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.nav-toggle .lucide-menu { opacity: 1; transform: rotate(0deg) scale(1); }
.nav-toggle.active .lucide-menu { opacity: 0; transform: rotate(90deg) scale(0.5); }
.nav-toggle.active .lucide-x { opacity: 1; transform: rotate(0deg) scale(1); }

/* ═══════════ HERO ═══════════ */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 0; }
.hero-inner { max-width: 1000px; width: 100%; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.hero-logo-img { width: 500px; max-width: 90vw; margin-bottom: 4rem; display: block; }
.hero-paragraph { font-size: 1.35rem; color: var(--fg-muted); line-height: 1.8; max-width: 820px; margin-bottom: 5rem; }

/* ═══════════ INFO BAR ═══════════ */
.info-bar { padding: 60px 0; background: rgba(15, 23, 42, 0.35); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
.info-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2.5rem; max-width: 1300px; margin: 0 auto; }
.info-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; font-weight: 600; color: var(--fg-muted); }
.info-item-social { display: flex; gap: 0.8rem; align-items: center; }

/* ═══════════ SECTIONS ═══════════ */
.features-section, .about-section, .highlight-section, .video-section, .cta-section { padding: 160px 0; }
.sections-wrapper { position: relative; }

.section-header { text-align: center; margin-bottom: 6rem; }
.section-tag { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1.5rem; display: block; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; margin-bottom: 1.5rem; color: #fff; line-height: 1.1; }
.section-desc { font-size: 1.2rem; color: var(--fg-muted); max-width: 700px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.feature-card { padding: 3.5rem; background: rgba(13, 17, 23, 0.4); border-radius: 24px; border: 1px solid var(--border); backdrop-filter: blur(10px); transition: all 0.4s var(--spring); }
.feature-card:hover { border-color: var(--accent); transform: translateY(-10px); }
.feature-icon { margin-bottom: 2.5rem; }
.feature-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.2rem; color: #fff; }
.feature-card p { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.7; }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: center; }
.about-img-wrap { border-radius: 28px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-content h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900; margin-bottom: 2rem; line-height: 1.1; }
.about-content p { font-size: 1.15rem; color: var(--fg-muted); margin-bottom: 3rem; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.about-list li { display: flex; gap: 1.2rem; align-items: center; font-weight: 700; color: #fff; font-size: 1.1rem; }

.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.highlight-card { background: rgba(13, 17, 23, 0.4); border-radius: 32px; border: 1px solid var(--border); overflow: hidden; backdrop-filter: blur(10px); transition: border-color 0.3s; }
.highlight-card:hover { border-color: var(--accent); }
.highlight-card-img { height: 320px; overflow: hidden; }
.highlight-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--spring); }
.highlight-card:hover .highlight-card-img img { transform: scale(1.05); }
.highlight-card-body { padding: 3.5rem; }
.highlight-card-body h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 1.2rem; }
.highlight-card-body p { color: var(--fg-muted); font-size: 1.1rem; }

.video-section { text-align: center; }
.video-wrap { position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.5); }

.cta-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.cta-title { font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; margin-bottom: 2.5rem; }
.cta-desc { font-size: 1.3rem; color: var(--fg-muted); margin-bottom: 4rem; }
.cta-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════ FOOTER ═══════════ */
.footer { padding: 120px 0 60px; background: #000; border-top: 1px solid var(--border); }
.footer-logo-img { height: 72px; width: auto; margin-bottom: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 5rem; margin-bottom: 100px; }
.footer-brand p { color: var(--fg-muted); font-size: 1.1rem; max-width: 320px; font-weight: 500; }
.footer-col h4 { font-size: 1rem; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 2.5rem; letter-spacing: 0.1em; }
.footer-links { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-links a { font-weight: 600; color: var(--fg-muted); transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-col p { line-height: 1.8; color: var(--fg-dim); font-weight: 500; }

.footer-bottom { padding-top: 50px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--fg-dim); font-weight: 500; }
.footer-socials { display: flex; gap: 1rem; }
.footer-social-link { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 12px; transition: 0.3s; }
.footer-social-link:hover { background: var(--accent); color: #fff; transform: translateY(-5px); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
    .container { padding: 0 40px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .header { height: 72px; }
    .nav-toggle { display: block; }
    .nav-logo-img { height: 40px; }

    .nav-menu-wrap {
        position: fixed; top: 72px; left: 0; width: 100%; max-height: 0;
        background: var(--bg-menu-mobile); backdrop-filter: blur(40px);
        overflow: hidden; flex-direction: column; justify-content: flex-start;
        transition: max-height 0.45s var(--spring), opacity 0.3s; border-bottom: 1px solid var(--border); z-index: 999; opacity: 0;
    }
    .nav-menu-wrap.active { max-height: 100vh; padding: 4rem 2rem; opacity: 1; }
    .nav-menu { flex-direction: column; width: 100%; gap: 2rem; transform: translateY(-30px); transition: 0.4s var(--spring) 0.1s; }
    .nav-menu-wrap.active .nav-menu { transform: translateY(0); }
    .nav-menu li a { font-size: 1.6rem; font-weight: 800; text-align: center; }

    .hero { min-height: 70vh; padding: 100px 20px; }
    .hero-logo-img { width: 300px; margin-bottom: 2.5rem; }
    .features-grid, .about-grid, .highlight-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-img-wrap { height: 320px; }
    .info-grid { justify-content: center; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 2.5rem; text-align: center; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1s var(--spring); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.icon-green { color: var(--green); }
.icon-blue { color: var(--accent); }
.icon-purple { color: var(--purple); }
.icon-pink { color: var(--pink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.25rem 2.8rem; border-radius: 14px; font-weight: 800; transition: 0.3s; cursor: pointer; border: none; }
.btn-gray { background: var(--btn-gray); color: #fff; border: 1px solid rgba(255,255,255,0.05); }
.btn-outline { background: transparent; color: #fff; border: 1.8px solid var(--btn-gray); }
