/* ===== ROOT VARIABLES ===== */
:root {
    --color-primary: #ef4444;
    --color-primary-dark: #dc2626;
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 100%);
    color: var(--color-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

/* ===== LOGO ===== */
.logo-container {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 12px rgba(239, 68, 68, 0.3));
}

/* ===== MAIN CONTENT ===== */
.content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.tagline-item {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.separator {
    color: var(--color-gray-500);
    font-weight: 300;
}

.description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--color-gray-300);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===== NOTIFICATION FORM ===== */
.notify-form {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.form-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.email-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-family);
    border: 2px solid var(--color-gray-700);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    outline: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: var(--color-gray-500);
}

.email-input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    transition: var(--transition-smooth);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: #22c55e;
}

.form-message.error {
    color: var(--color-primary);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.contact-text {
    font-size: 1rem;
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.contact-link {
    font-size: 1.1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.contact-link:hover::after {
    width: 100%;
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-gray-400);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--color-gray-500);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 0.8s both;
}

.footer p {
    margin: 0.25rem 0;
}

.location {
    font-weight: 500;
    color: var(--color-gray-400);
}

/* ===== BACKGROUND ANIMATION ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
    animation-delay: -8s;
    animation-duration: 20s;
}

.circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -15s;
    animation-duration: 30s;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo {
        max-width: 280px;
    }
    
    .email-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input,
    .submit-btn {
        width: 100%;
        min-width: 100%;
    }
    
    .submit-btn {
        justify-content: center;
    }
    
    .tagline {
        gap: 0.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 220px;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .email-input {
        border-width: 3px;
    }
    
    .social-link {
        border-width: 3px;
    }
}
