/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette from Proud App */
    --color-bg-dark: #000000;
    --color-bg-card: #1a1a1a;
    --color-bg-card-light: rgba(40, 40, 40, 0.8);

    /* Module Colors */
    --color-yellow: #FFD93D;
    --color-red: #FF4444;
    --color-orange: #FF7700;
    --color-green: #4CAF50;
    --color-blue: #007AFF;
    --color-purple: #6441a5;

    /* Pride Rainbow */
    --pride-red: #FF0000;
    --pride-orange: #FF4500;
    --pride-orange-light: #FF7700;
    --pride-yellow: #FFFF00;
    --pride-green: #00FF00;
    --pride-blue: #0000FF;
    --pride-purple: #8B00FF;

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #CCCCCC;
    --color-text-muted: #999999;

    /* Borders & Effects */
    --color-border: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   Top Navigation Banner
   =========================== */
.top-nav-banner {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.activism-link {
    color: var(--color-orange);
}

.activism-link:hover {
    color: var(--pride-orange-light);
    background: rgba(255, 119, 0, 0.15);
    border-color: var(--color-orange);
}

.news-link {
    color: white;
}

.news-link:hover {
    color: var(--color-blue);
    background: rgba(0, 122, 255, 0.15);
    border-color: var(--color-blue);
}

/* Mobile responsiveness for nav banner */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-sm);
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .nav-icon {
        font-size: 1.125rem;
    }

    .nav-text {
        display: none;
    }

    .nav-logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 35px;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-md);
    gap: var(--spacing-lg);
    background: linear-gradient(135deg,
        var(--pride-red) 0%,
        var(--pride-orange) 14.28%,
        var(--pride-orange-light) 28.57%,
        var(--pride-yellow) 42.85%,
        var(--pride-green) 57.14%,
        var(--pride-blue) 71.42%,
        var(--pride-purple) 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.logo-container {
    margin-bottom: var(--spacing-md);
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: logo-float 3s ease-in-out infinite;
}

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

.rainbow-letter {
    display: inline-block;
    animation: rainbow-breathing 3s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.1s);
}

@keyframes rainbow-breathing {
    0%, 100% {
        color: var(--pride-red);
        transform: scale(1);
        text-shadow: 0 0 10px currentColor;
    }
    14.28% {
        color: var(--pride-orange);
        transform: scale(1.1);
        text-shadow: 0 0 20px currentColor;
    }
    28.57% {
        color: var(--pride-orange-light);
        transform: scale(1.05);
        text-shadow: 0 0 15px currentColor;
    }
    42.85% {
        color: var(--pride-yellow);
        transform: scale(1.15);
        text-shadow: 0 0 25px currentColor;
    }
    57.14% {
        color: var(--pride-green);
        transform: scale(1.08);
        text-shadow: 0 0 18px currentColor;
    }
    71.42% {
        color: var(--pride-blue);
        transform: scale(1.12);
        text-shadow: 0 0 22px currentColor;
    }
    85.71% {
        color: var(--pride-purple);
        transform: scale(1.06);
        text-shadow: 0 0 12px currentColor;
    }
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--color-blue);
    color: white;
    border-color: var(--color-blue);
}

.btn-primary:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Images */
.hero-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.phone-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-img {
    position: absolute;
    width: auto;
    height: 100%;
    max-height: 700px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.phone-img.active {
    opacity: 1;
}

.theme-switcher {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs);
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.theme-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--color-border);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.theme-btn.active {
    background: var(--color-blue);
    color: white;
    border-color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

/* Scroll Indicator */
.scroll-indicator-container {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    animation: rainbow-bounce 3s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.2s);
    filter: drop-shadow(0 0 8px currentColor);
}

