:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --secondary-color: #f4f4f4;
    /* Silver/Light Grey */
    --accent-color: #ff0033;
    /* Swiss Red */

    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --spacing-xl: 12rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    /* Prevents getting trapped */
}

/* Typography - Swiss Style */
h1,
h2,
h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(6rem, 25vw, 15rem);
    line-height: 0.8;
    margin-bottom: 0;
    color: var(--text-color);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

p.lead-text {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    max-width: 1000px;
    margin: 0 0 var(--spacing-md) 0;
}

.text-red {
    color: var(--accent-color);
}

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

/* Navbar - Completely Hidden Initially */
.navbar {
    padding: 20px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.navbar.scrolled-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section - Parallax/Curtain Effect */
.hero-section {
    height: 100dvh;
    /* Mobile Polish */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: sticky;
    /* The Magic */
    top: 0;
    z-index: 1;
    /* Behind content */
    padding: 0 20px;
    transition: transform 0.1s linear;
    scroll-snap-align: start;
}

/* Content needs to slide OVER the hero */
main {
    position: relative;
    z-index: 10;
    /* Above hero */
    background: var(--bg-color);
    /* Ensure opacity */
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    margin-top: 0;
    scroll-snap-align: start;
    scroll-margin-top: 20px;
}

/* Typography & Layout */
.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Will be animated in JS */
    transform-origin: center center;
    will-change: transform, opacity;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2em;
    font-weight: 700;
}

.text-black {
    color: var(--text-color);
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Simple Animated Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--accent-color);
    margin-top: auto;
    /* Push to bottom if needed, but flex center handles it */
    padding-bottom: 40px;
}

.indicator-text {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-top: 0px;
}

.arrow-down {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Info Section */
.info-section {
    background: var(--bg-color);
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    font-size: 1.15rem;
    color: #333;
}

/* Story Section */
.story-section,
.frogsy-narrative-section {
    background: var(--secondary-color);
}

.story-content {
    max-width: 800px;
}

.frogsy-narrative-section .story-content {
    border-left: 4px solid var(--accent-color);
    padding-left: 40px;
}

.story-content {
    max-width: 800px;
}

.story-content p {
    margin-bottom: 24px;
    font-size: 1.25rem;
}



/* Actions Section */
.actions-section {
    background: var(--bg-color);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Minimal Cards */
.card {
    background: var(--secondary-color);
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 8px;
    /* Slight radius for better clickability feel */
    display: flex;
    /* Changed to flex for better layout control */
    flex-direction: column;
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Inherit text color */
}

.card:hover {
    background: #fff;
    border-color: #eee;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.card.bad-card {
    background: #fff0f3;
}

.card.bad-card:hover {
    border-color: #ffccd5;
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
    /* Explicit color to override link color */
}

.card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Push button to bottom */
}

/* Updated selector to handle span buttons inside link cards */
.btn,
span.btn {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.2s;
    display: inline-block;
    /* Ensure spans behave like buttons */
}

.btn:hover {
    background: var(--accent-color);
    color: #fff;
    padding: 5px 10px;
}

/* Footer */
footer {
    padding: 80px 0;
    background: #000;
    color: #fff;
    text-align: left;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

/* Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {

    .content-block,
    .align-center {
        flex-direction: column;
        display: flex;
        gap: 40px;
        text-align: left;
    }

    .frogsy-visual {
        width: 100%;
    }

    h1 {
        font-size: 8rem;
    }
}

/* Frogsy Theme Overrides */
body.frogsy-theme {
    --accent-color: #00897b;
    /* Teal */
    --secondary-color: #e0f2f1;
    /* Light Sage/Cyan mix */
    --text-color: #004d40;
    /* Dark Teal */

    background-color: #ffffff;
}

body.frogsy-theme .navbar {
    border-bottom-color: #b2dfdb;
}

body.frogsy-theme .text-red {
    color: var(--accent-color);
}

body.frogsy-theme .text-bad {
    color: #00bcd4;
    /* Cyan */
}

/* Specific Frogsy Elements */
.frogsy-hero {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e0f2f1;
}





/* Nice Looking Button */
/* Nice Looking Button - Flat & Solid */
.btn-frogsy {
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    /* Matching donate button */
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border: none;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 25px;
}

.btn-frogsy:hover {
    background: #00695c;
    /* Darker teal on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 137, 123, 0.2);
}

/* Ripple Effect */
.btn,
.btn-frogsy,
button {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Frogsy Feature Cards */
.frogsy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 80px 0;
}

.feature-card {
    background: #f8fcfc;
    /* Very light cool grey/green */
    padding: 40px;
    border-radius: 5px;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.feature-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 137, 123, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.frogsy-nav-link {
    color: #004d40;
    font-weight: 700;
    text-decoration: none;
    margin-left: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.frogsy-nav-link:hover {
    color: #00bcd4;
}

/* --- Frogsy Page Specific Overrides --- */

/* Navbar Fix */
.frogsy-nav-menu {
    display: flex;
    align-items: center;
}

.frogsy-nav-active {
    background: rgba(255, 255, 255, 0.98) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 77, 64, 0.05);
}

.frogsy-text-red {
    color: var(--accent-color);
}

/* Hero Section Refinements */
.frogsy-hero {
    padding: 120px 0 60px;
    /* Reduced bottom padding */
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfc 100%);
    border-bottom: none;
}

.frogsy-hero h1 {
    margin-bottom: 16px;
    color: var(--text-color);
}

.frogsy-lead-text {
    color: var(--text-color);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    /* Reduced margin */
    line-height: 1.5;
    font-weight: 500;
}

.frogsy-showcase {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px auto;
    flex-wrap: wrap;
    max-width: 1100px;
}

.frogsy-screenshot {
    max-width: 300px;
    /* Slightly larger for desktop */
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 20px 50px rgba(0, 77, 64, 0.15));
}

.frogsy-screenshot:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 30px 60px rgba(0, 77, 64, 0.25));
    z-index: 10;
}

