@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #070a13;
    --bg-card: rgba(15, 22, 42, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 210, 255, 0.15);
    
    --color-text: #f3f4f6;
    --color-muted: #9ca3af;
    
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --secondary: #7f00ff;
    --accent: #ff007f;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text);
    line-height: 1.5;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Background Blur Gradients */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
    max-width: 100vw;
    overflow: hidden;
}
.blob-1 {
    top: 5%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}
.blob-2 {
    top: 30%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: var(--secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 1.25rem 5%;
    background: rgba(7, 10, 19, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.brand-logo {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    white-space: nowrap !important;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--color-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

/* Glassmorphism Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
    color: var(--color-text);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

/* Glass Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.05);
    transform: translateY(-4px);
}

/* Strategy Grid Cards (StrykeX style) */
.strategy-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.strategy-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-bullish {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-trend {
    background: rgba(0, 210, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.strategy-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.metric-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-title {
    font-size: 0.75rem;
    color: var(--color-muted);
    text-transform: uppercase;
}

.metric-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.value-success {
    color: var(--success);
}

/* Grid Layouts */
.features-grid,
.strategies-grid,
.tutorials-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-grid {
    margin-top: 3rem;
}

.pricing-card {
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Section Spacing */
.section {
    padding: 8rem 8% 4rem 8%;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Login/Signup Screen */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at center, #0e172e 0%, var(--bg-dark) 100%);
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-muted);
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

/* Float WhatsApp support button */
.whatsapp-support {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-support:hover {
    transform: scale(1.1);
}
.whatsapp-support svg {
    fill: #fff;
    width: 32px;
    height: 32px;
}

/* Floating Bottom CTA bar (StrykeX style) */
.bottom-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0f172a, #070a13);
    border-top: 1px solid var(--border-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 998;
}

body {
    padding-bottom: 5rem;
}

/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-only-action {
    display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
    .glow-blob {
        display: none !important;
    }

    .navbar {
        padding: 0.75rem 1rem !important;
        height: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .nav-brand {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .brand-logo {
        font-size: 1.22rem !important;
        white-space: nowrap !important;
    }

    .nav-toggle {
        display: flex !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    .nav-actions {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.open {
        display: flex !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        height: auto !important;
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
        background: rgba(7, 10, 19, 0.98) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border-bottom: 1px solid var(--border-color) !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        padding: 1.5rem 1.5rem 2.5rem 1.5rem !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
        z-index: 9999 !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-only-action {
        display: block;
        width: 100%;
    }

    .mobile-only-action .btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 0.75rem;
    }

    .section {
        padding: 5rem 1rem 3rem 1rem !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }

    .section-header h2 {
        font-size: 1.85rem !important;
    }

    .features-grid,
    .strategies-grid,
    .tutorials-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .brand-logo {
        font-size: 1.3rem;
    }

    .section {
        padding: 5rem 1rem 3rem 1rem;
    }

    .section-header h2 {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .card h3 {
        font-size: 1.15rem !important;
    }

    .strategy-metrics {
        grid-template-columns: 1fr 1fr;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .metric-value {
        font-size: 1rem;
    }

    .whatsapp-support {
        bottom: 5.75rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }

    .whatsapp-support svg {
        width: 26px;
        height: 26px;
    }

    .bottom-cta-bar {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .bottom-cta-bar > div {
        text-align: center;
    }

    .bottom-cta-bar .btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    body {
        padding-bottom: 6.5rem;
    }

    .auth-wrapper {
        padding: 1rem;
    }

    .auth-card {
        padding: 1.5rem 1.25rem;
    }
}

