:root {
    --teal-primary: #20B2AA;
    --teal-dark: #008B8B;
    --light-blue: #E6F3FF;
    --dark-blue: #1E3A8A;
    --orange: #FF6B35;
    --white: #FFFFFF;
    --grey-light: #F5F5F5;
    --grey-medium: #CCCCCC;
    --grey-dark: #666666;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-blue);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    opacity: 0.95;
}

.paw-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.3;
}

.bone-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 3rem;
    opacity: 0.3;
}

/* Calculator Section */
.calculator-section {
    padding: 40px 20px;
    min-height: 500px;
}

.pet-image-container {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.calculator-form {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.form-label-bold {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    display: block;
    margin-bottom: 15px;
}

/* Pet Type Buttons */
.pet-type-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pet-type-btn {
    flex: 1;
    min-width: 120px;
    aspect-ratio: 1;
    border: 3px solid var(--grey-medium);
    background: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--grey-dark);
}

.pet-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 1;
}

.pet-type-btn.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.pet-type-btn:hover:not(.active) {
    border-color: var(--teal-primary);
    transform: translateY(-2px);
}

/* Age Slider */
.age-slider-container {
    position: relative;
    margin-bottom: 15px;
}

.age-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--grey-medium);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.age-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dark-blue);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.age-slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dark-blue);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.age-display {
    position: absolute;
    top: -40px;
    left: 0;
    width: 50px;
    height: 50px;
    background: var(--dark-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transform: translateX(-50%);
    transition: left 0.3s ease;
}

.age-unit-buttons {
    display: flex;
    gap: 10px;
}

.age-unit-btn {
    flex: 1;
    padding: 10px 20px;
    border: 2px solid var(--grey-medium);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--grey-dark);
    transition: all 0.3s ease;
}

.age-unit-btn.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.age-unit-btn:hover:not(.active) {
    border-color: var(--teal-primary);
}

/* Size Buttons */
.size-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.size-btn {
    aspect-ratio: 1;
    border: 3px solid var(--grey-medium);
    background: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--grey-dark);
    padding: 10px;
}

.size-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
    line-height: 1;
}

.size-btn.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.size-btn:hover:not(.active) {
    border-color: var(--teal-primary);
    transform: translateY(-2px);
}

/* Calculate Button */
.btn-calculate {
    width: 100%;
    padding: 15px 30px;
    background: var(--teal-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-calculate:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Results Section */
.results-section {
    padding: 60px 0;
    text-align: center;
}

.results-section .container {
    max-width: 100%;
    padding: 0;
}

.results-section .row {
    margin: 0;
}

.results-section .col-12 {
    padding: 0;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--grey-dark);
    margin-bottom: 30px;
}

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

.results-text {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
}

.highlight {
    color: var(--teal-primary);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Results Content */
.results-content {
    width: 100%;
}

.stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 0 1 auto;
    min-width: 180px;
    width: 100%;
    text-align: center;
}

.stage-icon {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stage-item.active .stage-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


.stage-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--grey-dark);
    margin-top: 15px;
    text-align: center;
}

.stage-item.active .stage-label {
    color: var(--dark-blue);
    font-weight: 700;
}

/* Stage Images */
.stage-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    margin: 0 auto;
    border-radius: 80px;
    
}

.stage-item.active .stage-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Life stages visual enhancements */
.life-stages-visual {
    position: relative;
    overflow: visible;
    padding: 60px 80px;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 350px;
    width: 100%;
    max-width: 100%;
}

.stage-item {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-item:hover {
    transform: translateY(-5px);
}

.stage-item:hover .stage-icon {
    opacity: 0.8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.stage-item.active {
    transform: translateY(-8px);
}

.stage-item.active:hover .stage-icon {
    opacity: 0.9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Results Buttons */
.results-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.btn-find-more {
    padding: 15px 20px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-find-more:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-recalculate {
    padding: 15px 20px;
    background: var(--white);
    color: #333;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-recalculate:hover {
    background: #333;
    color: var(--white);
    transform: translateY(-2px);
}

/* Background Decorations */
.bg-decoration {
    position: fixed;
    opacity: 0.1;
    font-size: 8rem;
    z-index: 0;
    pointer-events: none;
}

.bg-book {
    top: 10%;
    left: 5%;
}

.bg-glasses {
    top: 10%;
    right: 5%;
}

.bg-slippers {
    bottom: 10%;
    left: 5%;
}

.bg-teacup {
    bottom: 10%;
    right: 5%;
}

.bg-book::before { content: "📖"; }
.bg-glasses::before { content: "👓"; }
.bg-slippers::before { content: "👟"; }
.bg-teacup::before { content: "☕"; }

/* Responsive Design */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content h2 {
        font-size: 1.3rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .pet-image-container {
        margin-bottom: 30px;
    }
    
    .calculator-form {
        padding: 30px;
    }
    
    .life-stages-visual {
        padding: 50px 50px;
        min-height: 320px;
        gap: 35px;
        max-width: 100%;
        margin: 30px 0;
    }
    
    .stage-icon {
        width: 140px;
        height: 140px;
        border-radius: 56px;
    }
    
    .stage-item {
        min-width: 140px;
        flex: 0 1 auto;
    }
    
    .stage-label {
        font-size: 1rem;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 15px;
    }
    
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .banner-content h2 {
        font-size: 1.1rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .paw-icon, .bone-icon {
        font-size: 2rem;
    }
    
    .calculator-section {
        padding: 20px 15px;
    }
    
    .calculator-form {
        padding: 25px;
    }
    
    .pet-type-buttons {
        gap: 10px;
    }
    
    .pet-type-btn {
        min-width: 100px;
    }
    
    .size-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-title {
        font-size: 2rem;
    }
    
    .results-text {
        font-size: 1.1rem;
    }
    
    .life-stages-visual {
        padding: 50px 30px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
        min-height: 400px;
        max-width: 100%;
        margin: 30px 0;
    }
    
    .stage-item {
        flex-direction: column;
        width: auto;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex: 0 1 auto;
        min-width: 200px;
    }
    
    .stage-item:not(.active) {
        display: none;
    }
    
    .stage-icon {
        width: 200px;
        height: 200px;
        border-radius: 80px;
    }
    
    .stage-label {
        font-size: 0.9rem;
        margin-top: 10px;
        text-align: center;
    }
    
    .bg-decoration {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 1.3rem;
    }
    
    .banner-content h2 {
        font-size: 1rem;
    }
    
    .calculator-form {
        padding: 20px;
    }
    
    .form-label-bold {
        font-size: 1rem;
    }
    
    .pet-type-btn {
        min-width: 80px;
        font-size: 0.9rem;
    }
    
    .pet-icon {
        font-size: 2.5rem;
    }
    
    .size-btn {
        font-size: 0.8rem;
    }
    
    .size-icon {
        font-size: 2rem;
    }
    
    .btn-calculate {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .results-title {
        font-size: 1.5rem;
    }
    
    .results-text {
        font-size: 1rem;
    }
    
    .highlight {
        font-size: 1.2rem;
    }
    
    .life-stages-visual {
        padding: 40px 20px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
        min-height: 400px;
        max-width: 100%;
        margin: 30px 0;
    }
    
    .stage-item {
        min-width: 200px;
        flex: 0 1 auto;
    }
    
    .stage-item:not(.active) {
        display: none;
    }
    
    .stage-icon {
        width: 200px;
        height: 200px;
        border-radius: 80px;
    }
    
    .stage-label {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

