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

/* ========================================
   Pitbull Interactive — Premium Design System
   ======================================== */

:root {
    /* Rich Dark Mode Palette */
    --bg-base: #030305;
    --bg-surface: rgba(255, 255, 255, 0.02);
    --bg-surface-hover: rgba(255, 255, 255, 0.05);

    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-strong: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Vibrant Accents */
    --accent-blue: #007aff;
    --accent-blue-glow: rgba(0, 122, 255, 0.4);
    --accent-purple: #bf5af2;
    --accent-emerald: #32d74b;
    --accent-orange: #ff9f0a;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', var(--font-sans);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: 0.3s var(--ease-out-expo);
    --transition-smooth: 0.6s var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-base);
}

body {
    font-family: var(--font-sans);
    background: var(--bg-base) url('/images/bg-hero.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center 30%, transparent 0%, rgba(10, 10, 15, 0.5) 100%), linear-gradient(to bottom, rgba(10, 10, 15, 0.4), rgba(10, 10, 15, 0.8));
    pointer-events: none;
    z-index: -2;
}

/* Atmospheric Glows */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-glow::before,
.ambient-glow::after {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: drift 20s infinite alternate ease-in-out;
}

.ambient-glow::before {
    top: -20%;
    left: -10%;
    background: var(--accent-blue);
}

.ambient-glow::after {
    bottom: -20%;
    right: -10%;
    background: var(--accent-purple);
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(3, 3, 5, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-snappy);
}

.nav.scrolled {
    height: 64px;
    border-bottom-color: var(--border-subtle);
    background: rgba(3, 3, 5, 0.85);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 101;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

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

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg-base);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: 0.4s var(--ease-out-expo);
        pointer-events: none;
        z-index: 99;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        z-index: 100;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-display);
    }

    .nav-hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 5px);
        background: var(--text-primary);
    }

    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--text-primary);
    }
}

/* --- Hero --- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    position: relative;
}

.hero-logo {
    width: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.2));
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1,
.hero-split h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 0;
    animation: fadeUp 1s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero .tagline,
.hero-split .tagline {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeUp 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Base Device */
.floating-device {
    position: absolute;
    width: 280px;
    height: 560px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -280px;
    border-radius: 40px;
    background: rgba(20, 20, 25, 0.8);
    border: 8px solid #2a2a35;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 122, 255, 0.1);
    transform-style: preserve-3d;
    transform: rotateX(25deg) rotateY(-20deg) rotateZ(5deg);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

/* Inner App UI Skeleton */
.skeleton-ui {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(180deg, #111 0%, #0a0a0f 100%);
}

.skel-header {
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    animation: pulse-glow 3s infinite;
}

.skel-block {
    height: 120px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.skel-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 2.5s infinite;
}

.skel-row {
    display: flex;
    gap: 15px;
}

.skel-box {
    flex: 1;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

/* Floating Elements around the device */
.float-element {
    position: absolute;
    transform-style: preserve-3d;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-weight: bold;
    font-family: var(--font-mono);
}

.fl-1 {
    width: 120px;
    height: 60px;
    top: 10%;
    left: -20%;
    transform: translateZ(50px) rotateY(-15deg);
    animation: float-delayed 5s ease-in-out infinite 0.5s;
}

.fl-2 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 40%;
    right: -25%;
    transform: translateZ(80px) rotateY(15deg);
    animation: float-delayed 4s ease-in-out infinite 1s;
    font-size: 1.5rem;
}

.fl-3 {
    width: 140px;
    height: 40px;
    bottom: 15%;
    left: -10%;
    transform: translateZ(100px) rotateX(10deg);
    animation: float 5.5s ease-in-out infinite 1.5s;
    font-size: 0.8rem;
    color: var(--accent-purple);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: rotateX(25deg) rotateY(-20deg) rotateZ(5deg) translateY(0px);
    }

    50% {
        transform: rotateX(25deg) rotateY(-20deg) rotateZ(5deg) translateY(-20px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0px) translateZ(50px);
    }

    50% {
        transform: translateY(-15px) translateZ(50px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        background: rgba(255, 255, 255, 0.05);
    }

    50% {
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    }
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}




/* --- Split Hero for Products --- */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 80vh;
    position: relative;
}

.hero-split .hero-content {
    flex: 1;
    max-width: 600px;
}



.hero-content .subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 8px rgba(0, 210, 255, 0.4));
    display: inline-block;
}

