/* =========================================
   Design System & Variables
   ========================================= */
:root {
    /* Colors */
    --primary: #0F172A;
    /* Deep Navy */
    --primary-light: #1E293B;
    --accent: #10B981;
    /* Emerald Green - Success/Action */
    --accent-hover: #059669;
    --gold: #F59E0B;
    /* Used for premium highlights */

    --bg-main: #F8FAFC;
    --surface: #FFFFFF;

    --text-main: #1E293B;
    --text-muted: #64748B;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 20px 25px -5px rgba(16, 185, 129, 0.2);

    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

.hidden {
    display: none !important;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* =========================================
   Buttons & Inputs
   ========================================= */
button,
.btn,
[class*="btn-"] {
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background-color: var(--accent);
    color: white;
}

.btn-success:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-size: 1.1rem;
    padding: 16px 32px;
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
}

.btn-block {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    background-color: var(--bg-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for navbar */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 16px;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: #CBD5E1;
    margin-bottom: 48px;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.action-card.featured {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.action-card.featured:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.3);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: #451A03;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.action-card.featured .card-icon {
    color: var(--gold);
}

.action-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.action-card p {
    color: #94A3B8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

/* =========================================
   Flow Sections (Forms & Wizard)
   ========================================= */
.flow-section {
    min-height: 100vh;
    padding: 100px 0 60px;
    animation: fadeIn 0.4s ease-out;
}

.btn-back {
    background: none;
    color: var(--text-muted);
    padding: 8px 0;
    margin-bottom: 24px;
}

.btn-back:hover {
    color: var(--primary);
}

.form-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.badge-gold {
    display: inline-block;
    background: #FEF3C7;
    color: #D97706;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.form-header p {
    color: var(--text-muted);
    margin-top: 8px;
}

/* Wizard Logic */
.progress-bar {
    height: 6px;
    background: #E2E8F0;
    border-radius: 100px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 25%;
    transition: width 0.4s ease;
}

.step {
    display: none;
    animation: slideUp 0.4s ease-out;
}

.step.active {
    display: block;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.option-box {
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-muted);
}

.option-box:hover {
    border-color: var(--accent);
    color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.option-box.selected {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

/* Range Input */
.range-container {
    padding: 24px;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    text-align: center;
}

input[type=range] {
    width: 100%;
    accent-color: var(--accent);
    margin-bottom: 16px;
}

.value-display {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

.hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.step-actions {
    display: flex;
    justify-content: space-between;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 24px;
}

.success-message p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.pulse {
    animation: pulseObj 2s infinite;
}

/* Owner Form specific */
.owner-form .input-group {
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid #E2E8F0;
    padding-top: 24px;
}

.benefit-item {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.benefit-item i {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes pulseObj {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Navbar Adjustments */
    .logo {
        font-size: 1.25rem;
        gap: 4px;
    }

    .logo img {
        width: 30px !important;
        height: 30px !important;
    }

    /* Mobile WhatsApp Button */
    .btn-nav-whatsapp {
        padding: 0 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: 50% !important;
        background-color: #25D366 !important;
        border-color: #25D366 !important;
        color: white !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .btn-nav-whatsapp .btn-text {
        display: none !important;
        /* Hide long text to save space */
    }

    .btn-nav-whatsapp .icon-whatsapp {
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        color: white !important;
    }
}

.btn-nav-whatsapp .icon-whatsapp {
    color: #25D366;
    /* Official WhatsApp Green */
}