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

:root {
    /* Gamified color palette */
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-bg: #1A1A2E;
    --light-bg: #F7F7F7;
    --text-dark: #2D2D2D;
    --text-light: #FFFFFF;
    --card-bg: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --glow: rgba(255, 107, 107, 0.5);
    
    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== STICKY CTA BUTTON ===== */
.sticky-cta {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.sticky-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--glow);
}

.sticky-cta:active {
    transform: scale(0.98);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213E 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Floating Characters */
.floating-char {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.char-1 {
    width: 180px;
    top: 15%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.char-2 {
    width: 150px;
    top: 60%;
    right: 8%;
    animation: float 7s ease-in-out infinite 1s;
}

.char-3 {
    width: 135px;
    top: 25%;
    right: 15%;
    animation: float 8s ease-in-out infinite 2s;
}

.char-4 {
    width: 165px;
    bottom: 20%;
    left: 15%;
    animation: float 6.5s ease-in-out infinite 0.5s;
}

.char-5 {
    width: 95px;
    top: 70%;
    left: 5%;
    animation: float 7.5s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease;
    font-family: var(--font-display);
    color: var(--accent-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1.4s ease;
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    color: var(--accent-color);
}

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

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

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
    background: inherit;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ===== HOOK SECTION ===== */
.hook-section {
    background: var(--light-bg);
    z-index: 3;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.large-text {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===== TRY IT NOW SECTION ===== */
.try-it-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.try-it-section .section-title {
    color: var(--accent-color);
}

.try-it-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.try-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.try-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(255, 230, 109, 0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.try-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
    flex-grow: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.2);
}

.feature-gif {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.feature-gif.learn {
    object-position: center center;
}

.feature-gif.play {
    object-position: center 80%;
}

.feature-gif.compete {
    object-position: center top;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.mission-section .section-title {
    color: var(--accent-color);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.mission-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== FOUNDERS SECTION ===== */
.founders-section {
    background: linear-gradient(135deg, #0F3460 0%, #16213E 100%);
    color: var(--text-light);
    padding: 6rem 0;
}

.founders-section .section-title {
    color: var(--accent-color);
    font-size: 3.5rem;
}

.founders-section .section-subtitle {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== CHARACTER SELECTION GRID ===== */
.character-select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 800px;
}

.character-portrait {
    position: relative;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.character-portrait img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.character-portrait.locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.character-portrait.locked .locked-icon {
    font-size: 3rem;
    color: var(--text-light);
    opacity: 0.5;
    position: relative;
    z-index: 2;
}

.portrait-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portrait-frame {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.character-portrait.selected .portrait-frame {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 230, 109, 0.6),
                inset 0 0 30px rgba(255, 230, 109, 0.2);
}

.character-portrait.selected .portrait-glow {
    opacity: 0.6;
}

.character-portrait.selected img {
    transform: scale(1.1);
}

.portrait-name {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-light);
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CHARACTER DETAILS DISPLAY ===== */
.character-details {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.character-bio {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.character-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.bio-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.bio-header h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.bio-header p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.bio-content {
    height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
    line-height: 1.8;
    -webkit-overflow-scrolling: touch;
}

.bio-content::-webkit-scrollbar {
    width: 8px;
}

.bio-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.bio-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.bio-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.bio-content p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .character-select-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .character-details {
        margin-top: 2rem;
    }
    
    .character-bio {
        padding: 1.5rem;
    }
    
    .bio-header h3 {
        font-size: 2rem;
    }
    
    .bio-content {
        height: 400px;
        font-size: 0.95rem;
    }
}

.founder-card {
    perspective: 1000px;
    cursor: pointer;
    height: 550px;
    -webkit-tap-highlight-color: transparent;
}

.founder-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.founder-card.flipped .founder-card-inner {
    transform: rotateY(180deg);
}

.founder-card-front,
.founder-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.founder-card-front {
    z-index: 2;
}

.founder-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
}

.founder-card:hover .founder-card-front,
.founder-card:hover .founder-card-back {
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(255, 230, 109, 0.3);
}

.founder-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.founder-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.founder-card:hover .founder-glow {
    opacity: 1;
}

.founder-card:hover .founder-image {
    transform: scale(1.05);
}

.founder-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-family: var(--font-display);
}

.founder-role {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.founder-bio-content {
    flex: 1;
    overflow-y: auto;
    text-align: left;
    margin: 1rem 0;
    line-height: 1.6;
}

.founder-bio-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.tap-hint {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.7;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .founder-card {
        height: 500px;
    }
    
    .founder-card-front,
    .founder-card-back {
        padding: 2rem 1.5rem;
    }
    
    .founder-image-container {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
    }
    
    .founder-bio-content {
        font-size: 0.9rem;
    }
}

.founder-bio {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.7;
    font-style: italic;
}

/* ===== COMING SOON SECTION ===== */
.coming-soon-section {
    background: var(--light-bg);
    text-align: center;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.platform-badge {
    background: var(--card-bg);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.platform-icon {
    font-size: 3rem;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: #666;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #E55353 100%);
    color: var(--text-light);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    border-radius: 30px;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
    font-size: 1.1rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.signup-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-family: var(--font-main);
}

#email-input:focus {
    outline: 3px solid var(--accent-color);
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--dark-bg);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.form-message.success {
    color: var(--accent-color);
}

.form-message.error {
    color: #FFD93D;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.contact-section .contact-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    color: var(--accent-color);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-link svg {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link:hover svg {
    transform: scale(1.15) rotate(5deg);
}

.email-link {
    border-color: rgba(59, 130, 246, 0.4);
}

.email-link:hover {
    border-color: var(--secondary-color);
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.social-link:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.15);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
}

@media (min-width: 768px) {
    .contact-links {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .contact-link {
        min-width: 250px;
    }
    
    .contact-title {
        font-size: 3rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-tagline {
    font-size: 1.8rem;
    font-family: var(--font-display);
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRIVACY MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 2rem;
}

.modal-content {
    background-color: #1A1A2E;
    color: #F7F7F7;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(247, 247, 247, 0.2);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--accent-color);
}

.modal-close {
    background: none;
    border: none;
    color: #F7F7F7;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    line-height: 1.6;
}

.modal-body .meta-info {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.modal-body .meta-info strong {
    font-weight: 600;
}

.modal-body .divider {
    border: none;
    border-top: 1px solid rgba(247, 247, 247, 0.2);
    margin: 1.5rem 0;
}

.modal-body h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body a {
    color: var(--secondary-color);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* ===== EMAIL VALIDATION ===== */
.email-input-wrapper {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.email-error {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 20px;
    font-weight: 600;
}

/* ===== TYPO CORRECTION MODAL ===== */
.typo-modal-content {
    max-width: 500px;
    position: relative;
}

.typo-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.typo-modal-body {
    text-align: center;
    padding: 1rem;
}

.typo-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.typo-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.typo-message {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.typo-suggestion-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.typo-suggestion {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.typo-buttons {
    display: flex;
    gap: 1rem;
}

.typo-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

.typo-btn.typo-btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.typo-btn.typo-btn-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.typo-btn.typo-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.typo-btn.typo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, var(--primary-color) 0%, #E55353 100%);
    color: var(--text-light);
    padding: 2rem 3rem;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.6);
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: var(--font-display);
    text-align: center;
    min-width: 300px;
}

.toast-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    .sticky-cta {
        top: auto;
        bottom: 2rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 4rem);
        max-width: 300px;
    }
    
    .sticky-cta:hover {
        transform: translateX(-50%) scale(1.05);
    }
    
    .sticky-cta:active {
        transform: translateX(-50%) scale(0.98);
    }
    
    /* Smaller floating characters on mobile */
    .char-1, .char-2, .char-3, .char-4, .char-5 {
        width: 90px;
        opacity: 0.4;
    }
    
    .char-3 {
        display: none; /* Hide some characters on smaller screens */
    }
    
    .char-5 {
        display: none;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-box h2 {
        font-size: 1.8rem;
    }
    
    .large-text {
        font-size: 1.2rem;
    }
    
    .try-it-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .try-it-cards::-webkit-scrollbar {
        display: none;
    }
    
    .try-card {
        min-width: calc(100% - 4rem);
        max-width: calc(100% - 4rem);
        scroll-snap-align: start;
        flex-shrink: 0;
        transform: none;
    }
    
    .try-card:hover {
        transform: none;
    }
    
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .features-grid::-webkit-scrollbar {
        display: none;
    }
    
    .feature-card {
        min-width: calc(100% - 4rem);
        max-width: calc(100% - 4rem);
        scroll-snap-align: start;
        flex-shrink: 0;
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .mission-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .mission-grid::-webkit-scrollbar {
        display: none;
    }
    
    .mission-card {
        min-width: calc(100% - 4rem);
        max-width: calc(100% - 4rem);
        scroll-snap-align: start;
        flex-shrink: 0;
        transform: none;
    }
    
    .mission-card:hover {
        transform: none;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platforms {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    #email-input {
        width: 100%;
    }
    
    .cta-box {
        padding: 3rem 2rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .feature-gif {
        height: 200px;
    }
}
