/* ==========================================
   NOAH FONT IMPORT & GLOBAL RESET
   ========================================== */
@import url('https://fonts.cdnfonts.com/css/noah');

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

:root {
    /* IUI Brand Colors - Official Palette */
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent-color: #ffffff;
    --red-primary: #bf0a2c;
    --red-bright: #f10544;
    --teal-primary: #256574;
    --blue-light: #9bccda;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient-primary: linear-gradient(135deg, #f10544 0%, #bf0a2c 100%);
    --gradient-secondary: linear-gradient(135deg, #256574 0%, #9bccda 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.95) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-main: 'Noah', 'Montserrat', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ==========================================
   PARTICLE CANVAS BACKGROUND
   ========================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================
   ANIMATED GRID BACKGROUND
   ========================================== */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ==========================================
   CURSOR FOLLOWER
   ========================================== */
.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease-out;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follower {
        display: block;
    }
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
}

/* ==========================================
   LOGO SECTION
   ========================================== */
.logo-section {
    padding: var(--spacing-md) 0;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 0;
    gap: var(--spacing-lg);
}

/* ==========================================
   CAR CONTAINER WITH EFFECTS
   ========================================== */
.car-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInScale 1.2s ease-out 0.3s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.car-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: brightness(1.1) contrast(1.2);
    transition: all 0.5s ease;
}

.car-container:hover .car-image {
    filter: brightness(1.2) contrast(1.3);
    transform: scale(1.02);
}

/* Glow Effect Behind Car */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(241, 5, 68, 0.4) 0%, rgba(37, 101, 116, 0.3) 50%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Light Beams from Headlights */
.light-beam {
    position: absolute;
    top: 50%;
    width: 150px;
    height: 200px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(241, 5, 68, 0.3) 50%,
        transparent 100%);
    filter: blur(20px);
    transform: translateY(-50%) skewY(-10deg);
    z-index: 3;
    animation: beamFlicker 2s ease-in-out infinite;
    pointer-events: none;
}

.light-beam-left {
    left: 28%;
}

.light-beam-right {
    right: 28%;
}

@keyframes beamFlicker {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* ==========================================
   CONTENT SECTION
   ========================================== */
.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Title Animation */
.title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    text-transform: uppercase;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #f10544 50%, #9bccda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 0.8s ease-out both;
    position: relative;
}

.title-line:nth-child(1) {
    animation-delay: 0.5s;
}

.title-line:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Subtitle Animation */
.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    letter-spacing: 0.05em;
    display: flex;
    gap: 0.5em;
    justify-content: center;
    flex-wrap: wrap;
}

.subtitle-word {
    display: inline-block;
    animation: wordFadeIn 0.6s ease-out both;
}

.subtitle-word:nth-child(1) { animation-delay: 0.9s; }
.subtitle-word:nth-child(2) { animation-delay: 1.0s; }
.subtitle-word:nth-child(3) { animation-delay: 1.1s; }
.subtitle-word:nth-child(4) { animation-delay: 1.2s; }

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

/* ==========================================
   NOTIFICATION FORM
   ========================================== */
.notify-section {
    margin: var(--spacing-lg) 0;
    animation: fadeInUp 1s ease-out 1.4s both;
}

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

.notify-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input:focus {
    outline: none;
    border-color: var(--red-bright);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(241, 5, 68, 0.3);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.notify-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f10544 0%, #bf0a2c 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.notify-btn:hover::before {
    left: 100%;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(241, 5, 68, 0.6);
}

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

.btn-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.notify-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-message {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--blue-light);
    min-height: 1.5em;
}

/* ==========================================
   COUNTDOWN TIMER
   ========================================== */
.countdown {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 1.6s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--red-bright);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(241, 5, 68, 0.3);
}

.countdown-value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #f10544 0%, #9bccda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

.countdown-separator {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--red-bright);
    opacity: 0.5;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ==========================================
   JOURNEY LINK
   ========================================== */
.journey-link-section {
    margin-top: var(--spacing-xl);
    text-align: center;
    animation: fadeInUp 1s ease-out 2s both;
}

.journey-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.journey-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.journey-link:hover {
    background: rgba(241, 5, 68, 0.1);
    border-color: var(--red-bright);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(241, 5, 68, 0.3);
}

.journey-link:hover .journey-arrow {
    transform: translateX(10px);
}

/* ==========================================
   SOCIAL LINKS
   ========================================== */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-lg) 0;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--red-bright);
    border-color: var(--red-bright);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(241, 5, 68, 0.5);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    margin-top: auto;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 2s both;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--red-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link svg {
    width: 20px;
    height: 20px;
}

.footer-link:hover {
    color: var(--red-bright);
    transform: translateX(5px);
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.separator {
    opacity: 0.5;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .logo {
        height: 40px;
    }
    
    .title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .notify-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input,
    .notify-btn {
        width: 100%;
        min-width: unset;
    }
    
    .countdown {
        gap: var(--spacing-sm);
    }
    
    .countdown-item {
        min-width: 70px;
        padding: var(--spacing-sm);
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .light-beam {
        display: none;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 60px;
        padding: var(--spacing-xs);
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

/* ==========================================
   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(--red-bright);
    outline-offset: 4px;
}

/* ==========================================
   LOADING ANIMATION
   ========================================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.05) 100%
    );
    background-size: 1000px 100%;
}



