/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #080b10;
    --bg2: #0d1017;
    --surface: #111621;
    --surface2: #181e2b;
    --border: rgba(255, 255, 255, 0.07);
    --accent: #ff6b35;
    --accent2: #ff3c6e;
    --neon: #00f5d4;
    --purple: #8b5cf6;
    --text: #f0f4ff;
    --text-muted: #8892a8;
    --font-main: 'Outfit', sans-serif;
    --font-alt: 'Space Grotesk', sans-serif;
    --radius: 16px;
    --max-w: 1180px;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

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

/* === GLOW ELEMENTS === */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
    top: -100px; left: -100px;
    animation: glow-pulse 6s ease-in-out infinite alternate;
}
.glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    right: -80px; top: 50px;
    animation: glow-pulse 8s ease-in-out infinite alternate-reverse;
}
.glow-3 {
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(0,245,212,0.08) 0%, transparent 70%);
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes glow-pulse {
    from { opacity: 0.6; transform: scale(1); }
    to { opacity: 1; transform: scale(1.15); }
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-alt);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.logo span { color: var(--accent); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 24px 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fade-in-up 0.6s ease;
}

.hero-title {
    font-family: var(--font-alt);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    animation: fade-in-up 0.7s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent2), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fade-in-up 0.7s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fade-in-up 0.7s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fade-in-up 0.7s ease 0.4s both;
}

.stat { text-align: center; }

.stat-num {
    font-family: var(--font-alt);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.left-align { text-align: left; }

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    background: rgba(255,107,53,0.1);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255,107,53,0.25);
}

.section-header h2 {
    font-family: var(--font-alt);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* === APPS SECTION === */
.apps-section { padding: 120px 0; }

/* Featured */
.app-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 56px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-featured:hover { transform: translateY(-4px); }

.app-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--purple));
}

.app-icon-large {
    width: 72px; height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(255,107,53,0.3);
}

.featured-badge {
    display: inline-block;
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.3);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.app-featured-content h3 {
    font-family: var(--font-alt);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.app-featured-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.app-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tag {
    padding: 4px 12px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.app-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Phone Mockup */
.app-featured-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 220px;
    background: #0d1117;
    border-radius: 32px;
    border: 2px solid rgba(255,255,255,0.1);
    padding: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.phone-screen {
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
}

.mock-header {
    background: #111;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-dot {
    width: 60px; height: 8px;
    background: #222;
    border-radius: 4px;
}

.mock-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.top-option {
    background: linear-gradient(135deg, rgba(255,107,53,0.7), rgba(255,62,110,0.7));
    color: white;
}

.bot-option {
    background: linear-gradient(135deg, rgba(67,233,123,0.7), rgba(56,249,215,0.7));
    color: white;
}

.pct {
    font-family: var(--font-alt);
    font-size: 1.3rem;
    font-weight: 700;
}

.mock-or {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.phone-glow {
    position: absolute;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.app-card:hover {
    border-color: rgba(255,107,53,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.app-card-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.app-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.app-card-content h4 {
    font-family: var(--font-alt);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.app-tags.small .tag { font-size: 0.72rem; }

.app-status {
    margin-top: auto;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    align-self: flex-start;
}

.coming-soon {
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.3);
    color: #a78bfa;
}

/* === STUDIO SECTION === */
.studio-section { padding: 120px 0; }

.studio-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 72px 64px;
    position: relative;
    overflow: hidden;
}

.studio-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pillar {
    padding: 28px 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
}

.pillar:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-4px);
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.pillar h4 {
    font-family: var(--font-alt);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pillar p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* === CAREERS === */
.careers-section { padding: 120px 0; }

.careers-inner {
    background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(139,92,246,0.06));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 72px 64px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    margin-top: 16px;
}

.contact-card-left h4 {
    font-family: var(--font-alt);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-card-left p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.65; }

.open-role {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

.open-role:last-child { border-bottom: none; }

.role-dot {
    width: 8px; height: 8px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon);
    flex-shrink: 0;
}

.role-tag {
    margin-left: auto;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.3);
    color: var(--neon);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
}

/* === ABOUT === */
.about-section { padding: 120px 0; }

.about-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-text p strong { color: var(--text); }

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.value-num {
    font-family: var(--font-alt);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.3);
    line-height: 1;
    flex-shrink: 0;
}

.value-item h5 {
    font-family: var(--font-alt);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.value-item p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border);
    padding: 72px 0 40px;
    background: var(--bg2);
}

.footer-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-tagline { color: var(--accent) !important; font-style: italic; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h6 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === ANIMATIONS === */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .studio-pillars { grid-template-columns: repeat(2, 1fr); }
    .apps-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; gap: 48px; }
    .app-featured { grid-template-columns: 1fr; gap: 48px; }
    .app-featured-preview { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(8, 11, 16, 0.97);
        backdrop-filter: blur(20px);
        padding: 32px 24px;
        border-bottom: 1px solid var(--border);
        gap: 24px;
    }

    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .studio-inner { padding: 40px 28px; }
    .studio-pillars { grid-template-columns: 1fr; }
    .careers-inner { padding: 40px 28px; }
    .contact-card { grid-template-columns: 1fr; padding: 32px; }
    .about-content { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .app-featured { padding: 32px 28px; }
}

@media (max-width: 480px) {
    .btn { padding: 12px 20px; font-size: 0.88rem; }
    .footer-links { grid-template-columns: 1fr; }
}
