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

/* --- Modern Reset & Variables --- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Light Theme (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Branding Accent: Warm vibrant orange and teal */
    --accent-orange: #ff7a00;
    --accent-orange-hover: #e05600;
    --accent-orange-glow: rgba(255, 122, 0, 0.15);
    
    --accent-teal: #0ea5e9;
    --accent-teal-hover: #0284c7;
    --accent-teal-glow: rgba(14, 165, 233, 0.15);
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 16px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-primary: #090d16;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: #2d3748;
    --border-hover: #4a5568;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    
    --glass-bg: rgba(17, 24, 39, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --accent-orange-glow: rgba(255, 122, 0, 0.25);
    --accent-teal-glow: rgba(14, 165, 233, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media(min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media(min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-orange-glow);
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

@media(min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* --- Buttons & Inputs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-orange-glow);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-teal);
    border-color: var(--accent-teal);
}

.btn-outline:hover {
    background-color: var(--accent-teal);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-teal-glow);
    transform: translateY(-2px);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    transition: background var(--transition-normal), border var(--transition-normal), padding var(--transition-normal);
    padding: 20px 0;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img {
    height: 38px;
}

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

.nav-menu {
    display: none;
    align-items: center;
    gap: 32px;
}

@media(min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-normal);
}

@media(min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: right var(--transition-normal);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-panel .close-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-links .nav-link {
    font-size: 1.15rem;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.hero-glow-1 {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-orange-glow);
    filter: blur(120px);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-teal-glow);
    filter: blur(100px);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-tag span {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

@media(min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

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

.hero-desc {
    font-size: 1.125rem;
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    max-width: 450px;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
    margin-left: -12px;
    background-color: var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-trust-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-trust-text strong {
    color: var(--text-primary);
}

/* Floating Card Animation mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.mockup-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
}

.mockup-header {
    height: 40px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

.mockup-dot-red { background: #ef4444; }
.mockup-dot-yellow { background: #eab308; }
.mockup-dot-green { background: #22c55e; }

.mockup-content {
    padding: 24px;
}

/* Floating widgets surrounding visual */
.floating-widget {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.fw-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.fw-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 3s;
}

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

.widget-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-orange-glow);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.widget-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* --- Metrics / Stats --- */
.metrics {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.metrics-inner {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    box-shadow: var(--shadow-lg);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
}

@media(min-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
}

@media(min-width: 640px) {
    .metric-item:nth-child(even) {
        border-bottom: 1px solid var(--border-color);
    }
}

@media(min-width: 1024px) {
    .metric-item:not(:last-child) {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
        padding-bottom: 0;
    }
}

.metric-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-orange);
    margin-bottom: 8px;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Interactive Services Section --- */
.services-explorer {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.explorer-tabs {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.explorer-tab-btn {
    flex: 1 1 50%;
    padding: 20px 16px;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border-bottom: 2px solid transparent;
}

@media(min-width: 768px) {
    .explorer-tab-btn {
        flex: 1;
        font-size: 1rem;
        padding: 24px;
    }
}

.explorer-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .explorer-tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
}

.explorer-tab-btn.active {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
    background: var(--bg-secondary);
}

.explorer-content {
    padding: 32px;
}

@media(min-width: 768px) {
    .explorer-content {
        padding: 48px;
    }
}

.explorer-panel {
    display: none;
}

.explorer-panel.active {
    display: block;
    animation: fadeIn var(--transition-slow);
}

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

.panel-header {
    margin-bottom: 32px;
}

.panel-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.panel-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

.panel-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .panel-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-fast);
    display: flex;
    gap: 16px;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-orange-glow);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Portal Integration Section --- */
.portal-showcase {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media(min-width: 1024px) {
    .portal-grid {
        grid-template-columns: 1.2fr 1.8fr;
    }
}

.portal-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

@media(min-width: 1024px) {
    .portal-text {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
    }
}

.portal-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.portal-text p {
    margin-bottom: 24px;
}

.portal-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.portal-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.portal-link-item svg {
    color: var(--accent-teal);
}

.portal-visual {
    background: var(--bg-tertiary);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Simulated App UI Dashboard */
.dashboard-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
}

.db-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.db-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--accent-teal);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.db-user-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.db-user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.db-nav {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.db-nav-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.db-nav-btn.active {
    background: var(--accent-teal-glow);
    color: var(--accent-teal);
    border-color: var(--accent-teal);
}

.db-body {
    padding: 20px;
}

.db-panel {
    display: none;
}

.db-panel.active {
    display: block;
}

.db-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: var(--bg-primary);
    margin-bottom: 16px;
}

.db-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.db-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.db-card-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.db-status {
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.db-status-ok {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.db-status-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.db-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
}

.db-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.db-list-item:first-child {
    padding-top: 0;
}

.db-item-title {
    font-weight: 600;
}

.db-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.db-action-btn {
    width: 100%;
    padding: 10px;
    background: var(--accent-orange);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.db-action-btn:hover {
    background: var(--accent-orange-hover);
}

/* --- Quote / Budget Tool Section --- */
.quote-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media(min-width: 992px) {
    .quote-card {
        grid-template-columns: 1.8fr 1.2fr;
    }
}

.quote-form-panel {
    padding: 32px;
}

@media(min-width: 768px) {
    .quote-form-panel {
        padding: 48px;
    }
}

.quote-result-panel {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(min-width: 992px) {
    .quote-result-panel {
        border-top: none;
        border-left: 1px solid var(--border-color);
        padding: 48px;
    }
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-label span {
    color: var(--accent-orange);
    font-weight: 700;
}

/* Range input styling */
.range-slider {
    width: 100%;
    margin-bottom: 12px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--accent-orange);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-orange-glow);
    transition: transform 0.1s ease;
}

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

.slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Service Options Checklist Group */
.services-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 640px) {
    .services-checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-checkbox-label {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.service-checkbox-label:hover {
    border-color: var(--accent-teal);
    background: rgba(14, 165, 233, 0.02);
}

.service-checkbox-label input {
    accent-color: var(--accent-teal);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.service-checkbox-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.quote-result-header {
    margin-bottom: 32px;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-orange);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quote-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.input-text {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.input-text:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px var(--accent-orange-glow);
}

/* --- Testimonials & FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--accent-teal);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-trigger svg {
    transition: transform var(--transition-normal);
    color: var(--accent-teal);
    flex-shrink: 0;
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
    background-color: #0c1524;
    color: #cbd5e1;
    padding: 80px 0 32px 0;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}

.footer p {
    color: #94a3b8;
}

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

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-brand p {
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background-color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link a {
    color: #94a3b8;
}

.footer-link a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    color: var(--accent-teal);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-contact-text strong {
    display: block;
    color: #ffffff;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

.copyright {
    font-size: 0.8rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 0.8rem;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* --- Scroll Entrance Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Delay modifiers */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
