@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --orcutt-navy: #070D18;
    --orcutt-dark: #0B1325;
    --orcutt-card: #101B30;
    --orcutt-surface: #17243E;
    --orcutt-blue: #006CE6;
    --orcutt-blue-hover: #0056BD;
    --orcutt-cyan: #0EA5E9;
    --orcutt-cyan-glow: #38BDF8;
    --orcutt-silver: #CBD5E1;
    --orcutt-steel: #94A3B8;
    --orcutt-border: #1E2D4A;
    --orcutt-border-subtle: #243556;
    --orcutt-light: #F8FAFC;
    --orcutt-cream: #F1F5F9;
}

/* Base smoothing and typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1E293B;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.font-display {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

/* Luxury button shine animation */
.btn-premium-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.375rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, #006CE6 0%, #0284C7 100%);
    box-shadow: 0 4px 14px rgba(0, 108, 230, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease-in-out;
    overflow: hidden;
}

.btn-premium-primary:hover {
    background: linear-gradient(135deg, #0058C2 0%, #0369A1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 108, 230, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-premium-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.btn-premium-primary:hover::after {
    left: 150%;
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.375rem;
    color: #FFFFFF;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease-in-out;
}

.btn-premium-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-premium-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.375rem;
    color: #0F172A;
    background: transparent;
    border: 1.5px solid #0F172A;
    transition: all 0.25s ease-in-out;
}

.btn-premium-outline-dark:hover {
    background: #0F172A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

/* Glassmorphic elements */
.glass-header {
    background: rgba(7, 13, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-dark {
    background: linear-gradient(180deg, rgba(16, 27, 48, 0.95) 0%, rgba(11, 19, 37, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Architectural badge */
.license-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(0, 108, 230, 0.12);
    border: 1px solid rgba(0, 108, 230, 0.3);
    color: #38BDF8;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Editorial image card */
.editorial-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover img {
    transform: scale(1.04);
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(0, 108, 230, 0.25);
}

/* Subtle architectural grid pattern for dark sections */
.bg-architectural-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
}

/* Light grid pattern for white sections */
.bg-light-grid {
    background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 0);
    background-size: 32px 32px;
}

/* Trust check indicator */
.trust-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #CBD5E1;
    letter-spacing: 0.01em;
}

.trust-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: rgba(0, 108, 230, 0.2);
    border: 1px solid #0EA5E9;
    color: #38BDF8;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Smooth fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.35s ease-out forwards;
}

/* Review rating stars */
.star-rating {
    color: #F59E0B;
    display: inline-flex;
    gap: 0.2rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070D18;
}
::-webkit-scrollbar-thumb {
    background: #1E2D4A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #006CE6;
}

/* Mobile & Touch Optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width: 768px) {
    /* Prevent iOS Safari from auto-zooming into inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Ensure comfortable finger touch targets */
    .btn-premium-primary,
    .btn-premium-secondary,
    .btn-premium-outline-dark {
        min-height: 44px;
    }
}
