/* Root Variables - Matching original design colors */
:root {
    /* Brew & Bite Brand Colors */
    --background: hsl(0, 0%, 0%); /* Black background */
    --foreground: hsl(0, 0%, 100%); /* White text */
    --primary: hsl(180, 100%, 24%); /* Teal */
    --primary-rgb: 0, 122, 122;
    --secondary: hsl(39, 27%, 55%); /* Coffee Brown */
    --muted: hsl(0, 0%, 10%);
    --muted-foreground: hsl(0, 0%, 70%);
    --border: hsl(0, 0%, 15%);
    --card: hsl(0, 0%, 5%);
    --input: hsl(0, 0%, 10%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 122, 122, 0.05), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(171, 140, 103, 0.03), transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.text-muted-custom {
    color: var(--muted-foreground) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--background);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 122, 122, 0.05), transparent);
    pointer-events: none;
}

/* Logo */
.logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .logo {
        width: 128px;
        height: 128px;
    }
}

.glow-teal {
    filter: drop-shadow(0 0 30px rgba(0, 122, 122, 0.3));
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Display Heading Responsive */
.display-1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: rgba(0, 122, 122, 0.9);
    border-color: rgba(0, 122, 122, 0.9);
    transform: scale(1.05);
}

.glow-teal-hover:hover {
    box-shadow: 0 0 30px rgba(0, 122, 122, 0.3);
}

.btn-outline-secondary {
    color: var(--foreground);
    border-color: var(--border);
}

.btn-outline-secondary:hover {
    background-color: var(--muted);
    border-color: var(--border);
    color: var(--foreground);
}

/* Countdown Section */
.countdown-section {
    background-color: var(--background);
    padding: 4rem 0;
}

.countdown-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown-card:hover {
    border-color: rgba(0, 122, 122, 0.5);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .countdown-number {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .countdown-number {
        font-size: 4rem;
    }
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer */
.footer-section {
    background-color: var(--background);
    border-color: var(--border) !important;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--muted-foreground);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    border-color: rgba(0, 122, 122, 0.5);
    background-color: rgba(0, 122, 122, 0.1);
    color: var(--primary);
}

/* Modal Customization */
.modal-content {
    background-color: var(--card) !important;
    border: 1px solid var(--border);
}

.modal-header {
    border-color: var(--border) !important;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Form Controls */
.form-control,
.form-select {
    background-color: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
}

.bg-dark-input {
    background-color: var(--input) !important;
    border-color: var(--border) !important;
}

.form-control:focus,
.form-select:focus,
.bg-dark-input:focus {
    background-color: var(--input);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 0.25rem rgba(0, 122, 122, 0.25);
}

.form-control::placeholder {
    color: var(--muted-foreground);
    opacity: 0.7;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Toast Customization */
.toast {
    background-color: var(--card);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.toast-header {
    background-color: var(--card);
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

/* Utility Classes */
.border-secondary {
    border-color: var(--border) !important;
}

.border-top {
    border-color: var(--border) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .countdown-card {
        padding: 1.5rem 1rem;
    }
    
    .h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}