/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #FFF;
    text-align: center;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0d0d0d;
    line-height: 1.7;
    overflow-x: hidden;
}

/* NEW: Optional class to prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}


a {
    text-decoration: none;
    transition: color 0.3s;
}

section {
    padding: 100px 0;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .logo {
    font-size: 1.8em;
    font-weight: bold;
    background: linear-gradient(60deg, #f79533, #ef4e7b, #5073b8, #6fba82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NEW: Container for nav elements to handle desktop/mobile switching */
.header-nav-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* NEW: Class for desktop-only navigation links */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ORIGINAL: Kept for backwards compatibility and general use */
.header nav a {
    margin-left: 10px;
}

.header nav .cta-button {
    margin-left: 10px;
}


/* Pink CTA Buttons (instead of red) */
.cta-button {
    grid-column: 1 / -1; /* Make the button span across all columns */
    justify-self: center; /* Ensure the button is centered */
    margin-top: 20px; /* Adds spacing between the images and the button */
    padding: 10px 25px;
    background-color: #ff5c78; /* Pink */
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: bold;
    cursor: pointer; /* Added for better UX */
    color: #fff; /* Added to ensure text is white */
    border: none; /* Added for consistency */
}

.cta-button:hover {
    background-color: #e94560; /* Darker Pink on hover */
}

/* Button is hidden by default */
.hoverButton {
    display: none;
}

/* --- NEW: Hamburger Menu & Mobile Nav Styles --- */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    flex-direction: column;
    justify-content: space-around;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-nav {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 2em;
    padding: 20px;
    color: #fff;
    width: 100%;
    text-align: center;
}

.mobile-nav a:hover {
    background-color: #ff5c78;
}

/* --- END OF NEW STYLES --- */


/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(26, 26, 26, 0.1), rgba(26, 26, 26, 0.5)), var(--hero-background) center/cover fixed;
}

.hero-content {
    max-width: 66%;
    margin-top: 200px;
    padding: 10px;
    text-align: left;
}

.hero-content h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Retaining .login-section to preserve original code */
.login-section {
    text-align: center;
    margin-top: 30px;
}

.login-input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.login-input-group input {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 280px;
    max-width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-family: inherit;
}

.login-input-group input:focus {
    outline: none;
    box-shadow: 0 0 5px #f37055;
}

/* Hero button uses pink color now */
.hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #ff5c78;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
    background-color: #e94560;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Divider Style */
.or-divider {
    margin: 15px 0;
    font-size: 14px;
    font-weight: bold;
    color: #aaa;
    text-transform: uppercase;
}

/* .login-box etc. for stacked email input & button */
.login-box {
    display: flex;
    flex-direction: column;
    width: 33%; /* Set a specific width instead of 100% */
    margin: 20px auto 0; /* Center horizontally and add top margin */
    padding: 20px;
}

.login-input,
.login-button {
    width: 100%;
    margin-bottom: 15px;
}

.login-input input {
    color: #0d0d0d;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-input input:focus {
    outline: none;
    box-shadow: 0 0 5px #f37055;
}

.login-button .hero-button {
    width: 100%;
}

/* Smaller line-based separator with "OR" */
.login-separator {
    display: flex;
    align-items: center;
    margin: 10px 0 15px;
}

.login-separator::before,
.login-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #666;
    margin: 0 10px;
}

.login-separator span {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Google Sign-In button styling */
.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: 100%; /* Changed from auto to 100% for consistency in the box */
    max-width: 400px;
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center; /* Changed from space-between for better centering */
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    color: #0d0d0d;
}

.gsi-material-button .gsi-material-button-state {
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30),
    0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}

/* Gallery Section */
.gallery-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    justify-content: center;
}

/* create-view Section */
.create-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.create-view p {
    max-width: 66%;
    font-weight: 600;
    margin: 10px auto 25px;
}

.create-view .feature-image {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.create-view .feature-image:hover {
    transform: scale(1.05);
}

.scenarios-content {
    column-count: 3;
    width: 100%;
}

.scenarios p {
    max-width: 66%;
    font-weight: 600;
    margin: 10px auto 25px;
}

.scenario {
    display: inline-block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    break-inside: avoid;
}

.scenario:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.scenario-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #ff5c78; /* Pink instead of orange/red */
    margin-bottom: 15px;
    margin-top: 10px;
}

.scenario-title a {
    text-decoration: underline;
}

.scenario-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
}

.scenario-item {
    position: relative;
    overflow: hidden;
    border: 2px solid #292929;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.scenario-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.scenario-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 92, 120, 0.5);
}

/* Get Started Section */
.get-started p {
    max-width: 66%;
    font-weight: 600;
    margin: 10px auto 25px;
}

/* Footer */
.footer {
    padding: 20px;
    background: #111;
}

.footer nav a {
    margin: 0 10px;
}

.footer p {
    margin-top: 10px;
}

.search a {
    text-decoration: underline;
}

.footer-scenarios, .pet-models {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-items: center;
    margin-top: 15px;
}

