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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7b2cbf;
    --accent-color: #ff006e;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-glow: linear-gradient(90deg, #00d4ff, #7b2cbf, #ff006e);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* ==================== HERO SECTION - PARALLAX ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
}

/* Layer 1 - Circuit Pattern Background */
.layer-1 {
    z-index: 1;
}

.circuit-pattern {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(0, 212, 255, 0.1) 49%, rgba(0, 212, 255, 0.1) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 212, 255, 0.1) 49%, rgba(0, 212, 255, 0.1) 51%, transparent 51%);
    background-size: 100px 100px;
    opacity: 0.3;
}

/* Layer 2 - Floating Particles */
.layer-2 {
    z-index: 2;
}

.floating-particles {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--primary-color), transparent),
        radial-gradient(2px 2px at 60% 70%, var(--secondary-color), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--accent-color), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--primary-color), transparent),
        radial-gradient(2px 2px at 90% 60%, var(--secondary-color), transparent),
        radial-gradient(1px 1px at 33% 80%, var(--accent-color), transparent),
        radial-gradient(1px 1px at 15% 90%, var(--primary-color), transparent);
    background-size: 200% 200%;
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Layer 3 - Main Content */
.layer-3 {
    z-index: 3;
}

.hero-content {
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    perspective: 1000px;
}

.hero-title .word {
    display: inline-block;
    margin: 0 0.5rem;
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg);
    animation: wordReveal 1s ease forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) { animation-delay: 0.3s; }
.hero-title .word:nth-child(4) { animation-delay: 0.4s; }
.hero-title .word:nth-child(5) { animation-delay: 0.5s; }

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.animated-text .word {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

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

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Layer 4 - Neural Network */
.layer-4 {
    z-index: 4;
    pointer-events: none;
}

.neural-network {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 110, 0.15) 0%, transparent 50%);
    animation: neuralPulse 4s ease-in-out infinite;
}

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

/* ==================== STORY SECTION ==================== */
.story-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-chapter {
    display: grid;
    grid-template-columns: 100px 1fr 300px;
    gap: 3rem;
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease;
    padding: 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.story-chapter.revealed {
    opacity: 1;
    transform: translateY(0);
}

.story-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.story-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.split-text {
    display: inline-block;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-text);
}

.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Story Visual Elements */
.vintage-computer {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.vintage-computer::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #111;
    border-radius: 5px;
}

.frozen-landscape {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #3a5f7d 0%, #1a2f3d 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 20px 60px rgba(58, 95, 125, 0.5);
    animation: freeze 3s ease-in-out infinite;
}

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

.chess-board {
    width: 200px;
    height: 200px;
    background: 
        repeating-linear-gradient(0deg, #333 0px, #333 25px, #fff 25px, #fff 50px),
        repeating-linear-gradient(90deg, #333 0px, #333 25px, #fff 25px, #fff 50px);
    background-size: 50px 50px;
    border: 5px solid var(--accent-color);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.5);
    animation: rotate3d 4s ease-in-out infinite;
}

@keyframes rotate3d {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(10deg); }
}

.neural-visualization {
    width: 200px;
    height: 200px;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.neural-visualization::before,
.neural-visualization::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.neural-visualization::before {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    animation: expand 2s ease-in-out infinite;
}

.neural-visualization::after {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    background: var(--secondary-color);
    box-shadow: 0 0 50px var(--secondary-color);
}

@keyframes expand {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.modern-ai {
    width: 200px;
    height: 200px;
    background: var(--gradient-glow);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 4s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.8);
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

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

/* ==================== TIMELINE SECTION - HORIZONTAL SCROLL ==================== */
.timeline-section {
    padding: 8rem 0;
    background: var(--darker-bg);
    overflow: hidden;
}

.timeline-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    display: inline-block;
}

.dancing-letters {
    letter-spacing: 0.2em;
}

.dancing-letters::before {
    content: attr(data-text);
    position: absolute;
    color: var(--primary-color);
    filter: blur(10px);
    opacity: 0.5;
    animation: dance 2s ease-in-out infinite;
}

@keyframes dance {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
    75% { transform: translateY(-3px); }
}

.horizontal-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 5%;
    cursor: grab;
}

.horizontal-scroll-container:active {
    cursor: grabbing;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

.timeline-track {
    display: flex;
    gap: 3rem;
    padding: 2rem 0;
    width: max-content;
}

.timeline-card {
    min-width: 350px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.timeline-card:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.5);
}

.timeline-card:hover::before {
    opacity: 0.1;
}

.timeline-card.winter {
    border-color: rgba(58, 95, 125, 0.5);
}

.timeline-card.winter:hover {
    border-color: #3a5f7d;
    box-shadow: 0 20px 60px rgba(58, 95, 125, 0.5);
}

