/* -------------------------------------------------------------
   ClaimX Stylesheet — Premium Dark Mode Theme with Glassmorphism
---------------------------------------------------------------- */

:root {
    --bg-dark: #090a10;
    --bg-card: rgba(17, 19, 31, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(99, 102, 241, 0.2);
    
    /* Elegant vibrant colors */
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #06b6d4;
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    
    /* Typography colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Premium Glowing Backgrounds */
.glow-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 10, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color-glow);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 12px;
    transition: var(--transition);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Phone Mockup */
.phone-frame {
    background: #1e1e2d;
    border: 10px solid #2d2d3f;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    aspect-ratio: 9/19;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.phone-screen {
    background: #0f1016;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* WhatsApp Layout Mock */
.wa-header {
    background: #128c7e;
    color: white;
    padding: 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.wa-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-back {
    font-size: 14px;
    opacity: 0.8;
}

.wa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.wa-details {
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-size: 14px;
    font-weight: 600;
}

.wa-status {
    font-size: 10px;
    opacity: 0.8;
}

.wa-actions {
    display: flex;
    gap: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.wa-chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-image: radial-gradient(rgba(18, 140, 126, 0.05) 1px, transparent 0);
    background-size: 16px 16px;
}

.wa-date {
    align-self: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

/* Chat Bubbles */
.bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
    animation: bubbleAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bubble-user {
    align-self: flex-end;
    background: #005c4b;
    color: white;
    border-bottom-right-radius: 2px;
}

.bubble-bot {
    align-self: flex-start;
    background: #202c33;
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
}

.wa-input-area {
    background: #1f2c34;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-icon {
    color: var(--text-secondary);
    font-size: 18px;
}

.wa-text-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.wa-mic-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a884;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* Sections Base Styling */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works */
.how-it-works-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

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

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--border-color-glow);
    transform: translateY(-4px);
}

.step-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
}

.step-icon {
    font-size: 24px;
}

.step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Demo Console Section */
.demo-section {
    padding: 100px 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.demo-prompts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prompt-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.prompt-btn i {
    font-size: 22px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.prompt-text {
    display: flex;
    flex-direction: column;
}

.prompt-text strong {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.prompt-text span {
    font-size: 12px;
    color: var(--text-secondary);
}

.prompt-btn:hover,
.prompt-btn.active {
    border-color: var(--border-color-glow);
    background: rgba(99, 102, 241, 0.05);
}

.prompt-btn.active i {
    color: var(--primary);
}

/* Console window mock */
.demo-console {
    background: #0f111a;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 380px;
}

.console-header {
    background: #161824;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.console-title {
    font-size: 11px;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.console-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #38bdf8;
    line-height: 1.5;
}

/* Calculator Card */
.calculator-section {
    padding: 100px 0;
}

.calculator-card {
    background: linear-gradient(135deg, rgba(17, 19, 31, 0.8) 0%, rgba(9, 10, 16, 0.8) 100%);
    border: 1px solid var(--border-color-glow);
    border-radius: 32px;
    padding: 56px 48px;
    backdrop-filter: blur(20px);
}

.calc-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.calc-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: 15px;
    margin-bottom: 48px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.input-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: var(--transition);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.input-group select {
    background: #161824;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    outline: none;
    cursor: pointer;
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.highlight-tile {
    grid-column: span 2;
    background: rgba(99, 102, 241, 0.04);
    border-color: var(--border-color-glow);
}

.highlight-tile .result-value {
    color: var(--secondary);
    font-size: 32px;
}

.fee-disclaimer {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Pricing Grid */
.pricing-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.005);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px;
    flex: 1;
    position: relative;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.price-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.featured-price {
    border-color: var(--border-color-glow);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(9, 10, 16, 0.8) 100%);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 1px;
}

.price-header {
    margin-bottom: 32px;
    text-align: center;
}

.price-tier {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.price-amt {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
}

.price-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.price-features li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li i {
    color: var(--success);
}

.price-btn {
    width: 100%;
}

.featured-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

/* Footer styling */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
    background: #07080d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 320px;
}

.footer-grid h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-grid a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-grid a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Animations */
@keyframes bubbleAppear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-grid {
        flex-direction: column;
        gap: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
