/* Pete The Cat Official Font */
@font-face {
    font-family: 'Handy Sans';
    src: url(851d8b028efd90618f80.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #fef5e7 0%, #e6fffa 50%, #f0fff4 100%);
    background-attachment: fixed;
}

/* Kids App Color Variables */
:root {
    --primary-blue: #4299e1;
    --primary-purple: #9f7aea;
    --primary-green: #48bb78;
    --primary-orange: #ed8936;
    --primary-pink: #ed64a6;
    --primary-yellow: #ecc94b;
    --safe-green: #38a169;
    --warning-red: #e53e3e;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-card: #ffffff;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Pete The Cat Official Brand Colors from petethecatbooks.com */
    --pete-pink-light: #f99ec5;
    --pete-pink-mid: #ec6aa9;
    --pete-pink-accent: #e275a4;
    --pete-pink-dark: #c2366c;
    --pete-purple-deep: #794f9a;
    --pete-purple-accent: #8066b2;
    --pete-purple-hot: #dc4c8a;
    --pete-font-brand: 'Handy Sans', 'Fredoka One', 'Comic Neue', cursive, sans-serif;
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand h2 {
    color: #000000;
    font-family: 'Avenir', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    position: relative;
}

/* .nav-brand h2::after {
    content: '🐱';
    margin-left: 8px;
    font-size: 1.2rem;
} */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    box-shadow: var(--shadow-soft);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-card);
    border: 2px solid var(--bg-card);
    border-radius: 25px;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    color: white;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup-container {
    position: relative;
    max-width: 450px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-mockup {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-mockup:hover {
    transform: scale(1.02);
}

.hero-app-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.hero-app-icon:hover {
    transform: scale(1.1) rotate(-5deg);
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple), var(--primary-pink), var(--primary-orange));
    transform: translateY(-4px);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    animation: bounce 2s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.service-card:nth-child(1) .service-icon { --card-index: 1; }
.service-card:nth-child(2) .service-icon { --card-index: 2; }
.service-card:nth-child(3) .service-icon { --card-index: 3; }
.service-card:nth-child(4) .service-icon { --card-index: 4; }
.service-card:nth-child(5) .service-icon { --card-index: 5; }
.service-card:nth-child(6) .service-icon { --card-index: 6; }

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    font-size: 4rem;
    color: white;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-section {
    margin: 1.5rem 0;
}

.app-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.app-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.app-benefits li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.app-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.tag {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial cite {
    color: #6b7280;
    font-weight: 500;
    font-style: normal;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-subtext {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Kids App Specific Styles */
.featured-app {
    position: relative;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 8px 30px rgba(236, 201, 75, 0.3);
}

.featured-app .app-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(236, 201, 75, 0.4);
}

.pete-the-cat {
    background: linear-gradient(135deg, var(--pete-pink-mid) 0%, var(--pete-purple-deep) 100%);
}

.app-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.feature {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--primary-blue);
}

.age-tag {
    background: var(--primary-green);
    color: white;
}

.safety-tag {
    background: var(--safe-green);
    color: white;
}

.award-tag {
    background: var(--primary-orange);
    color: white;
}

.app-downloads {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.download-btn.ios {
    background: transparent;
}

.app-store-badge-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Enhanced Testimonials */
.parent-review {
    border-left: 4px solid var(--primary-pink);
}

.educator-review {
    border-left: 4px solid var(--primary-green);
}

.award-review {
    border-left: 4px solid var(--primary-orange);
    background: linear-gradient(135deg, #fef5e7 0%, #fff5e6 100%);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.award-badge {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.review-source {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-badge img {
    height: 60px;
    width: auto;
    display: block;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* Safety Badges */
.safety-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.coppa {
    background: var(--safe-green);
    color: white;
}

.badge.ad-free {
    background: var(--primary-blue);
    color: white;
}

.badge.award {
    background: var(--primary-orange);
    color: white;
}

/* Device Mockup Frames */
.device-mockups {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.mockup-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.mockup-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mockup-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.mockup-image.landscape img {
    max-width: 600px;
    width: 100%;
}

.mockup-image.portrait img {
    max-width: 350px;
    width: 100%;
}

/* App Icon Display */
.app-icon-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--pete-pink-light) 0%, var(--pete-purple-deep) 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.app-icon-large {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app-icon-large:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.screenshot-item {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.screenshot-label {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-mockup-container {
        max-width: 350px;
    }

    .hero-app-icon {
        width: 90px;
        height: 90px;
        bottom: -15px;
        right: -15px;
    }

    .portfolio-showcase {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .section-header h2 {
        font-size: 2rem;
    }

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

    .portfolio-showcase {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    /* Device Mockups Responsive */
    .device-mockups {
        gap: 1.5rem;
        flex-direction: column;
    }

    .mockup-image.landscape img {
        max-width: 100%;
    }

    .mockup-image.portrait img {
        max-width: 280px;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .app-icon-showcase {
        padding: 2rem;
    }

    .app-icon-large {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-mockup-container {
        max-width: 280px;
    }

    .hero-app-icon {
        width: 70px;
        height: 70px;
        bottom: -10px;
        right: -10px;
        border-width: 3px;
    }

    .service-card,
    .testimonial {
        padding: 1.5rem;
    }

    .portfolio-content {
        padding: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.legal-wrapper h1 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--primary-purple);
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.contact-box {
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-purple);
    margin-top: 1rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e5e5;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-wrapper {
        padding: 2rem 1.5rem;
    }

    .legal-wrapper h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }

    .legal-back {
        flex-direction: column;
    }

    .legal-back .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 100px 0 40px;
    }

    .legal-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .legal-wrapper h1 {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

/* Pete The Cat Brand Styling */
/* Apply Pete The Cat branding to all Pete The Cat mentions and sections */

/* Pete The Cat Section Headers */
#apps .section-header h2,
.portfolio-content h3 {
    font-family: var(--pete-font-brand);
    color: var(--pete-purple-deep);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pete The Cat Featured App Card */
.featured-app {
    border-color: var(--pete-pink-mid);
    box-shadow: 0 8px 30px rgba(236, 106, 169, 0.3);
}

.featured-app .app-badge {
    background: linear-gradient(135deg, var(--pete-pink-light) 0%, var(--pete-pink-mid) 100%);
    font-family: var(--pete-font-brand);
    color: white;
    text-transform: uppercase;
}

.featured-app .portfolio-content h3 {
    background: linear-gradient(135deg, var(--pete-pink-mid), var(--pete-purple-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pete The Cat Download Buttons */
.featured-app .download-btn {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    box-shadow: none;
}

.featured-app .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.featured-app .download-btn.ios {
    background: transparent;
}

.featured-app .app-store-badge-img {
    height: 50px;
    border-radius: 8px;
}

/* Pete The Cat Feature Tags */
.featured-app .feature {
    border: 2px solid var(--pete-pink-mid);
    background: linear-gradient(135deg, #fff 0%, #fce4ec 100%);
    color: var(--pete-purple-deep);
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4rem 1rem;
}

/* Pete The Cat App Badge */
.featured-app .age-tag {
    background: linear-gradient(135deg, var(--pete-pink-mid), var(--pete-purple-deep));
    border: none;
}

/* Pete The Cat in navigation */
/* .nav-link[href="#apps"] {
    font-family: var(--pete-font-brand);
    color: var(--pete-purple-deep);
    font-weight: 700;
}

.nav-link[href="#apps"]:hover {
    color: var(--pete-pink-mid);
    border-bottom-color: var(--pete-pink-mid);
} */

/* Playful rounded buttons for Pete sections */
.featured-app .btn,
#apps .btn {
    border-radius: 25px;
    font-family: var(--pete-font-brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
