/* CSS variables for consistent layout styling */
:root {
    --primary: #FF5A1F;
    --primary-hover: #E04810;
    --primary-glow: rgba(255, 90, 31, 0.25);
    
    --secondary: #10B981;
    --secondary-hover: #059669;
    
    --dark-bg: #090D16;
    --dark-card: rgba(17, 24, 39, 0.7);
    --dark-card-border: rgba(255, 255, 255, 0.08);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

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

/* Helper styles */
.text-center { text-align: center; }
.align-center { align-items: center; }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-card-border);
    padding: 16px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.logo-accent {
    background: linear-gradient(135deg, #FF7E40 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav {
    display: flex;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 90, 31, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--dark-card-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
}
.btn-block {
    display: flex;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px 0;
    overflow: hidden;
}
.hero-bg-glowing {
    position: absolute;
    top: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.15) 0%, rgba(9, 13, 22, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.badge-new {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 90, 31, 0.1);
    border: 1px solid rgba(255, 90, 31, 0.2);
    color: #FF8A50;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 1.5s infinite;
}
.hero-title {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-badges {
    display: flex;
    gap: 16px;
}
.badge-store {
    display: flex;
    align-items: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}
.badge-store:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.store-icon {
    font-size: 24px;
    margin-right: 12px;
}
.badge-store div {
    display: flex;
    flex-direction: column;
}
.badge-store span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.badge-store strong {
    font-size: 15px;
    font-family: var(--font-heading);
    font-weight: 600;
}
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.2) 0%, rgba(9, 13, 22, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}
.hero-mockup {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

/* Sections General */
.section {
    padding: 100px 0;
}
.section-dark {
    background-color: rgba(17, 24, 39, 0.3);
    border-top: 1px solid var(--dark-card-border);
    border-bottom: 1px solid var(--dark-card-border);
}
.section-header {
    margin-bottom: 64px;
}
.section-title {
    font-size: 38px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-text {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Cards */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 90, 31, 0.2);
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.benefit-icon-wrapper {
    background: rgba(255, 90, 31, 0.1);
    color: var(--primary);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 20px;
}
.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.benefit-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Section Images & Previews */
.section-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}
.glowing-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(9, 13, 22, 0) 70%);
    filter: blur(50px);
    z-index: -1;
}
.glowing-orb.orange {
    background: radial-gradient(circle, rgba(255, 90, 31, 0.15) 0%, rgba(9, 13, 22, 0) 70%);
}

.stats-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 32px;
    width: 320px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 5s ease-in-out infinite;
}
.stats-header {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stats-amount {
    font-size: 42px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary);
    margin: 8px 0;
}
.stats-trend {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
}

.dashboard-preview-card {
    background: rgba(255, 90, 31, 0.05);
    border: 1px solid rgba(255, 90, 31, 0.15);
    border-radius: 24px;
    padding: 32px;
    width: 360px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite 0.5s;
}
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.preview-header span {
    font-size: 13px;
    color: var(--text-muted);
}
.preview-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.preview-value {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 16px 0;
}
.preview-chart-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    gap: 8px;
    margin-top: 24px;
}
.preview-chart-placeholder .bar {
    width: 100%;
    background: linear-gradient(to top, rgba(255, 90, 31, 0.3), var(--primary));
    border-radius: 4px;
}

/* Features lists */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.feature-item {
    display: flex;
    gap: 20px;
}
.feature-icon {
    font-size: 20px;
    color: var(--primary);
    margin-top: 4px;
}
.feature-item h4 {
    font-size: 18px;
    margin-bottom: 6px;
}
.feature-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Lead Application Form Section */
.lead-section {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at bottom, rgba(255, 90, 31, 0.05) 0%, rgba(9, 13, 22, 0) 60%);
}
.lead-bg-glowing {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.1) 0%, rgba(9, 13, 22, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}
.lead-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.lead-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.lead-info p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-item i {
    font-size: 18px;
    color: var(--primary);
    width: 24px;
}
.contact-item span {
    font-size: 16px;
}

/* Glassmorphic Form Card */
.lead-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input, .form-group select, .form-group textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--dark-card-border);
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 90, 31, 0.5);
    box-shadow: 0 0 10px rgba(255, 90, 31, 0.15);
    background: rgba(15, 23, 42, 0.8);
}
.form-group select option {
    background: #0F172A;
    color: var(--text-main);
}

/* Spinner & Messages */
.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.form-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Footer */
.footer {
    border-top: 1px solid var(--dark-card-border);
    padding: 48px 0;
    background-color: #06090F;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 8px;
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--text-main);
}
.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 968px) {
    .grid-3, .grid-2, .hero-container, .lead-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero {
        padding-top: 130px;
    }
    .nav {
        display: none;
    }
}