.timeline-card.highlight {
    border-color: var(--accent-color);
    background: rgba(255, 0, 110, 0.05);
}

.timeline-card.highlight:hover {
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.5);
}

.timeline-card.future {
    border-color: var(--secondary-color);
    background: rgba(123, 44, 191, 0.05);
}

.card-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-content p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 4rem;
    text-align: center;
    color: var(--primary-color);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.timeline-card:hover .card-icon {
    opacity: 1;
    transform: scale(1.2) rotateY(360deg);
}

.scroll-hint {
    text-align: center;
    margin-top: 2rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    animation: slideHint 2s ease-in-out infinite;
}

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

/* ==================== 3D SHOWCASE SECTION ==================== */
.showcase-3d {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    perspective: 2000px;
}

.wave-text {
    text-align: center;
    margin-bottom: 4rem;
}

.showcase-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.cube-container {
    height: 400px;
    position: relative;
    perspective: 1000px;
}

.tech-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
    animation: rotateIdle 10s linear infinite;
}

.cube-container:hover .tech-cube {
    animation: none;
    transform: rotateX(360deg) rotateY(360deg);
}

@keyframes rotateIdle {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.3);
}

.cube-face i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cube-face h3 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    padding: 0 1rem;
}

.cube-face p {
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-text);
}

.cube-face span {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
}

.front  { transform: translateZ(150px); }
.back   { transform: translateZ(-150px) rotateY(180deg); }
.right  { transform: rotateY(90deg) translateZ(150px); }
.left   { transform: rotateY(-90deg) translateZ(150px); }
.top    { transform: rotateX(90deg) translateZ(150px); background: rgba(123, 44, 191, 0.1); border-color: var(--secondary-color); }
.bottom { transform: rotateX(-90deg) translateZ(150px); background: rgba(255, 0, 110, 0.1); border-color: var(--accent-color); }

.showcase-instruction {
    text-align: center;
    margin-top: 4rem;
    font-size: 1.3rem;
    color: var(--gray-text);
    animation: pulse 2s ease-in-out infinite;
}

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

/* ==================== FUTURE SECTION ==================== */
.future-section {
    padding: 8rem 5%;
    background: var(--dark-bg);
}

.future-container {
    max-width: 1400px;
    margin: 0 auto;
}

.future-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.glitch-text {
    position: relative;
    color: var(--light-text);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(17px, 9999px, 94px, 0); }
    20% { clip: rect(84px, 9999px, 56px, 0); }
    40% { clip: rect(28px, 9999px, 123px, 0); }
    60% { clip: rect(55px, 9999px, 34px, 0); }
    80% { clip: rect(92px, 9999px, 71px, 0); }
    100% { clip: rect(43px, 9999px, 88px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 119px, 0); }
    20% { clip: rect(101px, 9999px, 23px, 0); }
    40% { clip: rect(44px, 9999px, 88px, 0); }
    60% { clip: rect(73px, 9999px, 55px, 0); }
    80% { clip: rect(29px, 9999px, 106px, 0); }
    100% { clip: rect(88px, 9999px, 41px, 0); }
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.future-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.8);
}

.future-card.visible {
    opacity: 1;
    transform: scale(1);
}

.future-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.future-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.future-card:hover .future-icon {
    transform: rotateY(360deg) scale(1.2);
    color: var(--accent-color);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.future-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

.morph-in {
    transition-delay: calc(var(--delay) * 1ms);
}

.future-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--gray-text);
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

blockquote.visible {
    opacity: 1;
    transform: translateX(0);
}

cite {
    display: block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-style: normal;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--darker-bg);
    padding: 4rem 5%;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: var(--gray-text);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .story-chapter { grid-template-columns: 80px 1fr; }
    .story-visual { display: none; }
    .showcase-3d-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { gap: 1rem; }
    .nav-link { font-size: 0.9rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .story-chapter {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .story-number { font-size: 3rem; }
    .story-title { font-size: 2rem; }
    .timeline-card { min-width: 280px; }
    .future-title { font-size: 2.5rem; }
    .future-grid { grid-template-columns: 1fr; }
    .cube-face {
        width: 200px;
        height: 200px;
    }
    .front  { transform: translateZ(100px); }
    .back   { transform: translateZ(-100px) rotateY(180deg); }
    .right  { transform: rotateY(90deg) translateZ(100px); }
    .left   { transform: rotateY(-90deg) translateZ(100px); }
    .top    { transform: rotateX(90deg) translateZ(100px); }
    .bottom { transform: rotateX(-90deg) translateZ(100px); }
}

@media (max-width: 480px) {
    .navbar { padding: 1rem 3%; }
    .nav-logo { font-size: 1.2rem; }
    .nav-menu { display: none; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    blockquote { font-size: 1.2rem; }
}