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

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

:root {
    /* IUI Brand Colors */
    --primary-bg: #0a0a0a;
    --red-primary: #bf0a2c;
    --red-bright: #f10544;
    --teal-primary: #256574;
    --blue-light: #9bccda;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    
    /* Typography */
    --font-main: 'Noah', 'Montserrat', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================
   PROGRESS BAR
   ========================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red-bright) 0%, var(--blue-light) 100%);
    transition: width 0.3s ease;
}

/* ==========================================
   NAVIGATION DOTS
   ========================================== */
.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    border-color: var(--red-bright);
    transform: scale(1.3);
}

.dot.active {
    background: var(--red-bright);
    border-color: var(--red-bright);
    box-shadow: 0 0 20px rgba(241, 5, 68, 0.6);
}

/* ==========================================
   BACK TO HOME BUTTON
   ========================================== */
.back-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    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);
    z-index: 999;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-home svg {
    width: 24px;
    height: 24px;
}

.back-home:hover {
    background: var(--red-bright);
    border-color: var(--red-bright);
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(241, 5, 68, 0.5);
}

/* ==========================================
   JOURNEY SECTIONS
   ========================================== */
.journey-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.journey-section.active {
    opacity: 1;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 4rem 2rem;
    text-align: left;
}

.section-content.centered {
    text-align: center;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.tappa-number {
    font-size: 1rem;
    color: var(--red-bright);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease forwards;
    animation-delay: 0.2s;
}

.tappa-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease forwards;
    animation-delay: 0.3s;
}

.tappa-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease forwards;
    animation-delay: 0.4s;
}

.claim {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--red-bright) 50%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.5s;
}

.text-content {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.text-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ==========================================
   IUI LETTERS (TAPPA 2)
   ========================================== */
.iui-letters {
    display: flex;
    gap: 2rem;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin: 2rem 0;
    justify-content: flex-start;
}

.letter-i {
    color: var(--red-bright);
    animation: letterPulse 2s ease-in-out infinite;
}

.letter-u {
    color: var(--blue-light);
    animation: letterPulse 2s ease-in-out infinite 0.3s;
}

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

/* ==========================================
   VALUES LIST (TAPPA 9)
   ========================================== */
.values-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.values-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-primary);
}

.values-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--red-bright);
    font-weight: 900;
}

/* ==========================================
   FINAL SECTION (TAPPA 10)
   ========================================== */
.final-logo {
    margin: 3rem 0;
}

.logo-large {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 40px rgba(241, 5, 68, 0.5));
    animation: logoFloat 4s ease-in-out infinite;
}

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

.final-claim {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 3rem;
}

.cta-section {
    margin-top: 4rem;
}

.cta-text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--red-bright) 0%, var(--red-primary) 100%);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(241, 5, 68, 0.6);
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 3;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--red-bright), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* ==========================================
   BACKGROUND STYLES
   ========================================== */
.dark-concrete {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.light-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(241, 5, 68, 0.1) 49%, rgba(241, 5, 68, 0.1) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(155, 204, 218, 0.1) 49%, rgba(155, 204, 218, 0.1) 51%, transparent 51%);
    background-size: 100px 100px;
    opacity: 0.3;
    animation: gridMove 30s linear infinite;
}

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

.dual-light {
    background: radial-gradient(ellipse at 30% 50%, rgba(155, 204, 218, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(241, 5, 68, 0.3) 0%, transparent 50%),
                var(--primary-bg);
}

.rough-concrete {
    background: linear-gradient(135deg, #151515 0%, #0a0a0a 100%);
}

.texture-overlay {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
    width: 100%;
    height: 100%;
}

.red-industrial {
    background: radial-gradient(ellipse at 50% 50%, rgba(241, 5, 68, 0.2) 0%, var(--primary-bg) 70%);
}

.red-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 95%, var(--red-bright) 95%);
    background-size: 100% 80px;
    opacity: 0.1;
}

.minimal-space {
    background: linear-gradient(180deg, var(--primary-bg) 0%, #0f0f0f 100%);
}

.metal-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(155, 204, 218, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 204, 218, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.material-closeup {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.material-texture {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.tech-lines {
    background: var(--primary-bg);
}

.led-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 0%, var(--blue-light) 50%, transparent 100%);
    background-size: 200% 2px;
    background-position: 0 20%;
    background-repeat: no-repeat;
    opacity: 0.3;
    animation: ledScan 4s ease-in-out infinite;
}

@keyframes ledScan {
    0%, 100% {
        background-position: -100% 20%;
    }
    50% {
        background-position: 200% 20%;
    }
}

.wide-space {
    background: linear-gradient(180deg, var(--primary-bg) 0%, #151515 100%);
}

.reflection {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(155, 204, 218, 0.05) 100%);
}

.real-people {
    background: radial-gradient(ellipse at 50% 30%, rgba(37, 101, 116, 0.2) 0%, var(--primary-bg) 70%);
}

.final-space {
    background: var(--primary-bg);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(241, 5, 68, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    animation: glowPulse 4s ease-in-out infinite;
}

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .nav-dots {
        right: 1rem;
        gap: 0.8rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .back-home {
        width: 40px;
        height: 40px;
        top: 1rem;
        left: 1rem;
    }
    
    .back-home svg {
        width: 20px;
        height: 20px;
    }
    
    .section-content {
        padding: 3rem 1.5rem;
    }
    
    .iui-letters {
        gap: 1rem;
    }
    
    .logo-large {
        height: 80px;
    }
    
    .scroll-indicator {
        font-size: 0.8rem;
    }
}

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

