/*
==============================================================================
FILE: /css/main.css
PURPOSE: Homepage-specific styles (main.html)
VERSION: 1.0.0
DATE: 2026-02-25
==============================================================================
*/

/* ==========================================================================
   NAVIGATION - HOMEPAGE VARIANT
   ========================================================================== */

nav {
    background: transparent;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

/* Hero Brand Icon - Floating Animation */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-brand img {
    width: clamp(200px, 25vw, 380px);
    height: auto;
    opacity: 0.18;
    animation: floatBird 4s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes floatBird {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero h1 {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

/* ==========================================================================
   SCROLL INDICATOR
   ========================================================================== */

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 60px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1s;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: #dddddd;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.products {
    padding: 150px 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.section-header .section-title {
    font-size: clamp(36px, 5vw, 56px);
}

.section-header .section-description {
    max-width: 400px;
    text-align: right;
    font-size: 15px;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s ease,
                border-color 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px var(--shadow);
    border-color: var(--accent);
}

.product-card.coming-soon {
    opacity: 0.6;
}

.product-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
    cursor: default;
}

.product-status {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.coming-soon .product-status {
    color: var(--text-muted);
}

.coming-soon .product-status::before {
    background: var(--text-muted);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-name {
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.product-icon {
    font-size: 48px;
    color: var(--accent);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-icon {
    opacity: 1;
    transform: scale(1.05);
}

.coming-soon .product-icon {
    color: var(--text-muted);
    opacity: 0.4;
}

.product-tagline {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.product-link {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.product-card:hover .product-link {
    color: var(--accent);
    gap: 15px;
}

.product-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-link svg {
    transform: translateX(5px);
}

.coming-soon .product-link {
    pointer-events: none;
    opacity: 0.5;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
    padding: 150px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content {
    max-width: 500px;
}

.about h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kbird-container {
    width: 300px;
    height: 300px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.kbird-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid var(--border);
    border-radius: 50%;
    opacity: 0.5;
}

.kbird-container img {
    width: 162px;
    height: auto;
}

/* ==========================================================================
   THEME-AWARE BRAND IMAGES
   ========================================================================== */
.brand-light {
    display: none;
}

[data-theme="light"] .brand-dark {
    display: none;
}

[data-theme="light"] .brand-light {
    display: block;
}

/* Nav logo sizing */
.logo img {
    height: 28px;
    width: auto;
}

/* Footer logo sizing */
.footer-logo img {
    height: 24px;
    width: auto;
}

/* ==========================================================================
   RESPONSIVE - HOMEPAGE
   ========================================================================== */

@media (max-width: 900px) {
    .hero,
    .products,
    .about {
        padding-left: 30px;
        padding-right: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-header .section-description {
        text-align: left;
    }

    .product-icon {
        font-size: 36px;
    }
}