/* ==========================================================================
   Base & Variables
   ========================================================================== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/PlusJakartaSans-Regular.ttf') format('truetype');
}

/* Plus Jakarta Sans - 500 (Medium) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/PlusJakartaSans-Medium.ttf') format('truetype');
}

/* Plus Jakarta Sans - 600 (SemiBold) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/PlusJakartaSans-SemiBold.ttf') format('truetype');
}

/* Plus Jakarta Sans - 700 (Bold) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/PlusJakartaSans-Bold.ttf') format('truetype');
}

/* Plus Jakarta Sans - 800 (ExtraBold) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype');
}

:root {
    /* Light Theme (Default) */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-text-main: #0f172a;
    /* Black with blue tint */
    --color-text-muted: #475569;

    --color-primary: #0ea5e9;
    /* Light blue */
    --color-primary-hover: #0284c7;
    --color-secondary: #f97316;
    /* Orange */
    --color-secondary-hover: #ea580c;

    --color-border: #e2e8f0;

    /* Layout */
    --nav-height: 70px;
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --border-radius-xl: 40px;
    --border-radius-full: 9999px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --shadow-glow-primary: 0 0 20px rgba(14, 165, 233, 0.4);
    --shadow-glow-secondary: 0 0 20px rgba(249, 115, 22, 0.4);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --color-bg: #020617;
    /* Slate 950 (Black) */
    --color-surface: #0f172a;
    /* Slate 900 */
    --color-surface-hover: #1e293b;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;

    --color-primary: #38bdf8;
    /* Lighter blue */
    --color-primary-hover: #7dd3fc;
    --color-secondary: #2563eb;
    /* Blue instead of orange for dark theme as requested: "blue, light blue, white, black" */
    --color-secondary-hover: #3b82f6;

    --color-border: #1e293b;

    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: calc(var(--nav-height) + 2rem);
    background-color: var(--color-bg);
    background-image: linear-gradient(to bottom, var(--color-bg) 50%, var(--color-surface) 50%);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    background: linear-gradient(135deg in oklab, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

/* Section */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    section {
        /* Prevents the section from scrolling completely behind the navigation bar */
        scroll-margin-top: 1rem;
    }
}

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

/* ==========================================================================
   Navigation (Island)
   ========================================================================== */
.nav-island-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
    padding: 0 1.5rem;
}

.nav-island {
    background: rgba(var(--color-surface-rgb, 255, 255, 255), 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-full);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

[data-theme="dark"] .nav-island {
    background: rgba(15, 23, 42, 0.7);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    flex: 1;
}

.nav-brand img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.icon-btn:hover {
    background: var(--color-surface-hover);
    transform: rotate(15deg) scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--color-bg);
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    transition: color var(--transition-base);
}

.mobile-link:hover {
    color: var(--color-primary);
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 4rem);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hero Visual Placeholder */
.hero-visual {
    margin-top: 4rem;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease-out 0.8s both;
    aspect-ratio: 16/9;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.1), rgba(249, 115, 22, 0.1));
}

.hero-visual-content {
    position: relative;
    z-index: 1;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Features Grids / Cards
   ========================================================================== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    background: linear-gradient(90deg in oklab, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-base);
}

.card:hover .card-icon {
    transform: scale(1.1);
}

/* ==========================================================================
   Legal Document Card
   ========================================================================== */
.card.legal-card {
    padding: 2.5rem 2rem;
    text-align: left;
}

@media (min-width: 768px) {
    .card.legal-card {
        padding: 4rem;
    }
}

/* Disable the hover lift and gradient bar for a reading document */
.card.legal-card:hover {
    transform: none;
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.card.legal-card:hover::before {
    opacity: 0;
}

.card.legal-card h1 {
    margin-bottom: 0.5rem;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--color-text-main);
    font-size: 2rem;
    overflow-wrap: break-word;
    word-break: break-all;
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .card.legal-card h1 {
        font-size: 1.75rem;
    }
}

.card.legal-card h3 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card.legal-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.card.legal-card hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 3rem 0;
}

