@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-bg {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.2), 0 10px 10px -5px rgba(79, 70, 229, 0.1);
}

.input-glow:focus {
    box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.5);
}

.input-glow:invalid {
    border-color: initial;
    box-shadow: none;
}

.input-glow:invalid:focus {
    border-color: initial;
    box-shadow: none;
}

.input-glow:invalid + .validation-message {
    display: block;
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    background-color: #FFF5F5;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #FED7D7;
}

@keyframes draw {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.animate-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-out forwards;
}

.hero-card {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.promo-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.timer {
    display: inline-flex;
    gap: 1rem;
    margin: 0.5rem 0;
}

.timer-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    min-width: 3rem;
}

.timer-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.timer-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.validation-message {
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    background-color: #FFF5F5;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #FED7D7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input, textarea {
    border: 1px solid #D1D5DB; /* Light gray border for all inputs */
}

input:focus, textarea:focus {
    border-color: #4F46E5; /* Primary color on focus */
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

input:valid, textarea:valid {
    border-color: #D1D5DB; /* Light gray border when valid */
}

input:invalid,
textarea:invalid {
    border-color: #D1D5DB !important; /* Light gray border for invalid inputs */
    box-shadow: none !important; /* Disable default styling */
} 