/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nav-height: 5rem;
    --nav-stack: 1200;
    --grain-stack: 1;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    /* Zinc neutrals + single teal accent (design-system aligned, less neon) */
    --primary-color: #2dd4bf;
    --primary-muted: rgba(45, 212, 191, 0.12);
    --primary-border: rgba(45, 212, 191, 0.35);
    --secondary-color: #a1a1aa;
    --accent-color: #c9a227;
    --dark-bg: #0c0c0e;
    --darker-bg: #09090b;
    --card-bg: rgba(24, 24, 27, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --gradient-1: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(45, 212, 191, 0.07), transparent 55%);
    --gradient-2: linear-gradient(165deg, #18181b 0%, var(--dark-bg) 45%, #0a0a0b 100%);
    --gradient-3: var(--primary-color);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--card-border);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--primary-border);
}

html {
    scroll-behavior: smooth;
}

body.nav-open {
    overflow: hidden;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--dark-bg);
    background-image: var(--gradient-2), var(--gradient-1);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    animation: pageIn 0.55s var(--ease-out) both;
}

@keyframes pageIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: var(--grain-stack);
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: var(--nav-stack);
    padding: max(0.75rem, env(safe-area-inset-top, 0px)) 0 0.75rem;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
    border-bottom: 1px solid var(--card-border);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-bottom-color: var(--primary-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, sans-serif;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

.logo-studio {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    cursor: pointer;
    transition: color 0.2s var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s var(--ease-out);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem 0;
    z-index: calc(var(--nav-stack) + 2);
    position: relative;
    background: transparent;
    border: none;
    border-radius: 8px;
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--nav-height) + 1.25rem);
    padding-bottom: clamp(4rem, 10vh, 6rem);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particles {
    display: none;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(45, 212, 191, 0.06) 0%, transparent 65%);
    opacity: 1;
    pointer-events: none;
}

.animated-shapes,
#particleCanvas {
    display: none !important;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    max-width: min(56rem, 100%);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 24px);
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 2s ease-out;
}

.btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
    position: relative;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #0a0a0b;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
    background: #5eead4;
    box-shadow: 0 8px 28px rgba(45, 212, 191, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-border);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(161, 161, 170, 0.35);
}

.btn-ghost:hover {
    color: var(--primary-color);
    border-color: var(--primary-border);
    background: var(--primary-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(1rem, 4vh, 2rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    opacity: 0.45;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(161, 161, 170, 0.45);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(161, 161, 170, 0.55);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Section Styles */
section {
    padding: clamp(4rem, 12vw, 6.25rem) 0;
    position: relative;
}

section[id]:not(#home) {
    scroll-margin-top: calc(var(--nav-height) + 0.75rem);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.section-lead {
    max-width: 520px;
    margin: 1.25rem auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
    animation: expand 1s var(--ease-out);
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* About Section */
.about {
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--card-border);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.stat-item:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.stat-number {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    position: relative;
    height: 400px;
    min-height: 280px;
    overflow: hidden;
    border-radius: 20px;
    isolation: isolate;
    contain: layout paint;
}

.floating-card {
    position: absolute;
    width: 150px;
    height: 200px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
}

.card-1 {
    top: 0;
    left: 20%;
}

.card-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-3 {
    bottom: 0;
    right: 20%;
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
    opacity: 1;
    pointer-events: none;
}

/* Apps section */
.apps {
    background: var(--dark-bg);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    position: relative;
}

.app-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.app-image {
    height: 250px;
    background: linear-gradient(145deg, #18181b 0%, #27272a 55%, rgba(45, 212, 191, 0.12) 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.app-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(3, 4, 6, 0.52);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: background 0.45s var(--ease-out);
}

.app-card:hover .app-overlay {
    background: rgba(3, 4, 6, 0.38);
}

.app-icon {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.92);
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.app-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 68%);
}

.app-info {
    padding: 1.5rem;
}

.app-info h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.app-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.app-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: var(--primary-muted);
    border: 1px solid var(--primary-border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.75rem);
    align-items: start;
}

.contact-info h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-company {
    margin-top: -1rem;
    margin-bottom: 1.5rem !important;
    font-size: 1rem !important;
    color: var(--text-primary) !important;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--card-border);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.contact-item:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.contact-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 0;
    border-color: var(--primary-border);
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, sans-serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s var(--ease-out);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s var(--ease-out);
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: shapeFloat 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--primary-color);
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

.hero-stats-mini {
    display: flex;
    gap: clamp(1.5rem, 5vw, 3rem);
    justify-content: center;
    margin-top: clamp(2rem, 5vw, 3rem);
    flex-wrap: wrap;
    row-gap: 1.25rem;
}

.mini-stat {
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.mini-stat-number {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mini-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.app-link-btn {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    background: var(--primary-muted);
    border: 1px solid var(--primary-border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.25s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
    opacity: 0;
}

.app-card:hover .app-link-btn {
    opacity: 1;
}

.app-link-btn:hover {
    background: rgba(45, 212, 191, 0.2);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.app-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    padding: 0.35rem 0.75rem;
    background: rgba(201, 162, 39, 0.2);
    color: #fde68a;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.app-rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

/* Text Reveal Animation */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    transform: translateX(-100%);
    animation: textReveal 1s ease-out forwards;
}

@keyframes textReveal {
    to {
        transform: translateX(100%);
    }
}

/* Magnetic Button Effect */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s ease;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --nav-height: 5.5rem;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: var(--nav-height);
        flex-direction: column;
        background: rgba(9, 9, 11, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        width: 100%;
        max-height: calc(100vh - var(--nav-height));
        max-height: calc(100dvh - var(--nav-height));
        overflow-y: auto;
        text-align: center;
        transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out), visibility 0.35s;
        padding: 1.25rem 0 calc(1.75rem + env(safe-area-inset-bottom, 0px));
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        gap: 0.25rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 0.85rem 1.5rem;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: min(320px, 58vw);
        margin-inline: auto;
        max-width: 420px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Page Hero Styles */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
    background: var(--darker-bg);
    overflow: hidden;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(45, 212, 191, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.page-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--card-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.team-member:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.member-image {
    height: 300px;
    background: linear-gradient(145deg, #18181b 0%, #27272a 55%, rgba(45, 212, 191, 0.1) 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.member-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    padding: 0.8rem 1.5rem;
    background: var(--primary-muted);
    border: 1px solid var(--primary-border);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
}

.member-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.06) 0%, transparent 68%);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--darker-bg);
    text-align: center;
}

.cta-section h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Careers Page */
.why-join {
    padding: 100px 0;
    background: var(--dark-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.benefit-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 2rem;
    height: 2rem;
}

.benefit-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
}

.open-positions {
    padding: 100px 0;
    background: var(--darker-bg);
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.position-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.position-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.position-header h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.position-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.position-desc {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.8;
}

.position-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

/* Blog Page */
.blog-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.blog-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.blog-image {
    height: 250px;
    background: linear-gradient(145deg, #27272a 0%, #18181b 50%, rgba(45, 212, 191, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.8rem;
    z-index: 2;
}

.blog-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    pointer-events: none;
}

.blog-card:hover .blog-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary-muted);
    border: 1px solid var(--primary-border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s var(--ease-out);
}

.blog-link:hover {
    color: var(--text-primary);
}

/* App detail page */
.app-detail-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.app-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 212, 191, 0.08), transparent 55%), linear-gradient(180deg, rgba(24, 24, 27, 0.65), var(--dark-bg));
    z-index: 0;
}

