/* Coming Soon Page Styles */

/* Hero Section */
.coming-soon-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 128, 255, 0.8) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-duration: 25s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(92, 179, 255, 0.8) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
    animation-delay: 10s;
}

.coming-soon-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.status-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glitch Effect */
.glitch {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #00ffff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% {
        clip: rect(42px, 9999px, 44px, 0);
        transform: skew(0.5deg);
    }
    20% {
        clip: rect(20px, 9999px, 30px, 0);
        transform: skew(0.8deg);
    }
    40% {
        clip: rect(65px, 9999px, 90px, 0);
        transform: skew(0.2deg);
    }
    60% {
        clip: rect(10px, 9999px, 80px, 0);
        transform: skew(0.9deg);
    }
    80% {
        clip: rect(30px, 9999px, 60px, 0);
        transform: skew(0.4deg);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.5deg);
    }
    20% {
        clip: rect(30px, 9999px, 50px, 0);
        transform: skew(0.3deg);
    }
    40% {
        clip: rect(10px, 9999px, 20px, 0);
        transform: skew(0.7deg);
    }
    60% {
        clip: rect(80px, 9999px, 90px, 0);
        transform: skew(0.2deg);
    }
    80% {
        clip: rect(45px, 9999px, 75px, 0);
        transform: skew(0.6deg);
    }
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 300;
}

.teaser {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    min-width: 120px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hints Section */
.hints-section {
    padding: 100px 0;
    background: white;
}

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

.hint-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Desktop-specific tweaks for progress alignment */
@media (min-width: 769px) {
    .progress-tracker {
        position: relative;
        align-items: flex-start; /* top-align all items so icons align */
        justify-content: center;
        flex-wrap: nowrap; /* keep on one row on wide screens */
        max-width: 1400px; /* widen the entire row */
    }
    .progress-tracker::before { display: none; }
    .progress-item {
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 220px; /* unified item width */
        max-width: 220px;
        padding-left: 8px; /* tighter horizontal padding on desktop */
        padding-right: 8px;
    }
    .progress-tracker > .progress-item:last-of-type {
        margin-top: 0; /* no per-item flow offset */
        position: relative;
        top: 0; /* bring Launch down slightly to align with others */
    }
    /* Segmented horizontal connectors on desktop */
    .progress-tracker > .progress-connector {
        display: block;
        flex: 0 0 36px; /* shorter segment between items */
        height: 3px;
        background: var(--gray-medium);
        align-self: flex-start; /* align relative to top */
        margin: 0 4px 0 !important; /* slightly tighter side margins */
        position: relative;
        top: 110px !important; /* align with titles (slightly higher) */
        z-index: 0;
        pointer-events: none;
    }

    /* Keep the first title on a single line (desktop only) */
    .progress-tracker .progress-item:first-of-type h3 {
        white-space: nowrap;
    }
}

.hint-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hint-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.hint-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.hint-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: var(--gray-light);
}

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

.newsletter-content h2 {
    margin-bottom: 20px;
}

.newsletter-content > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.email-input {
    flex: 1;
    padding: 16px 24px;
    font-size: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: var(--primary-blue);
}

.privacy-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

.success-message {
    background: #10B981;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease;
}

.success-message span {
    font-size: 24px;
    margin-right: 10px;
}

/* Progress Section */
.progress-section {
    padding: 100px 0;
    background: white;
}

/* Slightly reduce horizontal padding for this section on desktop */
@media (min-width: 769px) {
    .progress-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.progress-tracker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.progress-item {
    text-align: center;
    padding: 20px;
    position: relative;
    flex: 1;
    min-width: 180px;
}

.progress-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--text-light);
    border: 3px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.progress-item.completed .progress-icon {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.progress-item.active .progress-icon {
    background: white;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 8px rgba(0, 128, 255, 0.1);
    animation: pulse 2s infinite;
}

.progress-item h3 {
    font-size: 1.125rem;
    line-height: 1.2; /* normalize line-height to avoid subpixel differences */
    margin-top: 0; /* normalize top spacing for consistent alignment */
    margin-bottom: 10px;
    color: var(--text-dark);
}

.progress-item p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.progress-connector {
    flex: 0 0 60px;
    height: 3px;
    background: var(--gray-medium);
    position: relative;
    margin: 0 -30px;
}

.progress-item.completed + .progress-connector {
    background: var(--primary-blue);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }

    .coming-soon-content h2 {
        font-size: 1.8rem;
    }

    .countdown-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .countdown-item {
        min-width: auto;
        padding: 20px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .hints-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .progress-tracker {
        flex-direction: column;
    }

    .progress-connector {
        width: 3px;
        height: 60px;
        margin: 12px 0 32px;
        align-self: center;
        z-index: 0;
    }

    .progress-item {
        z-index: 1;
    }
}

/* Add to css/coming-soon.css */

.gallery-section {
    padding: 80px 0;
    background-color: #f7f7fa; /* Light background for contrast */
}

.gallery-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-container {
    overflow-x: auto; /* Enables horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    white-space: nowrap; /* Keeps items in a single line */
    padding-bottom: 20px; /* Space for scrollbar */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #8A2BE2 #f0f0f5; /* Thumb and track color for Firefox */
}

/* Custom scrollbar for Webkit browsers (Chrome, Safari) */
.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #f0f0f5;
    border-radius: 10px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: #8A2BE2; /* Primary purple color */
    border-radius: 10px;
    border: 2px solid #f0f0f5;
}

.gallery-scroll-wrapper {
    display: flex; /* Arranges items in a row */
    gap: 20px; /* Space between images */
    padding: 0 15px; /* Padding for the ends of the scroll area */
}

.gallery-item {
    flex: 0 0 auto; /* Prevents items from shrinking */
    width: 300px; /* Fixed width for each image card */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures images cover the area without distortion */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.gallery-item .gallery-caption {
    padding: 15px;
    font-size: 15px;
    color: #333;
    text-align: center;
    line-height: 1.4;
    white-space: normal; /* Allows caption text to wrap */
}

.gallery-hint {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: #555;
    font-style: italic;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .gallery-item {
        width: 280px; /* Slightly smaller on mobile */
    }
}

/* Styling for the new Problem and Vision Introduction Block */
.problem-vision-intro-block {
    /* Centered block spanning max width */
    max-width: 900px; 
    margin: 20px auto 60px auto; 
    text-align: center; /* Center the entire block's content */
}

.problem-statement,
.vision-statement {
    /* Reset flex properties */
    width: 100%; 
    padding: 0 15px; /* Add slight horizontal padding */
    margin-bottom: 30px; /* Space between Problem and Vision */
}

.vision-statement {
    margin-bottom: 0; /* No margin below the vision statement */
}

.intro-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center; /* Center the title */
}

.problem-statement p,
.vision-statement p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
    max-width: 750px; /* Limit width for readability */
    margin: 0 auto; /* Center the paragraph text */
}

/* Ensure the cards below still look good after this block */
@media (max-width: 768px) {
    .problem-vision-intro-block {
        margin-bottom: 40px;
    }
}