/* Base Styles */
:root {
    --primary: #ffd966;
    --primary-light: rgba(255, 217, 102, 0.2);
    --dark: #333;
    --darker: #222;
    --light: #f5f5f5;
    --white: #fff;
    --border-light: #e0e0e0;
    --text-dark: #333;
    --text-muted: #666;
    --shadow-sm: 0 3px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --radius-sm: 12px;
    --radius-md: 15px;
    --transition: transform 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--light);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Common Section Base */
.section-base {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.section-base::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, var(--primary-light) 0%, transparent 70%);
    pointer-events: none;
}

.section-base h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    position: relative;
}

.section-base h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Common Card Base */
.card-base {
    background: rgba(255, 255, 255, 0.7);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 3px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(5px);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.card-base::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 6px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.card-base:hover {
    transform: translate3d(0, -3px, 0);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.card-base img {
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--white);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.card-base:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px var(--primary-light);
}

.card-base h3 {
    margin-bottom: 12px;
    position: relative;
}

/* Grid Base */
.grid-base {
    position: relative;
    display: grid;
    gap: 40px;
    z-index: 1;
}

/* Button Base */
.button {
    display: inline-block;
    padding: 15px 35px;
    background: #ffffff;
    color: var(--text-dark);
    border: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Section Specific Styles */
.hero {
    position: relative;
    background: #f0f0f0;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, var(--primary-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--primary-light) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 217, 102, 0.15) 0%, transparent 70%);
    opacity: 1;
    pointer-events: none;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.8);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-inline: auto;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
}

.testimonials {
    background: var(--white);
}

.testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    font-size: 15px;
    font-family: 'Playfair Display', serif;
}

.team {
    background: var(--primary-light);
}

.team-grid {
    grid-template-columns: repeat(4, 1fr);
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
}

.team-member p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: var(--primary-light);
    padding: 5px 15px;
    border-radius: 20px;
    transition: var(--transition);
    display: inline-block;
}

.team-member:hover p {
    background: rgba(255, 217, 102, 0.3);
    transform: translateY(-2px);
}

.newsletter {
    background: rgba(255, 217, 102, 0.08);
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 40px;
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    border: 3px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.footer {
    background: var(--darker);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(51, 51, 51, 0.9) 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(51, 51, 51, 0.9) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-kitten {
    position: relative;
    height: 180px;
    background: rgba(51, 51, 51, 0.5);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 217, 102, 0.2);
}

.footer-kitten:hover {
    transform: translateY(-5px);
    background: rgba(51, 51, 51, 0.7);
    border-color: var(--primary);
}

.footer-kitten img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-kitten:hover img {
    transform: scale(1.1) rotate(5deg);
}

.footer-kitten p {
    color: var(--primary);
    font-size: 14px;
    text-align: center;
    margin: 0;
    opacity: 0.9;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Cat Animation */
.cat-animation {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 0 auto 40px;
}

.speech-bubble {
    position: absolute;
    padding: 8px 15px;
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 15px;
    font-size: 14px;
    z-index: 3;
    opacity: 0;
    box-shadow: var(--shadow-sm);
    transform: translate3d(0, 0, 0);
    will-change: opacity;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 15px;
    width: 15px;
    height: 15px;
    background: var(--white);
    border-left: 3px solid var(--dark);
    border-bottom: 3px solid var(--dark);
    transform: rotate(-45deg);
    z-index: -1;
}

.cat {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    width: 100px;
    height: 70px;
    border: 3px solid var(--dark);
    border-radius: 50px 50px 0 0;
    background: var(--white);
    z-index: 2;
    transform-origin: bottom center;
    animation: look-around 8s ease-in-out infinite;
    box-shadow: var(--shadow-sm);
    will-change: transform;
}

.cat .eyes {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 8px;
}

.cat .eyes::before,
.cat .eyes::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 3px solid var(--dark);
    background: var(--primary);
    border-radius: 50%;
}

.cat .eyes::before {
    left: 25px;
    animation: left-eye 8s ease-in-out infinite, 
              blink 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cat .eyes::after {
    right: 25px;
    animation: right-eye 8s ease-in-out infinite, 
              blink 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cat .ears::before,
.cat .ears::after {
    content: '';
    position: absolute;
    top: -20px;
    width: 20px;
    height: 30px;
    border: 3px solid var(--dark);
    background: var(--white);
    border-radius: 20px 20px 0 0;
}

.cat .ears::before {
    left: 15px;
    transform: rotate(-15deg);
}

.cat .ears::after {
    right: 15px;
    transform: rotate(15deg);
}

/* Animations */
@keyframes look-around {
    0%, 15%, 85%, 100% { transform: translate3d(-50%, 0, 0) rotate(0deg); }
    20% { transform: translate3d(-50%, 0, 0) rotate(-5deg); }
    25% { transform: translate3d(-50%, 0, 0) rotate(-3deg); }
    35%, 65% { transform: translate3d(-50%, 0, 0) rotate(0deg); }
    70% { transform: translate3d(-50%, 0, 0) rotate(5deg); }
    75% { transform: translate3d(-50%, 0, 0) rotate(3deg); }
}

@keyframes blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

@keyframes left-eye {
    0%, 15%, 85%, 100% { transform: translateX(0); }
    20%, 25% { transform: translateX(-1px); }
    70%, 75% { transform: translateX(1px); }
}

@keyframes right-eye {
    0%, 15%, 85%, 100% { transform: translateX(0); }
    20%, 25% { transform: translateX(-1px); }
    70%, 75% { transform: translateX(1px); }
}

.speech-bubble:nth-of-type(1) {
    top: 35px;
    right: 65px;
    animation: bubble1 15s ease-in-out infinite;
}

.speech-bubble:nth-of-type(2) {
    top: 15px;
    left: 65px;
    animation: bubble2 15s ease-in-out infinite;
}

.speech-bubble:nth-of-type(3) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: bubble3 15s ease-in-out infinite;
}

@keyframes bubble1 {
    0%, 20% { opacity: 1; }
    23%, 100% { opacity: 0; }
}

@keyframes bubble2 {
    0%, 40% { opacity: 0; }
    43%, 60% { opacity: 1; }
    63%, 100% { opacity: 0; }
}

@keyframes bubble3 {
    0%, 75% { opacity: 0; }
    78%, 90% { opacity: 1; }
    93%, 100% { opacity: 0; }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .section-base {
        padding: 60px 0;
    }

    .section-base h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .grid-base {
        gap: 30px;
    }

    .testimonials-grid,
    .team-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    .card-base {
        padding: 30px 25px;
    }

    .team-member img {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .testimonial-card img {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .cat-animation {
        width: 240px;
        height: 160px;
        margin: 0 auto 30px;
    }

    .speech-bubble {
        padding: 6px 12px;
        font-size: 12px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-kitten {
        height: 160px;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-base h2 {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .button {
        padding: 12px 25px;
        font-size: 15px;
    }

    .footer-kitten {
        height: 150px;
    }
}

.hero-label {
    display: inline-block;
    background: var(--primary);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 25px 0;
}

.hero-features span {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-cta-note {
    color: var(--text-muted);
    font-size: 14px;
} 