.hero-content .description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-device {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-device.multi-phone {
    min-height: 600px;
}

.hero-device.multi-phone .device-frame {
    position: absolute;
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-device.multi-phone .device-frame:first-child {
    transform: translateX(-40px) scale(0.95) rotate(-2deg);
    z-index: 2;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.6);
}

.hero-device.multi-phone .device-frame.perspective-offset {
    transform: translateX(80px) translateY(40px) scale(0.85) rotate(4deg);
    z-index: 1;
    filter: brightness(0.6);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-device.multi-phone:hover .device-frame:first-child {
    transform: translateX(-50px) translateY(-10px) scale(0.98) rotate(-3deg);
}

.hero-device.multi-phone:hover .device-frame.perspective-offset {
    transform: translateX(100px) translateY(30px) scale(0.88) rotate(6deg);
    filter: brightness(0.8);
}

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 4rem);
        gap: 3rem;
        min-height: auto;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-device.multi-phone {
        min-height: 450px;
        transform: scale(0.65);
        margin-top: 10rem;
        width: 100%;
        padding-bottom: 250px;
        /* Force internal height proportional to absolute children */
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
}

/* --- Sections --- */
.section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* --- Glass Cards & Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card-link {
    display: block;
    outline: none;
}

.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Subtle inner glow */
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: var(--bg-surface-hover);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.glass-card:hover::before {
    opacity: 1;
}

.product-preview {
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 2;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-preview .product-device {
    animation: none;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8));
}

.product-preview--portrait .product-device {
    width: 65%;
    max-width: none;
    border-width: 4px;
    border-radius: 24px;
}

.product-preview--landscape .product-device.ipad-frame {
    width: 100%;
    max-width: none;
    height: auto;
    border-width: 4px;
    border-radius: 14px;
}

.product-preview--landscape .product-device.iphone-landscape {
    width: 100%;
    max-width: none;
    height: auto;
    border-width: 4px;
    border-radius: 20px;
}

.product-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .product-preview img {
    transform: scale(1.05);
}

.glass-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    z-index: 2;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    z-index: 2;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    z-index: 2;
}

.platform-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.learn-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.learn-more::after {
    content: '→';
    transition: transform 0.3s;
}

.glass-card:hover .learn-more {
    gap: 0.75rem;
    color: var(--accent-blue);
}

/* --- Feature Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    padding: 2.5rem 2rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-surface);
    border-color: var(--border-strong);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature icon color variants */
.feature-card:nth-child(1) .feature-icon {
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.2);
    stroke: var(--accent-blue);
}

.feature-card:nth-child(2) .feature-icon {
    background: rgba(255, 159, 10, 0.1);
    border-color: rgba(255, 159, 10, 0.2);
    stroke: var(--accent-orange);
}

.feature-card:nth-child(3) .feature-icon {
    background: rgba(50, 215, 75, 0.1);
    border-color: rgba(50, 215, 75, 0.2);
    stroke: var(--accent-emerald);
}

.feature-card:nth-child(4) .feature-icon {
    background: rgba(191, 90, 242, 0.1);
    border-color: rgba(191, 90, 242, 0.2);
    stroke: var(--accent-purple);
}

.feature-card:nth-child(5) .feature-icon {
    background: rgba(255, 69, 58, 0.1);
    border-color: rgba(255, 69, 58, 0.2);
    stroke: #ff453a;
}

.feature-card:nth-child(6) .feature-icon {
    background: rgba(10, 132, 255, 0.1);
    border-color: rgba(10, 132, 255, 0.2);
    stroke: #0a84ff;
}

