/* ===== BYTEIN AI HOMEPAGE - Odoo Layout Override ===== */
body:has(.bytein-homepage) {
    background: #050510 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.bytein-homepage) > * {
    background: transparent !important;
}

body:has(.bytein-homepage) #wrapwrap,
body:has(.bytein-homepage) #wrap,
body:has(.bytein-homepage) main,
body:has(.bytein-homepage) .o_main,
body:has(.bytein-homepage) .container-fluid,
body:has(.bytein-homepage) .oe_website_sale {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: transparent !important;
}

/* ===== BYTEIN AI HOMEPAGE - RESET & BASE ===== */
.bytein-homepage *, .bytein-homepage *::before, .bytein-homepage *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bi-bg-primary: #050510;
    --bi-bg-secondary: #0a0a1a;
    --bi-bg-card: rgba(255,255,255,0.04);
    --bi-bg-card-hover: rgba(255,255,255,0.08);
    --bi-text-primary: #ffffff;
    --bi-text-secondary: rgba(255,255,255,0.7);
    --bi-text-muted: rgba(255,255,255,0.45);
    --bi-accent-1: #6C5CE7;
    --bi-accent-2: #a855f7;
    --bi-accent-3: #ec4899;
    --bi-accent-4: #06b6d4;
    --bi-gradient-main: linear-gradient(135deg, #6C5CE7, #a855f7, #ec4899);
    --bi-gradient-card: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(168,85,247,0.08));
    --bi-border-color: rgba(255,255,255,0.08);
    --bi-radius: 16px;
    --bi-radius-sm: 10px;
    --bi-radius-lg: 24px;
}

.bytein-homepage {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bi-bg-primary);
    color: var(--bi-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== UTILITY ===== */
.bytein-homepage .bi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bytein-homepage .bi-gradient-text {
    background: var(--bi-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bytein-homepage .bi-section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bi-accent-2);
    margin-bottom: 16px;
    display: inline-block;
}

.bytein-homepage .bi-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.bytein-homepage .bi-section-desc {
    font-size: 1.1rem;
    color: var(--bi-text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== BACKGROUND EFFECTS ===== */
.bytein-homepage .bi-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.bytein-homepage .bi-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

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

.bytein-homepage .bi-navbar.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bi-border-color);
    padding: 12px 0;
}

.bytein-homepage .bi-navbar .bi-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bytein-homepage .bi-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.bytein-homepage .bi-nav-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--bi-gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.bytein-homepage .bi-nav-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bi-text-primary);
}

.bytein-homepage .bi-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.bytein-homepage .bi-nav-links a {
    color: var(--bi-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.bytein-homepage .bi-nav-links a:hover { color: var(--bi-text-primary); }

.bytein-homepage .bi-nav-cta {
    background: var(--bi-gradient-main);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.bytein-homepage .bi-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108,92,231,0.4);
}

.bytein-homepage .bi-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.bytein-homepage .bi-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.bytein-homepage .bi-hero .bi-bg-glow.glow-1 {
    width: 600px; height: 600px;
    background: var(--bi-accent-1);
    top: -100px; left: -200px;
}

.bytein-homepage .bi-hero .bi-bg-glow.glow-2 {
    width: 500px; height: 500px;
    background: var(--bi-accent-3);
    bottom: -100px; right: -150px;
}

.bytein-homepage .bi-hero .bi-bg-glow.glow-3 {
    width: 300px; height: 300px;
    background: var(--bi-accent-4);
    top: 40%; left: 50%;
    opacity: 0.15;
}

.bytein-homepage .bi-hero .bi-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bytein-homepage .bi-hero-content { max-width: 580px; }

.bytein-homepage .bi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(108,92,231,0.15);
    border: 1px solid rgba(108,92,231,0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bi-accent-2);
    margin-bottom: 24px;
    animation: biFadeInUp 0.8s ease;
}

.bytein-homepage .bi-hero-badge .pulse {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: biPulse 2s infinite;
}

.bytein-homepage .bi-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: biFadeInUp 0.8s ease 0.1s both;
}

.bytein-homepage .bi-hero-desc {
    font-size: 1.15rem;
    color: var(--bi-text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    animation: biFadeInUp 0.8s ease 0.2s both;
}

.bytein-homepage .bi-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: biFadeInUp 0.8s ease 0.3s both;
}

.bytein-homepage .bi-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--bi-border-color);
}

.bytein-homepage .bi-store-btn.apple {
    background: white;
    color: #000;
}

.bytein-homepage .bi-store-btn.google {
    background: var(--bi-bg-card);
    color: white;
}

.bytein-homepage .bi-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(108,92,231,0.3);
}

.bytein-homepage .bi-store-btn i {
    font-size: 1.8rem;
}

.bytein-homepage .bi-store-btn-text {
    display: flex;
    flex-direction: column;
}

