:root {
    --bg-base: #0f172a;
    --bg-surface: #1e1b4b;
    --primary: #a855f7;
    --primary-hover: #c084fc;
    --accent: #22d3ee;
    --accent-yellow: #facc15;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(34, 211, 238, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
    object-fit: contain;
    display: block;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.brand-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

nav>a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

nav>a.active {
    color: var(--accent);
    font-weight: 600;
}

/* Dropdown Navigation */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.dropdown-trigger:hover,
.nav-item-dropdown:hover .dropdown-trigger {
    color: var(--text-main);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -120px;
    width: 560px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 1.25rem;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: grid;
}

.dropdown-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
    margin-bottom: 0.6rem;
    padding-left: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.dropdown-item:hover {
    background: rgba(168, 85, 247, 0.12);
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--text-main);
}

.breadcrumb span {
    color: var(--accent);
    font-weight: 500;
}

/* Hero Banner */
.apps-hero {
    padding: 3rem 0 3.5rem;
    text-align: center;
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #d8b4fe;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.apps-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 30%, #c084fc 70%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apps-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Product Cards Showcase */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-card {
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.55) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.75);
}

.product-card.card-flyerwire {
    border-color: rgba(250, 204, 21, 0.3);
}

.product-card.card-flyerwire:hover {
    border-color: rgba(250, 204, 21, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(250, 204, 21, 0.12);
}

.product-card.card-life-events {
    border-color: rgba(168, 85, 247, 0.3);
}

.product-card.card-life-events:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(168, 85, 247, 0.15);
}

.product-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.product-layout.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

/* Product Card Info */
.product-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.product-status-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-live-wire {
    background: rgba(250, 204, 21, 0.15);
    color: #fde047;
    border: 1px solid rgba(250, 204, 21, 0.4);
}

.badge-live-pulse::before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #facc15;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #facc15;
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(250, 204, 21, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

.badge-flagship {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.badge-platform {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--card-border);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.product-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.product-tagline.yellow {
    color: var(--accent-yellow);
    font-family: 'Space Mono', monospace;
    font-size: 1.05rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.bullet-item i {
    font-size: 1.05rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.bullet-item.yellow i {
    color: var(--accent-yellow);
}

.bullet-item.purple i {
    color: var(--primary);
}

.product-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-launch {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.85rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-launch.yellow-glow {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #111111;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
}

.btn-launch.yellow-glow:hover {
    background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(250, 204, 21, 0.5);
}

.btn-launch.purple-glow {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

.btn-launch.purple-glow:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.5);
}

.btn-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Product Showcase Visual Box */
.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-frame {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 1;
}

.visual-frame.yellow-theme {
    border-color: rgba(250, 204, 21, 0.3);
    background: linear-gradient(160deg, rgba(28, 25, 23, 0.95) 0%, rgba(17, 17, 17, 0.98) 100%);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-icon-wire {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #111111;
    border: 2px solid #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.25);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

.visual-icon-lea {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
    object-fit: cover;
    border: 2px solid rgba(168, 85, 247, 0.5);
    display: block;
}

.visual-titles h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.visual-titles span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.visual-preview-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.preview-item-row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.preview-item-row .tag-mini {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-yellow {
    background: rgba(250, 204, 21, 0.2);
    color: #fde047;
}

.tag-purple {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
}

.tag-cyan {
    background: rgba(34, 211, 238, 0.2);
    color: #67e8f9;
}

/* Studio Philosophy Section */
.philosophy-section {
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.3) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 4rem;
}

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

.phil-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform 0.2s ease;
}

.phil-card:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.3);
}

.phil-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.phil-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    background: rgba(10, 15, 30, 0.95);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive Media Queries */
@media (max-width: 900px) {
    .product-layout,
    .product-layout.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem;
    }

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

    .apps-hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid var(--card-border);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        align-items: flex-start;
    }

    nav.mobile-active {
        display: flex;
    }

    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-item-dropdown.mobile-open .dropdown-menu {
        display: grid;
    }
}