/* --- Content Styling V3 (Minimal) --- */
/* (Styles removed as per request to match existing typography) */

/* Feature Grid Improvements */
.frogsy-features {
    gap: 30px;
    /* Reduced gap */
    margin: 60px 0;
    /* Reduced vertical margin */
}

/* New Section Wrapper for Features to add background definition */
.frogsy-features-section {
    padding: 80px 0;
    background: #fbfdfd;
    /* Very subtle difference from white */
    border-top: 1px solid #e0f2f1;
    border-bottom: 1px solid #e0f2f1;
}

.feature-card {
    padding: 40px 30px;
    background: #ffffff;
    border: 1px solid #e0f2f1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    /* Tighter base shadow */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    border-color: #4db6ac;
    /* Stronger teal border */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 137, 123, 0.1);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 700;
}

.feature-card p {
    color: #455a64;
    font-size: 1rem;
    line-height: 1.6;
}

/* Call to Action Section */
.frogsy-cta-section {
    text-align: center;
    padding: 80px 0 100px;
    /* Significant reduction in padding */
    background: linear-gradient(0deg, #e0f2f1 0%, #ffffff 100%);
}

.frogsy-cta-section h2 {
    color: var(--text-color);
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.frogsy-cta-text {
    font-size: 1.25rem;
    color: #455a64;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

@media (max-width: 768px) {

    /* Navbar Mobile Tweaks */
    .frogsy-nav-menu {
        gap: 15px;
        /* Reduce gap */
    }

    .frogsy-nav-link {
        margin-left: 10px;
        font-size: 0.8rem;
        /* Smaller font */
        letter-spacing: 0.5px;
    }

    .logo {
        font-size: 1rem;
        /* Slightly smaller logo */
    }

    /* Hero & Layout Mobile Tweaks */
    .frogsy-hero {
        padding: 100px 0 40px;
    }

    .frogsy-hero h1 {
        font-size: 15vw;
        /* Responsive font size for hero title */
        margin-bottom: 10px;
    }

    .frogsy-lead-text {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 20px;
        /* Ensure lateral padding */
    }

    .frogsy-showcase {
        gap: 20px;
        margin: 30px auto;
    }

    .frogsy-screenshot {
        max-width: 240px;
        box-shadow: 0 10px 30px rgba(0, 77, 64, 0.1);
    }

    .frogsy-features-section {
        padding: 40px 0;
    }

    .frogsy-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .feature-card {
        padding: 30px 20px;
        /* Reduced padding */
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .frogsy-cta-section {
        padding: 50px 0 60px;
    }

    .frogsy-cta-section h2 {
        font-size: 1.8rem;
    }

    .frogsy-cta-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* --- Donate Page Styling --- */
.donate-main {
    padding-top: 120px;
    min-height: 80vh;
}

.donate-container {
    text-align: center;
    max-width: 800px;
}

.donate-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 40px;
    line-height: 1.1;
}

.donate-card {
    background: #f9f9f9;
    padding: 60px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: left;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.donate-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.donate-card-lead {
    font-size: 1.25rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.donate-card-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

.btn-donate {
    font-size: 1.5rem;
    padding: 20px 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 51, 0.2);
}

.donate-disclaimer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* --- Buy Me Coffee Page Styling --- */
.buyme-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    background: var(--secondary-color);
}

.message-card {
    background: white;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.buyme-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.buyme-lead {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.buyme-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

.buyme-subtext {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}

.btn-buyme {
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.2s;
}

.btn-buyme:hover {
    background: #d50000;
    transform: translateY(-2px);
}

/* --- Mobile Styling for Donate & Buy Me --- */
@media (max-width: 768px) {

    /* Donate Page */
    .donate-main {
        padding-top: 100px;
    }

    .donate-card {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .donate-title {
        margin-bottom: 20px;
    }

    .donate-card h2 {
        font-size: 1.5rem;
    }

    .donate-card-lead {
        font-size: 1.1rem;
    }

    .donate-card-text {
        font-size: 1rem;
    }

    .btn-donate {
        font-size: 1.1rem;
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Buy Me Page */
    .message-card {
        padding: 40px 20px;
    }

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

    .buyme-lead {
        font-size: 1.3rem;
    }

    .buyme-text {
        font-size: 1.1rem;
    }
}