.bytein-homepage .bi-store-btn-text small {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 500;
}

.bytein-homepage .bi-store-btn-text span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.bytein-homepage .bi-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    animation: biFadeInUp 0.8s ease 0.4s both;
}

.bytein-homepage .bi-hero-stat {
    display: flex;
    flex-direction: column;
}

.bytein-homepage .bi-hero-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.bytein-homepage .bi-hero-stat-label {
    font-size: 0.85rem;
    color: var(--bi-text-muted);
}

/* Hero Visual */
.bytein-homepage .bi-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: biFadeInUp 1s ease 0.3s both;
}

.bytein-homepage .bi-phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e, #16162a);
    border-radius: 40px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow:
        0 50px 100px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
    z-index: 2;
}

.bytein-homepage .bi-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0a0a1a;
    border-radius: 0 0 20px 20px;
    z-index: 3;
}

.bytein-homepage .bi-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f0f23 0%, #1a0a2e 50%, #0f1a2e 100%);
    padding: 40px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bytein-homepage .bi-phone-header {
    text-align: center;
    padding: 8px 0;
}

.bytein-homepage .bi-phone-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

.bytein-homepage .bi-phone-prompt-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px;
    font-size: 0.72rem;
    color: var(--bi-text-secondary);
    line-height: 1.5;
}

.bytein-homepage .bi-phone-prompt-box .prompt-label {
    color: var(--bi-accent-2);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bytein-homepage .bi-phone-gen-btn {
    background: var(--bi-gradient-main);
    border: none;
    border-radius: 10px;
    padding: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
}

.bytein-homepage .bi-phone-result {
    flex: 1;
    background: linear-gradient(135deg, #2d1b69, #1a3a5c, #2d1b4e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bytein-homepage .bi-phone-result::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(168,85,247,0.3), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(6,182,212,0.3), transparent 50%);
}

.bytein-homepage .bi-phone-result-icon {
    font-size: 2.5rem;
    opacity: 0.6;
    z-index: 1;
}

.bytein-homepage .bi-phone-result-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #22c55e;
    z-index: 1;
}

/* Floating cards around phone */
.bytein-homepage .bi-floating-card {
    position: absolute;
    background: rgba(15,15,30,0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 14px 18px;
    z-index: 3;
    animation: biFloat 6s ease-in-out infinite;
}

.bytein-homepage .bi-floating-card.card-1 {
    top: 60px; right: -30px;
    animation-delay: 0s;
}

.bytein-homepage .bi-floating-card.card-2 {
    bottom: 120px; left: -40px;
    animation-delay: -2s;
}

.bytein-homepage .bi-floating-card.card-3 {
    bottom: 40px; right: -20px;
    animation-delay: -4s;
}

.bytein-homepage .bi-floating-card-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.bytein-homepage .bi-floating-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.bytein-homepage .bi-floating-card-desc {
    font-size: 0.65rem;
    color: var(--bi-text-muted);
}

/* ===== MODELS MARQUEE ===== */
.bytein-homepage .bi-models-bar {
    position: relative;
    padding: 40px 0;
    border-top: 1px solid var(--bi-border-color);
    border-bottom: 1px solid var(--bi-border-color);
    overflow: hidden;
}

.bytein-homepage .bi-models-bar-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--bi-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 24px;
}

.bytein-homepage .bi-marquee-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.bytein-homepage .bi-marquee-track {
    display: flex;
    gap: 48px;
    animation: biMarquee 30s linear infinite;
    width: max-content;
}

.bytein-homepage .bi-marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bytein-homepage .bi-marquee-item-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bytein-homepage .bi-marquee-item-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bi-text-secondary);
}

/* ===== FEATURES ===== */
.bytein-homepage .bi-features {
    position: relative;
    padding: 120px 0;
}

.bytein-homepage .bi-features-header {
    text-align: center;
    margin-bottom: 64px;
}

.bytein-homepage .bi-features-header .bi-section-desc {
    margin: 0 auto;
}

.bytein-homepage .bi-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bytein-homepage .bi-feature-card {
    position: relative;
    background: var(--bi-bg-card);
    border: 1px solid var(--bi-border-color);
    border-radius: var(--bi-radius-lg);
    padding: 40px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bytein-homepage .bi-feature-card:hover {
    background: var(--bi-bg-card-hover);
    border-color: rgba(108,92,231,0.3);
    transform: translateY(-4px);
}

.bytein-homepage .bi-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bi-gradient-main);
    opacity: 0;
    transition: opacity 0.4s;
}

.bytein-homepage .bi-feature-card:hover::before { opacity: 1; }