@keyframes rainbow-bounce {
    0%, 100% {
        background-color: var(--pride-red);
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    7.14% {
        background-color: var(--pride-orange);
        opacity: 0.8;
    }
    14.28% {
        background-color: var(--pride-orange-light);
        transform: translateY(10px) scale(1.1);
        opacity: 1;
    }
    21.42% {
        background-color: var(--pride-yellow);
        opacity: 0.9;
    }
    28.57% {
        background-color: var(--pride-green);
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    35.71% {
        background-color: var(--pride-blue);
        opacity: 0.85;
    }
    42.85% {
        background-color: var(--pride-purple);
        transform: translateY(10px) scale(1.1);
        opacity: 1;
    }
    50% {
        background-color: var(--pride-red);
        opacity: 0.9;
    }
    57.14% {
        background-color: var(--pride-orange);
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    64.28% {
        background-color: var(--pride-orange-light);
        opacity: 0.85;
    }
    71.42% {
        background-color: var(--pride-yellow);
        transform: translateY(10px) scale(1.1);
        opacity: 1;
    }
    78.56% {
        background-color: var(--pride-green);
        opacity: 0.9;
    }
    85.71% {
        background-color: var(--pride-blue);
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    92.85% {
        background-color: var(--pride-purple);
        opacity: 0.85;
    }
}

.scroll-indicator-container:hover .scroll-arrow {
    animation-play-state: paused;
    opacity: 1;
    transform: translateY(5px) scale(1.2);
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ===========================
   About Section
   =========================== */
.about-section {
    background: var(--color-bg-dark);
    padding-top: var(--spacing-xl);
}

.about-content {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about-card {
    background: var(--color-bg-card-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.about-card.highlight {
    border: 2px solid var(--color-blue);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(100, 65, 165, 0.1));
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.about-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card strong {
    color: var(--color-text-primary);
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #0a0a0a 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--color-bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.feature-card.yellow-border {
    border-color: var(--color-yellow);
}

.feature-card.yellow-border:hover {
    box-shadow: 0 15px 40px rgba(255, 217, 61, 0.3);
}

.feature-card.red-border {
    border-color: var(--color-red);
}

.feature-card.red-border:hover {
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.3);
}

.feature-card.green-border {
    border-color: var(--color-green);
}

.feature-card.green-border:hover {
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
}

.feature-card.blue-border {
    border-color: var(--color-blue);
}

.feature-card.blue-border:hover {
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.3);
}

.feature-card.orange-border {
    border-color: var(--color-orange);
}

.feature-card.orange-border:hover {
    box-shadow: 0 15px 40px rgba(255, 119, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: 50%;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===========================
   Screenshots Section
   =========================== */
.screenshots-section {
    background: var(--color-bg-dark);
    padding: var(--spacing-xl) 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.screenshot-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    text-align: center;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-blue);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.3);
}

.screenshot-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-md);
    margin: 0 auto var(--spacing-md) auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.screenshot-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.screenshot-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===========================
   Privacy Section
   =========================== */
.privacy-section {
    background: var(--color-bg-dark);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.privacy-card {
    background: var(--color-bg-card-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.privacy-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

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

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    background: linear-gradient(180deg, #0a0a0a 0%, var(--color-bg-dark) 100%);
}

.faq-list {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
}

.faq-item {
    background: var(--color-bg-card-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-blue);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--pride-purple);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

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

/* ===========================
   Signup Section
   =========================== */
.signup-section {
    background: linear-gradient(135deg,
        rgba(255, 0, 0, 0.1) 0%,
        rgba(255, 69, 0, 0.1) 14.28%,
        rgba(255, 119, 0, 0.1) 28.57%,
        rgba(255, 255, 0, 0.1) 42.85%,
        rgba(0, 255, 0, 0.1) 57.14%,
        rgba(0, 0, 255, 0.1) 71.42%,
        rgba(139, 0, 255, 0.1) 100%);
    padding: var(--spacing-xl) 0;
}

.signup-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.signup-content {
    max-width: 800px;
    margin: 0 auto;
}

.signup-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    border: 2px solid var(--color-blue);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 20px 50px rgba(0, 122, 255, 0.2);
}

.signup-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--color-text-primary);
}

.signup-steps {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: var(--spacing-md);
}

.signup-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.signup-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.signup-note {
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.signup-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.signup-concern {
    background: rgba(255, 68, 68, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-red);
    text-align: center;
}

.concern-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.concern-cta {
    font-size: 1.25rem;
    color: var(--color-text-primary);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-bg-card);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-rainbow-text {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.footer-software {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: var(--spacing-sm);
    line-height: 1;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.footer-tagline {
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

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

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-logo {
        max-width: 400px;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-logo {
        max-width: 350px;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .phone-showcase {
        max-width: 400px;
    }

    .features-grid,
    .privacy-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-img {
        max-width: 350px;
    }

    .screenshot-card {
        padding: var(--spacing-md);
    }

    .screenshot-card h3 {
        font-size: 1.25rem;
    }

    .screenshot-card p {
        font-size: 0.9rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        align-items: center;
        width: 100%;
    }

    .footer-rainbow-text {
        font-size: 2.5rem;
    }

    .footer-software {
        font-size: 1.25rem;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }

    .signup-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .scroll-indicator-container {
        bottom: 1.5rem;
    }

    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 280px;
    }

    .phone-showcase {
        max-width: 350px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .theme-switcher {
        flex-direction: column;
        width: 100%;
    }

    .theme-btn {
        width: 100%;
    }

    .screenshot-img {
        max-width: 350px;
    }

    .screenshot-card h3 {
        font-size: 1.125rem;
    }

    .screenshot-card p {
        font-size: 0.85rem;
    }

    .scroll-indicator-container {
        bottom: 1rem;
    }

    .scroll-arrow {
        width: 18px;
        height: 18px;
    }

    .footer-rainbow-text {
        font-size: 2rem;
    }

    .footer-software {
        font-size: 1rem;
    }
}

/* ===========================
   Image Preview Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(160, 160, 160, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

/* Make screenshot images clickable */
.screenshot-img {
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .modal-close svg {
        width: 20px;
        height: 20px;
    }
}

/* ===========================
   Smooth Scrolling
   =========================== */
html {
    scroll-behavior: smooth;
}

/* Selection Colors */
::selection {
    background: var(--color-blue);
    color: white;
}

::-moz-selection {
    background: var(--color-blue);
    color: white;
}
