/* ===================================================
   TEAMVAGA LANDING PAGE - GAMING AESTHETIC
   =================================================== */

:root {
    --bg-primary: #0b0b10;
    --bg-secondary: #101015;
    --bg-card: #15151d;
    --bg-card-hover: #1c1c28;
    --accent: #e63946;
    --accent-dark: #c5303c;
    --accent-glow: rgba(230, 57, 70, 0.15);
    --accent-glow-strong: rgba(230, 57, 70, 0.3);
    --accent-secondary: #ff6b6b;
    --text-primary: #f0f0f5;
    --text-secondary: #9a9aaa;
    --text-muted: #5a5a6e;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(230, 57, 70, 0.25);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), #ff8a80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================================
   NAVBAR
   =================================================== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.7rem 0;
}

.nav-logo img {
    transition: opacity 0.3s;
}

.nav-links {
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.55rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-nav-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 25px var(--accent-glow);
}

.nav-actions {
    gap: 0.75rem;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-flag {
    width: 38px;
    height: 30px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 2px;
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.lang-flag:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.lang-flag.active {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255, 107, 107, 0.04) 0%, transparent 50%),
                var(--bg-primary);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid var(--border-accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow-strong); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--accent-glow-strong);
    color: var(--bg-primary);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.trust-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Discord Button */
.btn-hero-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #5865F2;
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.25);
}

.btn-hero-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(88, 101, 242, 0.4);
    color: #fff;
}

/* Step Link */
.step-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: #5865F2;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.step-link:hover {
    color: #7c8aff;
    transform: translateX(3px);
}

/* Discord CTA Box */
.discord-cta-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.discord-cta-icon {
    font-size: 1.5rem;
    color: #5865F2;
    flex-shrink: 0;
}

.discord-cta-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.discord-cta-text strong {
    color: #5865F2;
}

.discord-cta-btn {
    background: #5865F2;
    color: #fff;
    border: none;
    padding: 0.45rem 1.2rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
}

.discord-cta-btn:hover {
    background: #4752c4;
    color: #fff;
    transform: translateY(-1px);
}

/* Hero Visual (Rank Card) */
.hero-visual {
    position: relative;
    width: 300px;
    height: 400px;
}

.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 280px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.rank-card-header {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--bg-primary);
    padding: 0.8rem 1.2rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.rank-card-body {
    padding: 1rem 1.2rem;
}

.rank-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.rank-player:last-child {
    border-bottom: none;
}

.rank-pos {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    width: 30px;
}

.rank-name {
    flex: 1;
    color: var(--text-secondary);
}

