/* ==============================
   ROOT & RESET
   ============================== */

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

:root {
    /* Kitzlr Brand Colors */
    --kitzlr-background: #F29BAB;
    --kitzlr-accent: #D4788A;
    --kitzlr-text: #F2E9E9;
    --kitzlr-header: #F2D0D7;
    --kitzlr-button: #F2BDC7;

    /* Additional Colors */
    --white: #FFFFFF;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--kitzlr-background);
    color: var(--dark-gray);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==============================
   ACCESSIBILITY
   ============================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==============================
   CONTAINER
   ============================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* ==============================
   HEADER
   ============================== */

.site-header {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 24px;
}

.site-header.landing {
    padding: 48px 0 32px;
}

.logo h1 {
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logo-icon {
    border-radius: 10px;
    vertical-align: middle;
}

.logo a:hover h1 {
    transform: scale(1.05);
}

.tagline {
    font-size: 1rem;
    color: var(--kitzlr-text);
    font-weight: 500;
}

/* ==============================
   LANDING PAGE
   ============================== */

.landing-main {
    max-width: 800px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 48px 24px;
    margin-bottom: 48px;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--kitzlr-text);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--white);
    color: var(--kitzlr-accent);
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button:focus {
    outline: 3px solid var(--kitzlr-accent);
    outline-offset: 4px;
}

.cta-button i {
    font-size: 1.4rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--kitzlr-accent);
}

.feature-icon i {
    display: block;
}

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

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Privacy Statement */
.privacy-statement {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    margin-bottom: 48px;
}

.privacy-statement h3 {
    font-size: 1.5rem;
    color: var(--kitzlr-accent);
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.privacy-statement h3 i {
    font-size: 1.3rem;
}

.privacy-statement p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================
   ACTIVITY CARD (SHARED PAGE)
   ============================== */

main {
    max-width: 600px;
    margin: 0 auto;
}

.activity-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow);
    margin-bottom: 24px;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--light-gray);
}

.type-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

.type-badge.partner {
    background: linear-gradient(135deg, var(--kitzlr-accent), var(--kitzlr-button));
    color: var(--white);
}

.date {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ==============================
   STATS
   ============================== */

.stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 12px;
}

.stat .icon {
    font-size: 1.2rem;
}

.stat .label {
    font-size: 0.85rem;
    color: #666;
    flex: 1;
}

.stat .value {
    font-weight: 600;
    color: var(--dark-gray);
}

/* ==============================
   ORGASMS SECTION
   ============================== */

.orgasms-section {
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #FFE5EC, #FFF0F5);
    border-radius: 12px;
}

.orgasms-section h3 {
    font-size: 1.1rem;
    color: var(--kitzlr-accent);
    margin-bottom: 12px;
}

.orgasms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.orgasm-stat {
    text-align: center;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(212, 120, 138, 0.15);
}

.orgasm-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.orgasm-count {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--kitzlr-accent);
}

/* ==============================
   DETAILS SECTIONS
   ============================== */

.details-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.details-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.details-section h3 {
    font-size: 1rem;
    color: var(--kitzlr-accent);
    margin-bottom: 12px;
}

.items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--kitzlr-background);
    color: var(--white);
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.empty {
    color: #999;
    font-style: italic;
}

/* ==============================
   ERROR STATE
   ============================== */

.error-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 4px 12px var(--shadow);
    text-align: center;
    margin-bottom: 24px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.error-card h2 {
    color: var(--kitzlr-accent);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.error-card p {
    color: #666;
    margin-bottom: 8px;
}

.error-hint {
    font-size: 0.9rem;
    color: #999;
    margin-top: 16px;
}

/* ==============================
   FOOTER
   ============================== */

footer {
    text-align: center;
    padding: 32px 20px;
    margin-top: auto;
}

.primary-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--kitzlr-accent), var(--kitzlr-button));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(212, 120, 138, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 120, 138, 0.4);
}

.primary-btn:active {
    transform: translateY(0);
}

.primary-btn:focus {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--white);
    color: var(--kitzlr-accent);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 24px;
}

.app-store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.app-store-link:focus {
    outline: 3px solid var(--kitzlr-accent);
    outline-offset: 4px;
}

.app-store-link .icon {
    font-size: 1.2rem;
}

.privacy-notice {
    font-size: 0.85rem;
    color: var(--kitzlr-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.copyright {
    font-size: 0.75rem;
    color: var(--kitzlr-text);
    opacity: 0.8;
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .logo h1 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 32px 16px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .activity-card {
        padding: 20px;
    }

    .card-header {
        gap: 10px;
    }

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

    .primary-btn {
        width: 100%;
        padding: 14px 24px;
    }

    .app-store-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .activity-card {
        padding: 16px;
    }

    .type-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .date {
        font-size: 0.85rem;
    }

    .orgasm-count {
        font-size: 1.75rem;
    }

    .item-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* ==============================
   PRIVACY POLICY PAGE
   ============================== */

.privacy-main {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-page {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 12px var(--shadow);
    margin-bottom: 48px;
}

.privacy-page h2 {
    font-size: 2rem;
    color: var(--kitzlr-accent);
    margin-bottom: 8px;
    font-weight: 800;
}

.privacy-page .last-updated {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.policy-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--light-gray);
}

.policy-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.policy-section h3 {
    font-size: 1.15rem;
    color: var(--kitzlr-accent);
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-section h3 i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.policy-section p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.policy-section ul li {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 4px;
}

.policy-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--kitzlr-accent);
    font-size: 0.8rem;
    top: 3px;
}

.contact-link {
    color: var(--kitzlr-accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--kitzlr-button);
    text-underline-offset: 3px;
}

.contact-link:hover {
    color: var(--kitzlr-background);
}

/* ==============================
   FOOTER NAV
   ============================== */

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--kitzlr-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-nav a.active {
    color: var(--white);
    font-weight: 600;
}

/* ==============================
   SCREENSHOTS GALLERY
   ============================== */

.screenshots {
    margin-bottom: 48px;
    text-align: center;
}

.screenshots h2 {
    font-size: 1.75rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 24px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.screenshots-grid img:hover {
    transform: translateY(-4px);
}

/* ==============================
   HERO IMAGE
   ============================== */

.hero-image {
    margin-top: 32px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 32px 24px;
    }

    .privacy-page h2 {
        font-size: 1.5rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .privacy-page {
        padding: 24px 16px;
    }
}

/* ==============================
   ANIMATIONS
   ============================== */

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

.activity-card,
.error-card,
.feature-card,
.privacy-statement {
    animation: fadeIn 0.5s ease-out;
}
