/* ============================================
   NextGen Tech - Landing Page Design
   Inspired by Amobius Project Design
============================================ */

/* Landing Page Variables */
:root {
    --landing-bg-start: #8B1538;
    --landing-bg-end: #5D1A2D;
    --landing-accent: #D4A853;
    --landing-card-bg: #FAF8F5;
    --landing-card-border: #E8E4DD;
    --landing-text-dark: #2D2D2D;
    --landing-text-muted: #6B6B6B;
    --landing-purple: #5B5B8A;
    --landing-purple-light: #8B8BBF;
}

/* Landing Page Body Override */
body.landing-page {
    background: linear-gradient(135deg, var(--landing-bg-start) 0%, var(--landing-bg-end) 100%);
    min-height: 100vh;
}

/* Landing Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: background 0.3s ease;
}

.landing-header.scrolled {
    background: rgba(139, 21, 56, 0.95);
    backdrop-filter: blur(10px);
}

.landing-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--landing-accent);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

.landing-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--landing-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-bg-start);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.landing-nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.landing-nav-link:hover,
.landing-nav-link.active {
    color: #fff;
}

.landing-nav-cta {
    color: var(--landing-accent);
    font-size: 0.85rem;
}

/* Landing Hero Section */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 168, 83, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.landing-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content (Left Side) */
.landing-hero-content {
    color: #fff;
}

.landing-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.landing-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.landing-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.landing-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.landing-btn-primary {
    background: transparent;
    border: 2px solid var(--landing-accent);
    color: var(--landing-accent);
}

.landing-btn-primary:hover {
    background: var(--landing-accent);
    color: var(--landing-bg-start);
}

.landing-btn-secondary {
    background: var(--landing-accent);
    border: 2px solid var(--landing-accent);
    color: var(--landing-bg-start);
}

.landing-btn-secondary:hover {
    background: #e5b964;
    border-color: #e5b964;
}

.landing-hero-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 450px;
    font-style: italic;
}

/* Brain Icon Decoration */
.landing-brain-icon {
    position: absolute;
    bottom: 2rem;
    right: 55%;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    color: var(--landing-accent);
}

.landing-brain-icon svg,
.landing-brain-icon i {
    width: 100%;
    height: 100%;
    font-size: 120px;
}

/* Hero Device Card (Right Side) */
.landing-device-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-device {
    background: var(--landing-card-bg);
    border-radius: 24px;
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Device Header */
.device-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.device-header-icon {
    width: 40px;
    height: 40px;
    background: var(--landing-purple-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.device-nav-arrows {
    display: flex;
    gap: 0.5rem;
}

.device-nav-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--landing-card-border);
    border-radius: 6px;
    background: #fff;
    color: var(--landing-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.device-nav-arrow:hover {
    border-color: var(--landing-purple);
    color: var(--landing-purple);
}

.device-header-icons {
    display: flex;
    gap: 0.75rem;
}

.device-header-icons i {
    color: var(--landing-purple);
    font-size: 1.1rem;
}

/* Avatar Circle */
.device-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #E8E4F0 0%, #F5F3F8 100%);
    border-radius: 50%;
    border: 3px solid var(--landing-purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.device-avatar-inner {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D5D3E8 0%, #E8E6F2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.device-avatar-dots {
    display: flex;
    gap: 0.25rem;
}

.device-avatar-dot {
    width: 8px;
    height: 8px;
    background: var(--landing-purple);
    border-radius: 50%;
    opacity: 0.6;
}

.device-avatar-mic {
    width: 24px;
    height: 24px;
    background: var(--landing-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
}

/* Stats Row */
.device-stats {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.device-stat {
    text-align: center;
}

.device-stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--landing-text-dark);
}

.device-stat-value sup {
    font-size: 1rem;
    color: var(--landing-text-muted);
}

/* Info Card */
.device-info-card {
    background: #fff;
    border: 1px solid var(--landing-card-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.device-info-text {
    flex: 1;
}

.device-info-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--landing-text-dark);
    margin-bottom: 0.25rem;
}

.device-info-subtitle {
    font-size: 0.8rem;
    color: var(--landing-text-muted);
}

.device-info-rating {
    display: flex;
    gap: 0.125rem;
    color: var(--landing-accent);
    font-size: 0.7rem;
}

.device-play-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--landing-purple) 0%, var(--landing-purple-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.device-play-btn:hover {
    transform: scale(1.05);
}

/* Progress Section */
.device-progress {
    background: #fff;
    border: 1px solid var(--landing-card-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.device-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.device-progress-label {
    font-size: 0.75rem;
    color: var(--landing-text-muted);
}

.device-progress-bar {
    height: 4px;
    background: var(--landing-card-border);
    border-radius: 2px;
    overflow: hidden;
}

.device-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--landing-purple) 0%, var(--landing-purple-light) 100%);
    border-radius: 2px;
    width: 45%;
    transition: width 0.3s ease;
}

/* Reminder Row */
.device-reminder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
}

.device-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--landing-card-border);
    border-radius: 4px;
    cursor: pointer;
}

.device-reminder-text {
    font-size: 0.85rem;
    color: var(--landing-text-muted);
}

.device-reminder-btn {
    padding: 0.4rem 1rem;
    background: #fff;
    border: 1px solid var(--landing-card-border);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--landing-text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.device-reminder-btn:hover {
    border-color: var(--landing-purple);
    color: var(--landing-purple);
}

/* Bottom Player */
.device-player {
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--landing-purple) 0%, #7B6BA8 50%, var(--landing-purple-light) 100%);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.device-player-progress {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
}

.device-player-progress::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: #fff;
    border-radius: 2px;
}

.device-player-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .landing-hero-content {
        order: 1;
    }

    .landing-device-wrapper {
        order: 2;
    }

    .landing-hero-description {
        margin: 0 auto;
    }

    .landing-hero-buttons {
        justify-content: center;
    }

    .landing-brain-icon {
        display: none;
    }
}

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

    .landing-header-inner {
        padding: 0 1rem;
    }

    .landing-hero {
        padding: 5rem 1rem 2rem;
    }

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

    .landing-device {
        max-width: 340px;
        padding: 1rem;
    }

    .device-avatar {
        width: 100px;
        height: 100px;
    }

    .device-avatar-inner {
        width: 70px;
        height: 70px;
    }
}

/* Mobile Menu */
.landing-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

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

/* Animation Classes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.landing-device {
    animation: float 6s ease-in-out infinite;
}

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

.landing-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.landing-device-wrapper {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