.bytein-homepage .bi-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.bytein-homepage .bi-feature-icon.purple { background: rgba(108,92,231,0.15); color: var(--bi-accent-1); }
.bytein-homepage .bi-feature-icon.pink { background: rgba(236,72,153,0.15); color: var(--bi-accent-3); }
.bytein-homepage .bi-feature-icon.cyan { background: rgba(6,182,212,0.15); color: var(--bi-accent-4); }
.bytein-homepage .bi-feature-icon.violet { background: rgba(168,85,247,0.15); color: var(--bi-accent-2); }

.bytein-homepage .bi-feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.bytein-homepage .bi-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.bytein-homepage .bi-feature-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--bi-text-secondary);
}

/* ===== AI MODELS SECTION ===== */
.bytein-homepage .bi-ai-models {
    position: relative;
    padding: 120px 0;
    background: var(--bi-bg-secondary);
}

.bytein-homepage .bi-ai-models-header {
    text-align: center;
    margin-bottom: 64px;
}

.bytein-homepage .bi-ai-models-header .bi-section-desc {
    margin: 0 auto;
}

.bytein-homepage .bi-models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bytein-homepage .bi-model-card {
    position: relative;
    background: var(--bi-bg-card);
    border: 1px solid var(--bi-border-color);
    border-radius: var(--bi-radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.bytein-homepage .bi-model-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108,92,231,0.4);
    box-shadow: 0 20px 60px rgba(108,92,231,0.15);
}

.bytein-homepage .bi-model-card-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.3s;
}

.bytein-homepage .bi-model-card:hover .bi-model-card-glow {
    opacity: 0.4;
}

