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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
}

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

/* Mobile-first approach */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Header */
.header {
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .brand-logo {
        height: 30px;
    }
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #4DAE57, #3d8b46);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 174, 87, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(77, 174, 87, 0.4);
    background: linear-gradient(135deg, #3d8b46, #4DAE57);
}

.header-cta {
    padding: 12px 25px;
    font-size: 14px;
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .header-cta {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .header-cta i {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1C4E80 0%, #2a5c91 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-cta {
    font-size: 18px;
    padding: 18px 35px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pet-image {
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.hero-icon {
    font-size: 60px;
    color: #4DAE57;
    animation: float 3s ease-in-out infinite;
}

.hero-icon:nth-child(2) {
    animation-delay: -1.5s;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .pet-image {
        width: 250px;
        height: 250px;
    }
    
    .hero-icon {
        font-size: 45px;
    }
    
    .hero-wave svg {
        height: 60px;
    }
}

/* Benefits Section */
.benefits {
    background: #F5F7FA;
    padding: 100px 0;
}

.benefits h2 {
    text-align: center;
    font-size: 42px;
    color: #1C4E80;
    margin-bottom: 60px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #4DAE57;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4DAE57, #3d8b46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 35px;
    color: white;
}

.benefit-card h3 {
    font-size: 22px;
    color: #1C4E80;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Mobile benefits adjustments */
@media (max-width: 768px) {
    .benefits {
        padding: 80px 0;
    }
    
    .benefits h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefit-card {
        padding: 30px 25px;
    }
}

/* Testimonial Section */
.testimonial {
    background: white;
    padding: 100px 0;
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.image-card {
    text-align: center;
    position: relative;
}

.pet-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.pet-avatar.sad {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.pet-avatar.happy {
    background: linear-gradient(135deg, #4DAE57, #3d8b46);
}

.pet-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%);
}

.arrow {
    font-size: 24px;
    color: #4DAE57;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.label {
    font-weight: 600;
    color: #1C4E80;
    font-size: 16px;
}

.testimonial-text blockquote {
    font-size: 24px;
    font-style: italic;
    color: #1C4E80;
    margin-bottom: 25px;
    line-height: 1.5;
    position: relative;
}

.testimonial-text blockquote::before {
    content: '"';
    font-size: 60px;
    color: #4DAE57;
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.testimonial-text cite {
    color: #666;
    font-style: normal;
}

.testimonial-text cite strong {
    color: #1C4E80;
    display: block;
    margin-bottom: 5px;
}

/* Mobile testimonial adjustments */
@media (max-width: 768px) {
    .testimonial {
        padding: 80px 0;
    }
    
    .testimonial-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .before-after {
        gap: 20px;
    }
    
    .pet-avatar {
        width: 100px;
        height: 100px;
        font-size: 35px;
    }
    
    .testimonial-text blockquote {
        font-size: 20px;
    }
}

/* How It Works Section */
.how-it-works {
    background: #F5F7FA;
    padding: 100px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 42px;
    color: #1C4E80;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #4DAE57;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(77, 174, 87, 0.3);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid #4DAE57;
}

.step-icon i {
    font-size: 40px;
    color: #1C4E80;
}

.step h3 {
    font-size: 24px;
    color: #1C4E80;
    margin-bottom: 15px;
    font-weight: 600;
}

.step p {
    color: #666;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Mobile how it works adjustments */
@media (max-width: 768px) {
    .how-it-works {
        padding: 80px 0;
    }
    
    .how-it-works h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Educational Section */
.educational {
    background: white;
    padding: 100px 0;
}

.educational h2 {
    text-align: center;
    font-size: 42px;
    color: #1C4E80;
    margin-bottom: 60px;
    font-weight: 700;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #1C4E80;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.table-cell.feature {
    justify-content: flex-start;
    text-align: left;
    font-weight: 500;
    color: #1C4E80;
}

.table-cell.natural {
    background: rgba(77, 174, 87, 0.1);
}

.table-cell.commercial {
    background: rgba(255, 107, 107, 0.1);
}

.table-cell i.fa-check {
    color: #4DAE57;
    font-size: 20px;
}

.table-cell i.fa-times {
    color: #ff6b6b;
    font-size: 20px;
}

/* Mobile educational adjustments */
@media (max-width: 768px) {
    .educational {
        padding: 80px 0;
    }
    
    .educational h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .table-cell {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .table-cell.feature {
        font-size: 13px;
    }
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #1C4E80 0%, #2a5c91 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.final-cta p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.final-button {
    font-size: 20px;
    padding: 20px 40px;
    margin-bottom: 30px;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.8;
}

.guarantee i {
    color: #4DAE57;
    font-size: 18px;
}

/* Mobile final CTA adjustments */
@media (max-width: 768px) {
    .final-cta {
        padding: 80px 0;
    }
    
    .final-cta h2 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .final-cta p {
        font-size: 18px;
    }
    
    .final-button {
        font-size: 16px;
        padding: 15px 30px;
    }
    
    .guarantee {
        font-size: 14px;
        flex-direction: column;
        gap: 5px;
    }
}

/* Footer */
.footer {
    background: #333333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #4DAE57;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.footer-links h4,
.footer-social h4 {
    color: #4DAE57;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #4DAE57;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #4DAE57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1C4E80;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1C4E80;
}

.modal-content h2 {
    color: #1C4E80;
    margin-bottom: 30px;
    font-size: 32px;
    text-align: center;
    font-weight: 700;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.quiz-step h3 {
    color: #1C4E80;
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
}

.quiz-options {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option {
    cursor: pointer;
    display: block;
}

.quiz-option input[type="radio"] {
    display: none;
}

.quiz-option .option-content,
.quiz-option span {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
}

.quiz-option .option-content i {
    font-size: 24px;
    color: #4DAE57;
}

.quiz-option input[type="radio"]:checked + .option-content,
.quiz-option input[type="radio"]:checked + span {
    border-color: #4DAE57;
    background: rgba(77, 174, 87, 0.1);
    transform: scale(1.02);
}

.quiz-step input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.quiz-step input[type="email"]:focus {
    outline: none;
    border-color: #4DAE57;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.quiz-navigation button {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#prevBtn {
    background: #eee;
    color: #333;
}

#prevBtn:hover {
    background: #ddd;
}

#nextBtn, #submitBtn {
    background: #4DAE57;
    color: white;
}

#nextBtn:hover, #submitBtn:hover {
    background: #3d8b46;
    transform: translateY(-2px);
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 28px;
    }
    
    .quiz-step h3 {
        font-size: 20px;
    }
    
    .quiz-option .option-content,
    .quiz-option span {
        padding: 15px;
        gap: 10px;
    }
    
    .quiz-navigation {
        flex-direction: column;
    }
    
    .quiz-navigation button {
        width: 100%;
    }
}

/* Animations and Interactions */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* Scroll animations */
[data-aos] {
    transition-duration: 1s;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success states */
.success {
    background: #4DAE57 !important;
    color: white !important;
}

/* Hover effects for interactive elements */
.benefit-card,
.step,
.quiz-option {
    cursor: pointer;
}

/* Focus states for accessibility */
.cta-button:focus,
.quiz-option:focus,
input:focus {
    outline: 2px solid #4DAE57;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .modal,
    .cta-button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .cta-button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