/* --- Lifestyle Photo Showcase --- */
.lifestyle-showcase {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.lifestyle-frame {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lifestyle-frame img {
    width: 100%;
    display: block;
}

.lifestyle-caption {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .lifestyle-frame {
        border-radius: 14px;
    }
}

/* --- Refined Device Mockups --- */
.device-frame {
    position: relative;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

.ipad-frame {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1.452;
    background: #111;
    border-radius: 24px;
    border: 8px solid #222;
    box-shadow: inset 0 0 0 2px #000, 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.iphone-frame {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9/19.5;
    background: #111;
    border-radius: 48px;
    border: 8px solid #222;
    box-shadow: inset 0 0 0 2px #000, 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.iphone-landscape {
    max-width: 650px;
    aspect-ratio: 19.5/9;
}

.macbook-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.macbook-lid {
    width: 100%;
    background: #2a2a2c;
    border-radius: 10px 10px 0 0;
    border: 3px solid #3a3a3c;
    border-bottom: none;
    padding: 8px 8px 0 8px;
    position: relative;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

.macbook-notch {
    width: 20%;
    max-width: 100px;
    height: 6px;
    background: #2a2a2c;
    border-radius: 0 0 6px 6px;
    margin: 0 auto 4px;
    position: relative;
}

.macbook-notch::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #333;
}

.macbook-lid .device-screen {
    aspect-ratio: 16/10;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.macbook-hinge {
    width: 101%;
    height: 8px;
    background: linear-gradient(180deg, #555 0%, #3a3a3c 30%, #2a2a2c 100%);
    border-radius: 0 0 2px 2px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.macbook-hinge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.15) 50%, transparent 95%);
}

.macbook-base {
    width: 108%;
    height: 10px;
    background: linear-gradient(180deg, #3a3a3c 0%, #2a2a2c 100%);
    border-radius: 0 0 8px 8px / 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

.macbook-base::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18%;
    height: 3px;
    background: #444;
    border-radius: 3px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #000;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

/* --- Placeholders (Reused from old CSS but adapted) --- */
.ipad-placeholder,
.preview-panel {
    width: 100%;
    height: 100%;
    background: #050505;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.panel-tile,
.mini-tile {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Buttons / App Store Badge --- */
.store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    align-items: center;
}

.requirements .store-badges {
    justify-content: center;
}

@media (max-width: 900px) {
    .store-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.store-badge,
.appstore-badge {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.store-badges .appstore-badge img,
.store-badges .store-badge img {
    height: 48px !important;
    width: auto !important;
    max-width: none;
    display: block;
}

.store-badge:hover,
.appstore-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    background: none;
}

.store-badges .badge-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.store-badge:hover .badge-tooltip,
.appstore-badge:hover .badge-tooltip {
    opacity: 1;
}

/* --- Requirements Section --- */
.requirements {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.requirements ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirements li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

.requirements li strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* --- Footer --- */
.footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
}

.footer-logo img {
    height: 24px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo span {
    font-family: var(--font-display);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo img {
        height: 28px;
        width: auto;
    }

    .footer-logo span {
        font-size: 1.35rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-links a {
        font-size: 1.1rem;
    }
}

/* --- Contact & About Helpers --- */
.contact-hero,
.about {
    padding: calc(var(--nav-height) + 6rem) 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero h1,
.about h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.contact-hero p,
.about p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Contact Form --- */
.contact-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 122, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* --- Founder Section --- */
.founder-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.founder-bio {
    flex: 1;
}

.founder-bio p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

.founder-section--reverse {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .founder-section,
    .founder-section--reverse {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
}

/* --- Profile Card (adapted from ReactBits) --- */
.pc-card-wrapper {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --pointer-from-center: 0;
    --pointer-from-top: 0.5;
    --pointer-from-left: 0.5;
    --card-opacity: 0;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --background-x: 50%;
    --background-y: 50%;
    --inner-gradient: linear-gradient(145deg, #60496e8c 0%, #71C4FF44 100%);
    --behind-glow-color: rgba(125, 190, 255, 0.67);
    --behind-glow-size: 50%;
    --card-radius: 30px;
    --sunpillar-1: hsl(2, 100%, 73%);
    --sunpillar-2: hsl(53, 100%, 69%);
    --sunpillar-3: hsl(93, 100%, 69%);
    --sunpillar-4: hsl(176, 100%, 76%);
    --sunpillar-5: hsl(228, 100%, 74%);
    --sunpillar-6: hsl(283, 100%, 73%);
    perspective: 500px;
    transform: translate3d(0, 0, 0.1px);
    position: relative;
    touch-action: none;
    flex-shrink: 0;
}

.pc-behind {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), var(--behind-glow-color) 0%, transparent var(--behind-glow-size));
    filter: blur(50px) saturate(1.1);
    opacity: calc(0.8 * var(--card-opacity));
    transition: opacity 200ms ease;
}

.pc-card-wrapper:hover,
.pc-card-wrapper.active {
    --card-opacity: 1;
}

.pc-card {
    height: 420px;
    display: grid;
    aspect-ratio: 0.718;
    border-radius: var(--card-radius);
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.8) calc((var(--pointer-from-left) * 10px) - 3px) calc((var(--pointer-from-top) * 20px) - 6px) 20px -5px;
    transition: transform 1s ease;
    transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    background: rgba(0, 0, 0, 0.9);
    backface-visibility: hidden;
    overflow: hidden;
}

.pc-card:hover,
.pc-card.active {
    transition: none;
    transform: translateZ(0) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
}

.pc-card-shell.entering .pc-card {
    transition: transform 180ms ease-out;
}

.pc-card-shell {
    position: relative;
    z-index: 1;
}

.pc-card * {
    display: grid;
    grid-area: 1/-1;
    border-radius: var(--card-radius);
    pointer-events: none;
}

.pc-inside {
    inset: 0;
    position: absolute;
    background-image: var(--inner-gradient);
    background-color: rgba(0, 0, 0, 0.9);
    transform: none;
}

.pc-shine {
    --space: 5%;
    --angle: -45deg;
    transform: translate3d(0, 0, 1px);
    overflow: hidden;
    z-index: 3;
    background: transparent;
    background-size: cover;
    background-position: center;
    background-image:
        repeating-linear-gradient(0deg, var(--sunpillar-1) calc(var(--space) * 1), var(--sunpillar-2) calc(var(--space) * 2), var(--sunpillar-3) calc(var(--space) * 3), var(--sunpillar-4) calc(var(--space) * 4), var(--sunpillar-5) calc(var(--space) * 5), var(--sunpillar-6) calc(var(--space) * 6), var(--sunpillar-1) calc(var(--space) * 7)),
        repeating-linear-gradient(var(--angle), #0e152e 0%, hsl(180, 10%, 60%) 3.8%, hsl(180, 29%, 66%) 4.5%, hsl(180, 10%, 60%) 5.2%, #0e152e 10%, #0e152e 12%),
        radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsla(0, 0%, 0%, 0.1) 12%, hsla(0, 0%, 0%, 0.15) 20%, hsla(0, 0%, 0%, 0.25) 120%);
    background-position: 0 var(--background-y), var(--background-x) var(--background-y), center;
    background-blend-mode: color, hard-light;
    background-size: 500% 500%, 300% 300%, 200% 200%;
    background-repeat: repeat;
    mask-image: none;
    transition: filter 0.8s ease;
    filter: brightness(0.5) contrast(1.2) saturate(0.25) opacity(0.35);
    animation: holo-bg 18s linear infinite;
    mix-blend-mode: soft-light;
}

.pc-card:hover .pc-shine,
.pc-card.active .pc-shine {
    filter: brightness(0.6) contrast(1.3) saturate(0.35) opacity(0.45);
    animation-play-state: paused;
}

@keyframes holo-bg {
    0% { background-position: 0 var(--background-y), 0 0, center; }
    100% { background-position: 0 var(--background-y), 90% 90%, center; }
}

.pc-glare {
    transform: translate3d(0, 0, 1.1px);
    overflow: hidden;
    background-image: radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsla(248, 25%, 80%, 0.2) 12%, hsla(207, 40%, 30%, 0.15) 90%);
    mix-blend-mode: soft-light;
    filter: brightness(0.85) contrast(1.1);
    z-index: 4;
}

.pc-avatar-content {
    overflow: hidden;
    transform: translateZ(2px);
    backface-visibility: hidden;
}

.pc-avatar-content .avatar {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center 20%;
    transform: translate3d(calc((var(--pointer-from-left) - 0.5) * 6px), calc((var(--pointer-from-top) - 0.5) * 4px), 0) scale(1.05);
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 120ms ease-out;
    filter: grayscale(1);
}

.founder-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.founder-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 8px rgba(0, 210, 255, 0.4));
}

@media (max-width: 768px) {
    .pc-card {
        height: 360px;
    }

    .founder-name {
        font-size: 1.6rem;
    }
}