.bytein-homepage .bi-model-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.bytein-homepage .bi-model-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.bytein-homepage .bi-model-card p {
    font-size: 0.8rem;
    color: var(--bi-text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.bytein-homepage .bi-model-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.bytein-homepage .badge-video { background: rgba(236,72,153,0.15); color: var(--bi-accent-3); }
.bytein-homepage .badge-image { background: rgba(6,182,212,0.15); color: var(--bi-accent-4); }
.bytein-homepage .badge-both { background: rgba(108,92,231,0.15); color: var(--bi-accent-1); }
.bytein-homepage .badge-speed { background: rgba(34,197,94,0.15); color: #22c55e; }

/* ===== TEMPLATES SECTION ===== */
.bytein-homepage .bi-templates {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.bytein-homepage .bi-templates-header {
    text-align: center;
    margin-bottom: 64px;
}

.bytein-homepage .bi-templates-header .bi-section-desc {
    margin: 0 auto;
}

.bytein-homepage .bi-templates-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bytein-homepage .bi-template-card {
    position: relative;
    border-radius: var(--bi-radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.4s ease;
}

.bytein-homepage .bi-template-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.bytein-homepage .bi-template-card-bg {
    position: absolute;
    inset: 0;
    border-radius: var(--bi-radius-lg);
}

.bytein-homepage .bi-template-card:nth-child(1) .bi-template-card-bg {
    background: linear-gradient(135deg, #1a0533, #2d1b69, #0f3460);
}
.bytein-homepage .bi-template-card:nth-child(2) .bi-template-card-bg {
    background: linear-gradient(135deg, #0a1628, #1a3a5c, #2d1b4e);
}
.bytein-homepage .bi-template-card:nth-child(3) .bi-template-card-bg {
    background: linear-gradient(135deg, #1a0a2e, #4a1942, #1a0533);
}
.bytein-homepage .bi-template-card:nth-child(4) .bi-template-card-bg {
    background: linear-gradient(135deg, #0f1a2e, #1a3a5c, #0a2540);
}
.bytein-homepage .bi-template-card:nth-child(5) .bi-template-card-bg {
    background: linear-gradient(135deg, #2d0a1a, #4a0a2e, #1a0a2e);
}
.bytein-homepage .bi-template-card:nth-child(6) .bi-template-card-bg {
    background: linear-gradient(135deg, #0a2e1a, #1a4a2e, #0a1a2e);
}

.bytein-homepage .bi-template-card-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.bytein-homepage .bi-template-trend-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(236,72,153,0.9);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bytein-homepage .bi-template-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

.bytein-homepage .bi-template-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.bytein-homepage .bi-template-card p {
    font-size: 0.8rem;
    color: var(--bi-text-secondary);
    line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.bytein-homepage .bi-how-it-works {
    position: relative;
    padding: 120px 0;
    background: var(--bi-bg-secondary);
}

.bytein-homepage .bi-how-header {
    text-align: center;
    margin-bottom: 64px;
}

.bytein-homepage .bi-how-header .bi-section-desc {
    margin: 0 auto;
}

.bytein-homepage .bi-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.bytein-homepage .bi-steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--bi-accent-1), var(--bi-accent-2), var(--bi-accent-3));
    opacity: 0.3;
}

.bytein-homepage .bi-step-card {
    text-align: center;
    position: relative;
}

.bytein-homepage .bi-step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--bi-gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.bytein-homepage .bi-step-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bytein-homepage .bi-step-card p {
    color: var(--bi-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== CTA SECTION ===== */
.bytein-homepage .bi-cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.bytein-homepage .bi-cta-box {
    position: relative;
    background: linear-gradient(135deg, rgba(108,92,231,0.2), rgba(168,85,247,0.1), rgba(236,72,153,0.15));
    border: 1px solid rgba(108,92,231,0.3);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
}

.bytein-homepage .bi-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(108,92,231,0.2), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236,72,153,0.15), transparent 40%);
    z-index: 0;
}

.bytein-homepage .bi-cta-box > * { position: relative; z-index: 1; }

.bytein-homepage .bi-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.bytein-homepage .bi-cta-desc {
    font-size: 1.15rem;
    color: var(--bi-text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.bytein-homepage .bi-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bytein-homepage .bi-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.bytein-homepage .bi-cta-btn.primary {
    background: white;
    color: #0a0a1a;
}

.bytein-homepage .bi-cta-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.bytein-homepage .bi-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(108,92,231,0.3);
}

.bytein-homepage .bi-cta-btn i { font-size: 1.3rem; }

/* ===== FOOTER ===== */
.bytein-homepage .bi-footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--bi-border-color);
}

.bytein-homepage .bi-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.bytein-homepage .bi-footer-brand {
    max-width: 320px;
}

.bytein-homepage .bi-footer-brand .bi-nav-logo {
    margin-bottom: 16px;
}

.bytein-homepage .bi-footer-brand p {
    color: var(--bi-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.bytein-homepage .bi-footer-links {
    display: flex;
    gap: 60px;
}

.bytein-homepage .bi-footer-col h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--bi-text-primary);
}

.bytein-homepage .bi-footer-col a {
    display: block;
    color: var(--bi-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.bytein-homepage .bi-footer-col a:hover { color: var(--bi-text-primary); }

.bytein-homepage .bi-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--bi-border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.bytein-homepage .bi-footer-bottom p {
    color: var(--bi-text-muted);
    font-size: 0.85rem;
}

.bytein-homepage .bi-footer-socials {
    display: flex;
    gap: 12px;
}

.bytein-homepage .bi-footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bi-bg-card);
    border: 1px solid var(--bi-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bi-text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.bytein-homepage .bi-footer-socials a:hover {
    background: var(--bi-bg-card-hover);
    color: white;
    border-color: rgba(108,92,231,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes biFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes biFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes biPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes biMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Scroll animations */
.bytein-homepage .bi-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bytein-homepage .bi-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bytein-homepage .bi-models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .bytein-homepage .bi-hero .bi-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bytein-homepage .bi-hero-content { max-width: 100%; }

    .bytein-homepage .bi-hero-buttons { justify-content: center; }

    .bytein-homepage .bi-hero-stats { justify-content: center; }

    .bytein-homepage .bi-hero-visual { margin-top: 40px; }

    .bytein-homepage .bi-features-grid {
        grid-template-columns: 1fr;
    }

    .bytein-homepage .bi-models-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bytein-homepage .bi-templates-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .bytein-homepage .bi-steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bytein-homepage .bi-steps-grid::before { display: none; }

    .bytein-homepage .bi-nav-links { display: none; }

    .bytein-homepage .bi-mobile-menu-btn { display: block; }

    /* Mobile menu */
    .bytein-homepage .bi-nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5,5,16,0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--bi-border-color);
    }

    .bytein-homepage .bi-footer-links { gap: 30px; }
}

@media (max-width: 600px) {
    .bytein-homepage .bi-hero { padding: 100px 0 60px; }

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

    .bytein-homepage .bi-store-btn { width: 100%; max-width: 280px; justify-content: center; }

    .bytein-homepage .bi-hero-stats { flex-direction: column; gap: 16px; align-items: center; }

    .bytein-homepage .bi-models-grid { grid-template-columns: 1fr; }

    .bytein-homepage .bi-templates-showcase { grid-template-columns: 1fr; }

    .bytein-homepage .bi-template-card { aspect-ratio: 4/3; }

    .bytein-homepage .bi-cta-box { padding: 48px 24px; }

    .bytein-homepage .bi-footer-top { flex-direction: column; }

    .bytein-homepage .bi-footer-links { flex-direction: column; gap: 30px; }

    .bytein-homepage .bi-footer-bottom { flex-direction: column; text-align: center; }

    .bytein-homepage .bi-feature-card { padding: 28px; }

    .bytein-homepage .bi-phone-mockup { width: 240px; height: 500px; }

    .bytein-homepage .bi-floating-card.card-1 { right: -10px; top: 40px; }
    .bytein-homepage .bi-floating-card.card-2 { left: -10px; }
    .bytein-homepage .bi-floating-card.card-3 { right: -5px; }
}
