:root {
    --primary: #ef4136; /* Red */
    --primary-hover: #d32f2f;
    --secondary: #ff7043; /* Light Orange/Red */
    --bg-dark: #ffffff; /* White background */
    --bg-card: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.06);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-blur: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(239, 65, 54, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255, 112, 67, 0.04) 0%, transparent 40%),
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
    color: #0f172a;
}

.text-primary {
    color: var(--primary) !important;
}

.section-bg {
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gradient-text {
    background: linear-gradient(135deg, #ef4136 0%, #ff7043 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.navbar-brand {
    color: #0f172a !important;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    color: #475569 !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    margin: 0 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: #0f172a !important;
    transform: translateY(-1px);
}

.btn-nav {
    font-size: 0.875rem !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(239, 65, 54, 0.2);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(180deg, #ff5e52 0%, #e6392b 100%);
    border: 1px solid #d32f2f;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 8px 20px -4px rgba(239, 65, 54, 0.4);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: white !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ff6b5f 0%, #f44336 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 12px 25px -4px rgba(239, 65, 54, 0.5);
    transform: translateY(-2px);
    color: white !important;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(239, 65, 54, 0.3);
}

.glass-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), inset 0 -2px 0 0 rgba(0,0,0,0.02);
    color: var(--text-main) !important;
    transition: all 0.3s ease;
    font-weight: 600;
}

.glass-btn:hover {
    background: #fafbfc;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.06), inset 0 -2px 0 0 rgba(0,0,0,0.02);
    color: var(--primary) !important;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
}

.hero::before {
    top: 0;
    left: -10%;
    background: var(--primary); /* Soft brand red glow */
}

.hero::after {
    bottom: -10%;
    right: -10%;
    background: #3b82f6; /* Soft blue glow */
}

/* Responsive Hero Text */
.hero-title {
    font-size: 2.5rem;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}
.hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #475569;
    line-height: 1.7;
}
@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-btn {
    font-size: 0.85rem !important;
    padding: 0.75rem 1rem !important;
    white-space: nowrap;
}
@media (min-width: 576px) {
    .hero-btn {
        font-size: 1.05rem !important;
        padding: 1rem 1.5rem !important;
    }
}

/* Utilities */
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(239, 65, 54, 0.08);
    border: 1px solid rgba(239, 65, 54, 0.15);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(239, 65, 54, 0.05);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(239, 65, 54, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 65, 54, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 65, 54, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 65, 54, 0); }
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(239,65,54,0.06) 0%, rgba(255,255,255,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 20px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}
@media (min-width: 768px) {
    .feature-card {
        padding: 40px 32px;
    }
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 65, 54, 0.2);
    box-shadow: 0 20px 40px -5px rgba(239, 65, 54, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 65, 54, 0.1) 0%, rgba(255, 112, 67, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    border: 1px solid rgba(239, 65, 54, 0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
@media (min-width: 768px) {
    .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Glass Panels & Mockups */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.02);
}

.mockup-panel {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chat-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.chat-bubble.received {
    background-color: #f1f5f9;
    border-bottom-left-radius: 4px;
    color: var(--text-main);
}

.chat-bubble.sent {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5722 100%);
    border-bottom-right-radius: 4px;
    color: white;
}

.chat-bubble:nth-child(1) { animation-delay: 0.1s; }
.chat-bubble:nth-child(2) { animation-delay: 0.5s; }
.chat-bubble:nth-child(3) { animation-delay: 1.2s; }
.chat-bubble:nth-child(4) { animation-delay: 1.8s; }

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

.glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--primary);
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.12;
    z-index: -1;
}

.glow-orb.orb-2 {
    background: var(--secondary);
}

/* Steps */
.step-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateX(5px);
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(239, 65, 54, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    border: 1px solid rgba(239, 65, 54, 0.2);
    box-shadow: 0 4px 6px rgba(239, 65, 54, 0.05);
}

/* Check Icons */
.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 65, 54, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(239, 65, 54, 0.05);
}

.check-icon i.text-success {
    color: var(--primary) !important;
}

/* Forms - Ultra Premium */
.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control, .form-select {
    background-color: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-main);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.form-control:hover, .form-select:hover {
    border-color: rgba(0, 0, 0, 0.15);
    background-color: #f1f5f9;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(239, 65, 54, 0.1), inset 0 2px 4px rgba(0,0,0,0.01);
    transform: translateY(-1px);
    color: var(--text-main);
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

select option {
    background-color: #ffffff;
    color: var(--text-main);
}

.input-group-text {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: #f8fafc !important;
    color: #64748b !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-right: none !important;
    font-weight: 600;
    padding: 0 16px;
}

.input-group:focus-within .input-group-text {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    color: var(--primary) !important;
}

.input-group:focus-within .form-control {
    border-left-color: transparent !important;
}

.form-control[id="instagram"] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

/* Accordion */
.custom-accordion .accordion-item {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    border-color: rgba(0,0,0,0.12);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: #0f172a;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: none;
    padding: 24px;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: transparent;
}

.custom-accordion .accordion-button::after {
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(36%) sepia(87%) saturate(2250%) hue-rotate(345deg) brightness(97%) contrast(92%);
}

.custom-accordion .accordion-body {
    padding: 0 24px 24px 24px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Loading Spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}

/* Utilities */
.text-muted {
    color: #64748b !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-color);
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px;
    }
    .display-3 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .feature-card {
        padding: 24px;
    }
    .glass-panel {
        padding: 24px !important;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2.25rem;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
    .hero-stats .h3 {
        font-size: 1.5rem;
    }
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Scarcity Progress Bar */
.scarcity-box {
    background: #fff;
    border: 1px solid rgba(239, 65, 54, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(239, 65, 54, 0.05);
}

.progress {
    height: 8px;
    background-color: rgba(239, 65, 54, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 1.5s ease-in-out;
}

/* Typing indicator */
.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
