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

:root {
    --bg-color: #030712;
    --card-bg: rgba(17, 24, 39, 0.45);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --accent-primary: #3B82F6;
    --accent-primary-rgb: 59, 130, 246;
    --accent-hover: #2563EB;
    --accent-secondary: #8B5CF6;
    --success: #10B981;
    --danger: #EF4444;
    --glass-blur: blur(16px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --body-glow: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-color: #CBD5E1;
    --card-bg: rgba(241, 245, 249, 0.85);
    --card-border: rgba(15, 23, 42, 0.12);
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --body-glow: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.06) 0px, transparent 50%);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 20px -10px rgba(15, 23, 42, 0.04);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    background-image: var(--body-glow);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s ease, background-image 0.4s ease;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 25px rgba(59, 130, 246, 0.5); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism Elements */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

/* Layout Sections */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Taller header for better visual breathing room */
    z-index: 100;
    background: rgba(3, 7, 18, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

[data-theme="light"] .header {
    background: rgba(203, 213, 225, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 95px; /* Scaled up from 75px for higher visibility */
    width: auto;
    max-width: 320px; /* Increased max width limit */
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: var(--transition);
    transform: scale(1.02);
}

.logo-img:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 20px rgba(59, 130, 246, 0.45));
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--card-border);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    text-decoration: none;
}

[data-theme="light"] .btn {
    background: rgba(15, 23, 42, 0.06);
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.95;
}

/* Hero Section */
.hero {
    padding-top: 220px; /* Adjusted to balance the taller 120px header navigation */
    padding-bottom: 80px;
    position: relative;
}

/* Massive Focal Brand Logo inside Hero */
.hero-logo-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease;
}

.hero-logo-img {
    height: 180px; /* Scaled up from 140px for huge focal prominence */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(59, 130, 246, 0.35)) drop-shadow(0 5px 15px rgba(139, 92, 246, 0.2));
    transition: var(--transition);
}

.hero-logo-img:hover {
    transform: scale(1.05) translateY(-4px);
    filter: drop-shadow(0 20px 45px rgba(59, 130, 246, 0.5)) drop-shadow(0 8px 25px rgba(139, 92, 246, 0.35));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeIn 1s ease;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeIn 1.2s ease;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: fadeIn 1.4s ease;
}

.hero-ctas .btn-primary {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    animation: pulse-glow 3s infinite ease-in-out;
}

.hero-ctas .btn-secondary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

.hero-mockup-wrapper {
    position: relative;
    animation: fadeIn 1.4s ease, float 6s infinite ease-in-out;
}

.hero-mockup-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--card-border);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
}

.mockup-dots {
    display: flex;
    gap: 0.4rem;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mockup-stat {
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
}

.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.mockup-table th {
    text-align: left;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-bottom: 1px solid var(--card-border);
    text-transform: uppercase;
    font-size: 0.65rem;
}

.mockup-table td {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 20px 45px -15px rgba(59, 130, 246, 0.15);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.feature-card.purple .feature-icon-wrapper {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
    color: var(--accent-secondary);
}

.feature-card.green .feature-icon-wrapper {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
}

/* Calculator & Booking Section */
.interactive-section {
    padding: 100px 0;
    position: relative;
}

.calc-booking-grid {
    display: grid;
    grid-template-columns: 1.10fr 0.90fr;
    gap: 3.5rem;
    align-items: stretch;
}

.calc-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-inputs {
    margin-bottom: 2.5rem;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calc-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-value-badge {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-primary);
    font-family: var(--font-heading);
}

.pricing-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 4px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

[data-theme="light"] .pricing-slider {
    background: rgba(0, 0, 0, 0.15);
}

.pricing-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: var(--transition);
}

.pricing-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

.calc-output {
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.calc-tier-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--accent-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-price {
    text-align: right;
}

.calc-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.calc-price .period {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Booking Card */
.booking-card {
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition);
}

[data-theme="light"] .form-control {
    background: rgba(0, 0, 0, 0.03);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.9rem;
    padding-right: 2.5rem;
}

select.form-control option {
    background-color: #1f2937; /* Dark background color for option tags in dark mode */
    color: #f9fafb; /* White text for options */
}

[data-theme="light"] select.form-control option {
    background-color: #ffffff; /* Light background color for options in light mode */
    color: #0f172a; /* Dark text for options */
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: float 4s infinite ease-in-out;
}

/* Footer Section */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    background: rgba(3, 7, 18, 0.5);
}

[data-theme="light"] .footer {
    background: rgba(203, 213, 225, 0.5);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.btn-text-mobile {
    display: none;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-logo-container {
        justify-content: center;
    }
    .hero-tagline, .hero-ctas {
        justify-content: center;
    }
    .hero-mockup-wrapper {
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calc-booking-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
    .container {
        padding: 0 1.25rem;
    }
    .header {
        height: 80px;
    }
    .logo-img {
        height: 50px;
        max-width: 160px;
    }
    .nav-links {
        display: none; /* Mobile menu can be added later if needed */
    }
    .hero {
        padding-top: 130px;
        padding-bottom: 50px;
    }
    .hero-logo-img {
        height: 100px; /* Slightly scaled down for mobile screens but still very prominent */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .calc-card, .booking-card {
        padding: 2rem 1.25rem;
    }
    .hero-mockup-card {
        padding: 1.25rem 1rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-container > div {
        align-items: center !important;
        text-align: center !important;
    }
    .footer-container img {
        align-self: center !important;
    }
}

@media (max-width: 576px) {
    .btn-text-desktop {
        display: none;
    }
    .btn-text-mobile {
        display: inline;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-ctas .btn {
        width: 100%;
    }
}

/* Dynamic Aurora Backdrop Blurs */
.aurora-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.glow-1 {
    top: 5%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    animation: float-slow 18s infinite ease-in-out;
}

.glow-2 {
    top: 35%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    animation: float-slow 22s infinite ease-in-out reverse;
}

.glow-3 {
    top: 75%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    animation: float-slow 15s infinite ease-in-out;
}

[data-theme="light"] .glow-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}
[data-theme="light"] .glow-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}
[data-theme="light"] .glow-3 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Feature Card Neon Borders & Polishes */
.feature-card {
    border-top: 3px solid var(--accent-primary) !important;
}
.feature-card.purple {
    border-top: 3px solid var(--accent-secondary) !important;
}
.feature-card.green {
    border-top: 3px solid var(--success) !important;
}

.feature-card:hover {
    border-color: var(--card-border);
}