.app-detail-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.app-detail-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-muted);
    color: var(--primary-color);
    border: 1px solid var(--primary-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.app-detail-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.app-detail-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.app-detail-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.app-detail-meta span {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.app-detail-buttons {
    display: flex;
    gap: 1rem 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    max-width: 36rem;
    margin-inline: auto;
}

.app-features {
    padding: 100px 0;
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.feature-item:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1;
}

.feature-item h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-secondary);
}

.app-screenshots {
    padding: 100px 0;
    background: var(--darker-bg);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.screenshot-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease-out), border-color 0.45s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.screenshot-item:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-card-hover);
}

.screenshot-placeholder {
    height: 300px;
    background: linear-gradient(145deg, #18181b 0%, #27272a 50%, rgba(45, 212, 191, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::after {
    content: '';
    position: absolute;
    inset: 35%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    opacity: 0.7;
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: calc(var(--nav-stack) + 50);
    pointer-events: none;
    background: var(--primary-color);
    transition: width 0.15s linear;
}

/* Legal pages (Privacy, Terms, disclaimers) */
.legal-section-wrap {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: clamp(4rem, 12vw, 6.5rem);
    background: var(--darker-bg);
    min-height: 60vh;
}

.legal-doc {
    max-width: 42rem;
    margin: 0 auto;
}

.legal-doc h1 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.legal-effective {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.legal-doc h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2.25rem 0 0.65rem;
    color: var(--primary-color);
}

.legal-doc h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.35rem 0 0.45rem;
    color: var(--text-primary);
}

.legal-doc p,
.legal-doc li {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.78;
    margin-bottom: 0.85rem;
}

.legal-doc ul {
    margin: 0 0 1rem 1.35rem;
}

.legal-doc li {
    margin-bottom: 0.45rem;
}

.legal-doc a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-doc a:hover {
    color: var(--text-primary);
}

.legal-callout {
    border-left: 3px solid var(--primary-color);
    padding: 1.1rem 1.35rem;
    margin: 1.75rem 0;
    background: var(--primary-muted);
    border-radius: 0 14px 14px 0;
}

.legal-callout p {
    margin-bottom: 0.55rem;
}

.legal-callout p:last-child {
    margin-bottom: 0;
}

.legal-doc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-legal-nav {
    margin-top: 0.65rem;
    font-size: 0.88rem;
}

.footer-legal-nav a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-legal-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-legal-nav .sep {
    margin: 0 0.35rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .app-glow,
    .particles {
        animation: none !important;
    }

    body::before {
        opacity: 0.02;
    }
}