.rank-pts {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.rank-card-footer {
    background: rgba(0, 255, 170, 0.05);
    padding: 0.7rem 1.2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.floating {
    animation: float 5s ease-in-out infinite;
}

.floating-delayed {
    animation: float 5s ease-in-out 1s infinite;
}

.floating-delayed-2 {
    animation: float 5s ease-in-out 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.stats-mini, .stats-mini-2 {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.stats-mini {
    bottom: -20px;
    left: -20px;
}

.stats-mini-2 {
    bottom: -20px;
    right: 0;
}

.stats-mini-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.stats-mini-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.5;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scroll-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features-section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-lg {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-card-lg p {
    flex: 1;
}

.feature-icon-wrap {
    position: relative;
    margin-bottom: 1.2rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    font-size: 1.3rem;
    color: var(--accent);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.feature-tags span {
    background: rgba(0, 255, 170, 0.06);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* ===================================================
   STATS SECTION
   =================================================== */
.stats-section {
    padding: 5rem 0;
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(230, 57, 70, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 57, 70, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px var(--accent-glow);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* ===================================================
   HOW IT WORKS SECTION
   =================================================== */
.how-section {
    padding: 7rem 0;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    width: 280px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 255, 170, 0.08);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: var(--accent);
}

.step-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.step-connector {
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.3;
}

/* ===================================================
   JOIN / LEAD FORM SECTION
   =================================================== */
.join-section {
    padding: 7rem 0;
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.join-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.06) 0%, transparent 70%);
    transform: translateY(-50%);
}

.join-section .section-header {
    text-align: left;
}

.join-section .section-desc {
    margin: 0;
}

.join-perks {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.perk-item i {
    color: var(--accent);
    font-size: 1rem;
}

.join-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-title i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.form-floating-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1rem 1rem 2.8rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all 0.3s;
    outline: none;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--accent);
    background: rgba(230, 57, 70, 0.03);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: transparent;
}

.form-floating-group label {
    position: absolute;
    left: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.88rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:not(select):focus ~ label,
.form-input:not(select):not(:placeholder-shown) ~ label,
.form-input:not(select):required ~ label {
    top: -8px;
    left: 1rem;
    font-size: 0.7rem;
    color: var(--accent);
    background: var(--bg-card);
    padding: 0 0.4rem;
}

.form-input:not(:focus):required ~ label {
    color: var(--text-muted);
}

select.form-input ~ label,
select.form-input:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 1rem;
    font-size: 0.7rem;
    color: var(--text-muted) !important;
    background: var(--bg-card);
    padding: 0 0.4rem;
}

select.form-input:focus ~ label {
    color: var(--accent) !important;
}

select.form-input {
    cursor: pointer;
}

select.form-input option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.form-input:focus ~ .input-icon {
    color: var(--accent);
}

.form-help {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: rgba(230, 57, 70, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.form-help i.fa-lightbulb {
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.form-help strong {
    color: var(--text-primary);
    font-weight: 600;
}

.form-help a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.form-help a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    color: var(--bg-primary);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--accent-glow-strong);
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    color: #ff5555;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ===================================================
   FOOTER
   =================================================== */
.landing-footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--accent-secondary);
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.feature-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.feature-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.feature-card.fade-in:nth-child(5) { transition-delay: 0.4s; }
.feature-card.fade-in:nth-child(6) { transition-delay: 0.5s; }

.perk-item.fade-in:nth-child(1) { transition-delay: 0s; }
.perk-item.fade-in:nth-child(2) { transition-delay: 0.08s; }
.perk-item.fade-in:nth-child(3) { transition-delay: 0.16s; }
.perk-item.fade-in:nth-child(4) { transition-delay: 0.24s; }
.perk-item.fade-in:nth-child(5) { transition-delay: 0.32s; }
.perk-item.fade-in:nth-child(6) { transition-delay: 0.4s; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-lg {
        grid-column: span 1;
        grid-row: span 1;
    }

    .steps-row {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .join-section .section-header {
        text-align: center;
    }

    .join-section .section-desc {
        margin: 0 auto;
    }

    .join-perks {
        align-items: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .stats-row {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.8rem;
    }

    .join-form-card {
        padding: 1.5rem;
    }

    .step-card {
        width: 100%;
    }

    /* Landing navbar mobile: hide desktop actions, show toggle */
    .nav-actions {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .landing-mobile-toggle {
        display: flex !important;
    }

    /* Hero badge spacing to avoid header overlap */
    .hero-badge {
        margin-top: 0.5rem;
        font-size: 0.65rem;
        padding: 0.4rem 0.9rem;
        letter-spacing: 1.5px;
    }

    .hero-section {
        padding-top: 70px;
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.35rem 0.75rem;
        letter-spacing: 1px;
    }

    .hero-section {
        padding-top: 60px;
    }

    .landing-nav {
        padding: 0.6rem 0;
    }

    .nav-logo img {
        height: 32px;
    }
}

/* =====================================================
   LANDING MOBILE MENU
   ===================================================== */
.landing-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing-mobile-toggle:hover,
.landing-mobile-toggle.active {
    background: rgba(0, 255, 170, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.landing-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.landing-mobile-menu.open {
    display: block;
    max-height: 400px;
}

.landing-mobile-menu-inner {
    padding: 1rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.landing-mobile-link {
    display: block;
    padding: 0.65rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.landing-mobile-link:hover {
    color: var(--accent);
    background: rgba(0, 255, 170, 0.05);
}

.landing-mobile-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.landing-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
}

.landing-mobile-lang {
    justify-content: center;
    margin-top: 0.25rem;
}
