/* --- VetAI Color Palette --- */

/* Primary Colors */
:root {
    --primary-blue: #2B7A78;       /* Headers, navbars, banners */
    --primary-green: #3AA655;      /* Highlights, icons, secondary buttons */
    --accent-coral: #FF6F61;       /* Call-to-action buttons, subscription highlights */
    --accent-yellow: #F7D86B;      /* Tips, notifications */
    --background-light: #FFFFFF;   /* Main content background */
    --background-gray: #F5F5F5;    /* Section backgrounds */
    --text-dark: #333333;          /* Main text */
}

/* --- Base Styles --- */
body {
    background-color: var(--background-light);
    color: var(--text-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    font-weight: 600;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.text-secondary {
    color: var(--primary-green) !important;
}

.text-accent {
    color: var(--accent-coral) !important;
}

/* --- Navigation --- */
.navbar {
    background-color: var(--primary-blue) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* --- Buttons --- */
.btn-accent {
    background-color: var(--accent-coral);
    border-color: var(--accent-coral);
    color: var(--background-light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--background-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* --- Cards --- */
.auth-card,
.subscription-status-card,
.consult-form-card,
.pet-profile-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.feature-card,
.option-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.feature-card:hover,
.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-gray) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-icon {
    font-size: 8rem;
    opacity: 0.1;
    position: relative;
}

.floating-elements {
    position: relative;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: -50px;
    left: -30px;
    animation-delay: 0s;
}

.floating-2 {
    top: 50px;
    right: -40px;
    animation-delay: 1s;
}

.floating-3 {
    bottom: -40px;
    left: 40px;
    animation-delay: 2s;
}

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

/* --- Feature Icons --- */
.feature-icon,
.option-icon,
.plan-icon {
    font-size: 3rem;
}

/* --- Pricing Cards --- */
.pricing-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pricing-popular {
    border-color: var(--accent-coral);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-coral);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-features ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

/* --- Sections --- */
.features-section,
.pricing-preview,
.cta-section {
    background-color: var(--background-gray);
    padding: 4rem 0;
}

.pricing-section,
.consult-section,
.chat-section,
.subscription-section,
.auth-section,
.thank-you-section {
    padding: 2rem 0;
}

/* --- Highlights --- */
.highlight {
    background-color: var(--accent-yellow);
    padding: 0.5rem;
    border-radius: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background-color: var(--background-gray);
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.footer h5, .footer h6 {
    color: var(--primary-blue);
}

.footer a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-blue);
}

/* --- Forms --- */
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(43, 122, 120, 0.25);
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* --- Alerts --- */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-info {
    background-color: rgba(43, 122, 120, 0.1);
    color: var(--primary-blue);
}

.alert-warning {
    background-color: rgba(247, 216, 107, 0.2);
    color: var(--text-dark);
}

.alert-success {
    background-color: rgba(58, 166, 85, 0.1);
    color: var(--primary-green);
}

.alert-danger {
    background-color: rgba(255, 111, 97, 0.1);
    color: var(--accent-coral);
}

/* --- Special Components --- */
.stat-box {
    text-align: center;
    padding: 1rem;
}

.trial-progress .progress {
    border-radius: 10px;
    overflow: hidden;
}

.bg-accent {
    background-color: var(--accent-coral) !important;
}

.consultation-notice,
.guidelines-card {
    background: var(--background-gray);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-blue);
}

.pet-info-card,
.pet-info-summary {
    background: var(--background-gray);
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid var(--primary-green);
}

.guidelines-list {
    list-style: none;
    padding-left: 0;
}

.guidelines-list li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.guidelines-list li:before {
    content: "•";
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- Emergency and Important Styles --- */
.emergency-info {
    background: rgba(255, 111, 97, 0.1);
    border-radius: 5px;
    padding: 0.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* --- Table Styles --- */
.features-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.features-table thead {
    background-color: var(--primary-blue);
    color: white;
}

.features-table tbody tr:nth-child(even) {
    background-color: var(--background-gray);
}

/* --- Success Page --- */
.thank-you-card {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
}

/* --- Chat Specific Styles --- */
.chat-interface {
    background: var(--background-light);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.suggestion-btn {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.suggestion-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .pricing-popular {
        transform: none;
        margin-top: 2rem;
    }
    
    .floating-icon {
        display: none;
    }
    
    .hero-icon {
        font-size: 4rem;
    }
}

/* --- Utility Classes --- */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-secondary {
    background-color: var(--primary-green) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.border-secondary {
    border-color: var(--primary-green) !important;
}

/* --- Additional Interactive Elements --- */
.accordion-button {
    background-color: var(--background-gray);
    border: none;
    color: var(--text-dark);
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(43, 122, 120, 0.25);
    border-color: var(--primary-blue);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}
