/* Custom Design Tokens & Variables */
:root {
    /* Brand Colors */
    --teal: 175 100% 35%;
    --sky-blue: 199 100% 44%;
    --dark-navy: 201 60% 17%;
    --light-sky-bg: 169 58% 97%; /* #F2FDFB */

    /* Explicitly requested tokens */
    --navy: #0E3A53;
    --teal-hex: #14C8A4;
    --sky-blue-hex: #1E9FE0;
    --light-bg: #F4F7F9;

    /* Carousel Specific Colors */
    --carousel-navy: #0E3A53;
    --carousel-teal: #14C8A4;

    /* Business Section Colors */
    --business-navy: #0E3A53;
    --business-teal: #14C8A4;
    --business-sky: #1E9FE0;
    --business-light: #F2FAFD;
    --business-border: #C5E4F3;

    /* New Footer Custom Properties */
    --footer-bg: #0E3A53;
    --footer-accent: #14C8A4;
    --footer-text-70: rgba(255, 255, 255, 0.70);
    --footer-text-45: rgba(255, 255, 255, 0.45);
    --footer-text-40: rgba(255, 255, 255, 0.40);
    --footer-border-18: rgba(255, 255, 255, 0.18);
    --footer-border-10: rgba(255, 255, 255, 0.10);

    /* Shadcn core mapped to brand */
    --background: 200 100% 98%;
    --foreground: 201 60% 17%;
    
    --primary: var(--teal);
    --primary-foreground: 0 0% 100%;
    
    --secondary: 199 30% 90%;
    --secondary-foreground: 201 60% 17%;
    
    --accent: var(--sky-blue);
    --accent-foreground: 0 0% 100%;
    
    --muted: 200 30% 92%;
    --muted-foreground: 201 30% 45%;
    
    --card: 0 0% 100%;
    --card-foreground: 201 60% 17%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 201 60% 17%;
    
    --border: 200 25% 88%;
    --input: 200 25% 88%;
    --ring: var(--teal);
    
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    
    --radius: 0.75rem;

    /* Modal Tokens */
    --modal-bg: 0 0% 100%;
    --modal-border: 200 25% 88%;
    --modal-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --modal-overlay: rgba(0, 0, 0, 0.4);
}

.dark {
    --background: 201 60% 17%;
    --foreground: 0 0% 98%;
    
    --primary: var(--teal);
    --primary-foreground: 0 0% 100%;
    
    --secondary: 201 40% 25%;
    --secondary-foreground: 0 0% 98%;
    
    --accent: var(--sky-blue);
    --accent-foreground: 0 0% 100%;
    
    --muted: 201 40% 22%;
    --muted-foreground: 201 20% 70%;
    
    --card: 201 50% 14%;
    --card-foreground: 0 0% 98%;
    
    --popover: 201 50% 14%;
    --popover-foreground: 0 0% 98%;
    
    --border: 201 40% 25%;
    --input: 201 40% 25%;
    --ring: var(--teal);

    /* Modal Tokens */
    --modal-bg: 201 50% 14%;
    --modal-border: 201 40% 25%;
    --modal-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --modal-overlay: rgba(0, 0, 0, 0.7);
}

/* Custom Typography & Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    overflow-x: clip;
    font-feature-settings: "kern" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    letter-spacing: -0.02em;
}

p {
    text-wrap: pretty;
}

/* Custom Typography Utility */
.font-pricing {
    font-family: 'DM Mono', monospace;
    font-variant-numeric: tabular-nums;
}

/* Brand Text and Buttons Gradients */
.brand-gradient {
    background: linear-gradient(135deg, #14C8A4, #1E9FE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: inherit;
}

.gradient-text {
    background: linear-gradient(135deg, #14C8A4, #1E9FE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-primary {
    background: linear-gradient(135deg, #14C8A4, #1E9FE0);
}

.btn-gradient-brand {
    background: linear-gradient(to right, #14C8A4, #1E9FE0);
    transition: all 0.2s ease-in-out;
}
.btn-gradient-brand:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 159, 224, 0.2);
}
.btn-gradient-brand:active {
    transform: scale(0.98);
}

/* Business Options Styling */
.business-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1.5px solid var(--business-border);
    border-radius: 8px;
    color: #111827;
    transition: all 0.2s ease-in-out;
}
.business-input::placeholder {
    color: #9ca3af;
}
.business-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--business-teal);
}

.business-btn-gradient {
    background: linear-gradient(135deg, var(--business-teal), var(--business-sky));
    transition: all 0.2s ease-in-out;
}
.business-btn-gradient:hover {
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(14, 58, 83, 0.15);
}
.business-btn-gradient:active {
    transform: scale(0.98);
}

.business-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.business-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(14,58,83,0.15);
}

/* Footer Section Custom utilities */
.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-link {
    font-size: 14px;
    color: var(--footer-text-70);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}
.footer-link:hover {
    color: #ffffff;
}
.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1.5px solid var(--footer-border-18);
    background-color: transparent;
    transition: all 0.2s ease-in-out;
}
.footer-social-btn:hover {
    border-color: var(--footer-accent);
}

/* Scroll Indicators / Dot grids */
.dot-grid-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Intersection Observer Animations */
section {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Core Styles */
body.modal-open {
    overflow: hidden;
}

/* Custom Scrollbars for modal listing */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}