/* ==========================================================================
   Tabs System (Core Values / Features)
   ========================================================================== */
.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tab-navigation {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    padding: 1rem;
    /* Room for active shadow on all sides */
    margin: -1rem;
    /* Offset padding to keep alignment */
}

.tab-navigation::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari */

@media (min-width: 768px) {
    .tab-navigation {
        justify-content: center;
    }
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.tab-btn:hover {
    background: var(--color-surface-hover);
    color: var(--color-text-main);
    box-shadow: inset 0 0 0 1px var(--color-border);
}

.tab-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px 0 rgba(var(--color-primary-rgb, 14, 165, 233), 0.39);
}

.tab-content-container {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    gap: 3rem;
    animation: fadeInSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .tab-pane.active {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.tab-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-text-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tab-text-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.tab-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-lg);
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.feature-media-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-xl);
    background: var(--color-surface-hover);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--color-text-muted);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

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

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

/* ==========================================================================
   Apps Section (macOS Window style)
   ========================================================================== */
.apps-window {
    background: var(--color-surface);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.15));
    overflow: hidden;
    margin: 2rem auto 0;
    max-width: 1000px;
}

.window-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .window-body {
        flex-direction: row;
        min-height: 500px;
    }
}

.apps-sidebar {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--color-surface-hover);
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .apps-sidebar {
    background: var(--color-bg);
}

.apps-sidebar::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .apps-sidebar {
        flex-direction: column;
        width: 80px;
        padding: 1.5rem 1rem;
        border-bottom: none;
        border-right: 1px solid var(--color-border);
    }
}

.app-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.app-btn img {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-base);
}

.app-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

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

.app-btn.active {
    background: rgba(14, 165, 233, 0.1);
}

.app-btn.active img {
    transform: scale(1.1);
}

.apps-content-container {
    flex: 1;
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .apps-content-container {
        padding: 3rem;
    }
}

.app-pane {
    display: none;
    width: 100%;
    max-width: 600px;
    animation: fadeInSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-pane.active {
    display: block;
}

.app-pane h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.app-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.app-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.app-highlights li i {
    color: var(--color-primary);
}

/* ==========================================================================
   Animations (Scroll)
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: var(--color-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    pointer-events: auto;
    overflow: hidden;
    animation: toastSlideUp var(--transition-base) forwards;
}

.toast.hiding {
    animation: toastFadeOut var(--transition-base) forwards;
}

.toast-icon {
    color: var(--color-primary);
    font-size: 1.125rem;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(0.95);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: -0.75rem;
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        max-height: 100px;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
        margin-bottom: 0;
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
        max-height: 100px;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
        margin-bottom: 0;
    }

    to {
        opacity: 0;
        transform: translateY(1rem) scale(0.95);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: -0.75rem;
        border-width: 0;
    }
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-text-main);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   Image Comparison Slider
   ========================================================================== */
.image-compare-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 20 / 13;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: var(--color-surface);
}

@media (max-width: 768px) {
    .image-compare-wrapper {
        border-radius: var(--border-radius-md);
    }
}

.compare-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.image-compare-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    /* We update this polygon right side via JS */
}

.compare-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: default;
    pointer-events: none;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.compare-slider:active {
    cursor: ew-resize;
}

/* Invisible track */
.compare-slider::-webkit-slider-track {
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-appearance: none;
}

.compare-slider::-moz-range-track {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Invisible thumb */
.compare-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 48px;
    /* Slightly wider grab area */
    height: 100vh;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: ew-resize;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.compare-slider::-moz-range-thumb {
    width: 48px;
    height: 100vh;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: ew-resize;
    pointer-events: auto;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-base);
}

.compare-slider:active~.slider-handle .slider-handle-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all var(--transition-base);
    opacity: 1;
    visibility: visible;
}

body.menu-open .whatsapp-float-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
}

.whatsapp-float-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.whatsapp-float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 2rem;
        right: 2rem;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float-btn img {
        width: 26px;
        height: 26px;
    }
}