:root { 
    --accent: #E7E00D;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.10);
    --shadow-md: 0 14px 40px rgba(0,0,0,0.14);
    --shadow-lg: 0 24px 70px rgba(0,0,0,0.18);

    --ring: 0 0 0 4px rgba(231, 224, 13, 0.18);
    --ring-strong: 0 0 0 6px rgba(231, 224, 13, 0.22);

    --dur-1: 160ms;
    --dur-2: 280ms;
    --dur-3: 420ms;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --bg-main: #fafafa;
    --text-main: #27272a;
    --text-muted: rgba(39, 39, 42, 0.72);

    --spotlight-bg: rgba(231, 224, 13, 0.05);

    --glass-bg: rgba(255, 255, 255, 0.62);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.92);

    --input-bg: rgba(0, 0, 0, 0.03);
    --input-border: rgba(0, 0, 0, 0.12);
    --input-text: #27272a;

    --map-filter: grayscale(0.8) contrast(1.1) opacity(0.82);
    --map-filter-hover: grayscale(0.2) contrast(1.1) opacity(1);
}

.dark {
    --bg-main: #09090b; 
    --text-main: #e4e4e7;
    --text-muted: rgba(228, 228, 231, 0.72);

    --spotlight-bg: rgba(231, 224, 13, 0.08);

    --glass-bg: rgba(24, 24, 27, 0.34);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(24, 24, 27, 0.52);

    --input-bg: rgba(255, 255, 255, 0.03);
    --input-border: rgba(255, 255, 255, 0.08);
    --input-text: #ffffff;

    --map-filter: grayscale(1) invert(1) contrast(1.1) opacity(0.62);
    --map-filter-hover: grayscale(0.8) invert(1) contrast(1.1) opacity(0.84);
}

body { 
    background-color: var(--bg-main); 
    color: var(--text-main);
    -webkit-tap-highlight-color: transparent; 
    width: 100%; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--dur-3) var(--ease), color var(--dur-2) var(--ease);
    text-rendering: optimizeLegibility;
    font-kerning: normal;
}

::selection {
    background: rgba(231, 224, 13, 0.22);
    color: var(--text-main);
}
.dark ::selection {
    background: rgba(231, 224, 13, 0.28);
    color: #fff;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

*:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    transition: transform var(--dur-2) var(--ease), background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    transform: translateZ(0);
}
.glass-card:hover {
    border-color: rgba(231, 224, 13, 0.3);
    background: var(--glass-hover);
    box-shadow: var(--shadow-md);
}

.spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(800px circle at var(--x, 50%) var(--y, 50%), var(--spotlight-bg), transparent 80%);
    transition: background var(--dur-3) var(--ease);
} 

.outline-text {
    -webkit-text-stroke: 1px rgba(128, 128, 128, 0.1);
    color: transparent;
    font-size: 18vw;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
}
.dark .outline-text {
    -webkit-text-stroke: 1px rgba(255,255,255,0.02);
}

.gradient-text {
    background: linear-gradient(135deg, #18181b 0%, #71717a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dark .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-field {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    width: 100%;
    color: var(--input-text);
    transition: all 0.3s ease;
    font-size: 16px !important; 
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.input-field:focus {
    border-color: rgba(28, 63, 58, 0.6);
    background: rgba(231, 224, 13, 0.03);
    outline: none;
    box-shadow: var(--ring), 0 10px 24px rgba(0,0,0,0.08);
}

.btn-primary {
    background-color: #E0B665;
    color: white;
    transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-1) var(--ease);
    box-shadow: 0 4px 20px -2px rgba(224, 182, 101, 0.45);
    border-radius: 999px;
    will-change: transform;
}
.btn-primary:hover {
    background-color: #C9A04F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -4px rgba(224, 182, 101, 0.55);
    filter: saturate(1.04);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 14px -6px rgba(224, 182, 101, 0.55);
}
.btn-primary:focus-visible {
    box-shadow: 0 0 0 4px rgba(231, 224, 13, 0.22), 0 8px 22px -8px rgba(224, 182, 101, 0.45);
}

.force-ltr { direction: ltr !important; display: inline-block; unicode-bidi: isolate; }

select.force-ltr {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

[x-cloak] { display: none !important; }

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xs);
}
.map-container iframe {
    filter: var(--map-filter);
    transition: all 0.5s ease;
}
.map-container:hover iframe {
    filter: var(--map-filter-hover);
}

.hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

@media (max-width: 640px) {
    .outline-text { font-size: 28vw; }
    .map-container { height: 300px; }
}

.slider-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(231, 224, 13, 0.35) transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    background: rgba(231, 224, 13, 0.22);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: rgba(231, 224, 13, 0.30);
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Override Tailwind primary (remove purple) */
.text-primary-500,
.text-primary-600,
.text-primary-700 {
    color: #E7E00D !important;
}

.bg-primary-500,
.bg-primary-600,
.bg-primary-700 {
    background-color: #E7E00D !important;
}

.border-primary-500,
.border-primary-600 {
    border-color: #E7E00D !important;
}

.ring-primary-500 {
    --tw-ring-color: rgba(231, 224, 13, 0.4) !important;
}