a.footer-link {
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

a.footer-link:hover {
    color: #e94560; /* Pink hover */
    text-decoration: none;
}

/* Pricing Section */
.pricing p {
    max-width: 66%;
    font-weight: 600;
    margin: 10px auto 25px;
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
    position: relative; /* For the 'MOST POPULAR' ribbon */
}

/* Diagonal 'MOST POPULAR' Ribbon for Starter plan */
.pricing-card.popular {
    border: 2px solid #ff5c78; /* Pink highlight border */
    overflow: hidden; /* So the ribbon doesn't break layout */
}

.pricing-card.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 30px;
    right: -60px;
    transform: rotate(45deg);
    background-color: #ff5c78;
    color: #fff;
    padding: 5px 60px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
}

.pricing-card, .pricing-card * {
    text-align: left;
}

.pricing-card .checkout-button, .pricing-card h4 {
    text-align: center;
}


.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card h4 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ff5c78; /* Pink heading */
}

.pricing-card .price {
    font-size: 1.4em;
    font-weight: bold;
    margin: 15px 0;
}

.pricing-card ul {
    list-style: none;
    padding-left: 0; /* Ensures list items align correctly */
}

.pricing-card ul li {
    position: relative;
    padding-left: 30px;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px; /* Added margin for better spacing */
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff5c78; /* Pink checkmark */
    font-size: 1.4em;
}

.pricing-card .cta-button {
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 1em;
    display: block;
    width: 100%;
}

/* Pricing Toggle */
#billing-toggle {
    margin: 20px;
    padding: 5px;
    font-size: 1em;
    background-color: #292929;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
}

/* Savings Text */
.savings {
    color: #ff5c78;
    font-weight: bold;
    margin-top: 10px;
}

/* Hide monthly price by default */
.monthly-price {
    font-size: 1.2em;
    font-weight: bold;
}

.highlight {
    outline: 3px solid #ff9800;
    box-shadow: 0 0 10px #ff9800;
    transition: outline 0.5s ease, box-shadow 0.5s ease;
}

/* Am Ende der Datei oder im Pricing Section Block hinzufügen */
.payment-trust-badge {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-trust-badge p {
    margin: 0;
    font-weight: 600;
}

.payment-trust-badge img {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-trust-badge a:hover img {
    opacity: 1;
}

/* === Showcase Section === */
.section-title {
    text-align: center;
    font-size: 2em;
    margin: 30px auto 10px;
    font-weight: bold;
}

.section-description {
    max-width: 700px;
    margin: 10px auto 40px;
    font-weight: 600;
    text-align: center;
}

.showcase {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.real-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    max-width: 400px;
    justify-items: center;
}

.real-photos img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.ai-photo img {
    width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 92, 120, 0.5);
}

.arrow {
    font-size: 5rem;
    color: #ff5c78;
    margin: 0 20px;
}

/* For the AI label badge */
.ai-photo {
    position: relative; /* So the label can be absolutely positioned */
}

.ai-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff5c78;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    pointer-events: none; /* So clicks pass through, if desired */
}

/* FAQ Section Styles for Collapsible Answers */
.faq {
    background-color: #1a1a1a;
}

.faq h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.faq-item {
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

/* Style the question as clickable */
.faq-question {
    font-size: 1.6em;
    color: #fff;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    text-align: left;
}

/* Add an indicator (like a + sign) */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.6em;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Rotate the indicator when active */
.faq-question.active::after {
    transform: rotate(45deg);
}

/* Hide the answer by default */
.faq-answer {
    display: none;
    font-size: 1.2em;
    color: #fff;
    margin: 0 0 10px 0;
    text-align: left;
}

/* ========== Additional "How It Works" Section Styles ========== */
.how-it-works-section {
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-bottom: 20px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background-color: #ff5c78;
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 40px 0;
}

.contact .cta-button {
    display: inline-block;
}

/* Responsive Tweaks */
@media (max-width: 1225px) {
    .hero-content, .scenarios p, .get-started p, .create-view p, .pricing p, .feature-image {
        max-width: 100%;
    }

    .gallery-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .scenarios-content {
        column-count: 2;
    }
}

@media (max-width: 735px) {
    section {
        padding: 40px 20px;
    }

    /* --- NEW HEADER RULES FOR MOBILE --- */
    .header nav, .desktop-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    /* --- END NEW HEADER RULES --- */
    .hero-content {
        margin-top: 0;
        text-align: center;
    }

    .login-box {
        width: 90%;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .pricing-options {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .gallery-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenarios-content {
        column-count: 1;
    }

    .footer-scenarios, .pet-models {
        grid-template-columns: 1fr;
    }

    .footer nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .showcase {
        flex-direction: column;
        gap: 20px;
    }

    .real-photos, .ai-photo img {
        max-width: 100%;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 90%;
        max-width: 350px;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .cta-button {
        font-size: 1.1em;
        width: 100%;
        padding: 15px;
    }

    .get-started .cta-button {
        max-width: 300px;
    }
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}