/* Custom styles for Baby Name Analyzer */

/* Color palette variables */
:root {
    --accent-purple: #9c27b0;
    --accent-teal: #06d6a0;
    --accent-pink: #ef476f;
    --accent-yellow: #ffd166;
    --accent-blue: #118ab2;
    --dark-purple: #3a015c;
    --light-purple: #d0bdf4;
    --grad-start: #0d0221;
    --grad-middle: #0f084b;
    --grad-end: #26408b;
}

/* Star decoration elements */
.star-bg {
    position: relative;
    overflow: hidden;
}

.star-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.star-decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
    animation: twinkle 3s infinite alternate;
}

.star-decoration.star-1 {
    top: 15%;
    right: 10%;
    font-size: 24px;
    animation-delay: 0s;
}

.star-decoration.star-2 {
    top: 30%;
    left: 7%;
    font-size: 18px;
    animation-delay: 0.5s;
}

.star-decoration.star-3 {
    bottom: 25%;
    right: 15%;
    font-size: 20px;
    animation-delay: 1s;
}

.star-decoration.star-4 {
    bottom: 10%;
    left: 12%;
    font-size: 16px;
    animation-delay: 1.5s;
}

.star-decoration.star-5 {
    top: 60%;
    right: 25%;
    font-size: 22px;
    animation-delay: 2s;
}

@keyframes twinkle {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

.star-badge {
    display: inline-block;
    color: #fff;
    margin-right: 5px;
    animation: starPulse 2s infinite;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Global Typography */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.2px;
    background: linear-gradient(to bottom, var(--grad-start), var(--grad-middle), var(--grad-end));
    background-attachment: fixed;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

/* Body background stars */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.25) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    opacity: 0.5;
    pointer-events: none;
}

/* Typography hierarchy */
h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Hand-drawn accent font for special headings */
.accent-font {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.subtitle {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.navbar-brand h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

.card-title, .card-header {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Poppins looks better with slightly increased spacing */
p {
    margin-bottom: 1.2rem;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
}

strong, b {
    font-weight: 600;
    color: var(--accent-teal);
}

/* Adjust button text for Poppins */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* SEO Introduction Section */
.intro-section {
    background-color: rgba(var(--bs-primary-rgb), 0.05) !important;
    border-left: 4px solid var(--bs-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.intro-section h3 {
    color: var(--bs-primary);
    font-weight: 600;
}

/* Header styles */
.app-header {
    padding: 1rem 0;
    background-color: #6a1b9a; /* Deep purple */
    border-bottom: 1px solid #8e24aa; /* Lighter purple for border */
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: relative; /* Needed for the shadow to display properly */
    z-index: 100; /* Ensures the navbar stays on top of other elements */
}

/* Navbar styling */
.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    padding-left: 0.5rem;
}

.navbar-brand h1 {
    color: #fff !important;
    margin-bottom: 0;
}

.logo-container i {
    font-size: 1.5rem; /* Make the icon a bit larger */
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

/* Icon in circle for visual appeal */
.baby-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: white;
    margin-bottom: 1rem;
}

/* Make the main container have some nice spacing */
.main-container {
    max-width: 1000px;
    margin-bottom: 4rem;
}

/* Style all cards */
.card {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255,255,255,0.2);
}

.card-header {
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.15), rgba(var(--bs-primary-rgb), 0.05));
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Style the name analyzer input card */
.name-analyzer-card {
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(var(--bs-primary-rgb),0.05) 0%, rgba(var(--bs-primary-rgb),0.2) 100%);
    border: 1px solid rgba(var(--bs-primary-rgb),0.2);
}

/* Style the loading indicator */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

/* Enhance the result content */
.result-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Style the score numbers in results */
.result-content strong {
    color: var(--bs-primary);
}

/* Tips icons */
.name-tips .list-group-item {
    border: none;
    padding: 0.75rem 0;
    transition: transform 0.15s;
}

.name-tips .list-group-item:hover {
    transform: translateX(5px);
}

/* Style the inputs */
.form-control {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-teal);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.input-group-text {
    background: linear-gradient(135deg, var(--accent-purple), var(--dark-purple));
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--accent-teal);
}

/* Add a gentle animation for flash messages */
.alert {
    animation: fadeIn 0.5s;
}

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

/* Button styles */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--dark-purple));
    border: none;
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-purple), var(--dark-purple));
    opacity: 0.95;
}

.btn-outline-primary {
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
}

.btn-outline-primary:hover {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.btn-teal {
    background: linear-gradient(135deg, var(--accent-teal), #038f6a);
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(6, 214, 160, 0.3);
}

.btn-teal:hover {
    box-shadow: 0 6px 15px rgba(6, 214, 160, 0.4);
    transform: translateY(-2px);
    color: white;
    opacity: 0.95;
}

/* Footer styles */
.footer {
    border-top: 1px solid var(--bs-border-color);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Format the analysis results better */
.result-content h2,
.result-content h3,
.result-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--bs-primary);
}

/* Category cards in results */
.category-card {
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255,255,255,0.2);
}

.category-card .card-header {
    position: relative;
    background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.15), rgba(var(--bs-primary-rgb), 0.05));
    padding: 1rem 1.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-teal), var(--accent-purple));
}

/* Make the Overall Score card stand out */
.overall-score-card {
    margin-bottom: 3rem;
    border: none;
    background: linear-gradient(145deg, rgba(var(--bs-primary-rgb),0.1) 0%, rgba(var(--bs-primary-rgb),0.2) 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.overall-score-card .card-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.3), rgba(var(--bs-primary-rgb), 0.1));
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.overall-score-card .card-header h3 {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0;
}

.category-explanation {
    font-size: 1.05rem;
    line-height: 1.7;
}

.bullet-point {
    transition: transform 0.15s;
}

.bullet-point:hover {
    transform: translateX(5px);
}

/* Input field focus effect */
.input-focus {
    transform: scale(1.01);
}

/* Animated entrance for results */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Score badge styling */
.badge.rounded-pill.fs-5 {
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge.rounded-pill.fs-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0.5;
}

/* Badge section styling */
.badge-section {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.badge-section .card-header {
    background: transparent;
    border-bottom: none;
    padding: 0 0 1rem 0;
}

.badge-section h3 {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-yellow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Style for the badge icons */
.badge .icon {
    margin-right: 0.6rem;
    font-size: 1.2em;
    vertical-align: middle;
}

/* Specific badge styles */
.badge.bg-warning.text-dark {
    background: linear-gradient(135deg, var(--accent-yellow), #e5a100) !important;
    color: #212529 !important;
}

.badge.bg-success.text-white {
    background: linear-gradient(135deg, var(--accent-teal), #038f6a) !important;
    color: #fff !important;
}

.badge.bg-danger.text-white {
    background: linear-gradient(135deg, var(--accent-pink), #d62b53) !important;
    color: #fff !important;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--dark-purple)) !important;
    color: #fff !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--accent-blue), #0a5d74) !important;
    color: #fff !important;
}

/* Tip box styling */
.tip-box {
    background: linear-gradient(145deg, rgba(var(--bs-info-rgb),0.05) 0%, rgba(var(--bs-info-rgb),0.1) 100%);
    border: 1px solid rgba(var(--bs-info-rgb), 0.2);
    border-left: 3px solid var(--accent-teal);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.tip-box .fa-lightbulb {
    font-size: 1.2rem;
    color: var(--accent-teal);
}

/* Name combination suggestion box */
.suggestion-box {
    margin: 2rem 0;
    background: linear-gradient(145deg, rgba(var(--bs-info-rgb),0.05) 0%, rgba(var(--bs-info-rgb),0.15) 100%);
    border: 1px solid rgba(var(--bs-info-rgb), 0.2) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    animation: pulseGlow 3s infinite alternate;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.suggestion-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
    opacity: 0.8;
    animation: rotateGradient 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.suggestion-box:hover {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.2);
}

.suggestion-box .card-title {
    color: var(--accent-teal);
    font-weight: 600;
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
}

.suggestion-box .input-group {
    max-width: 600px;
    margin: 0 auto;
}

.suggestion-box .card-text {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes pulseGlow {
    from { box-shadow: 0 5px 15px rgba(6, 214, 160, 0.1); }
    to { box-shadow: 0 8px 25px rgba(6, 214, 160, 0.25); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }
    
    .baby-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    /* Only improve contrast for specific analysis elements that have readability issues */
    /* This preserves the original look for most pages while fixing problem areas */
    .badge-section {
        background-color: #FFFFFF !important; /* White background */
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    /* Fix only the badge styling to ensure readability */
    .badge {
        text-shadow: none !important;
        border: none !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    }
    
    /* Ensure specific badge types are visible */
    .badge.text-dark {
        background: #fd7e14 !important;
        color: #000 !important;
        font-weight: bold !important;
    }
    
    /* Specifically target badge colors by class */
    .badge-orange, 
    .badge-warning, 
    .badge-mixed,
    .badge.bg-warning {
        background: #fd7e14 !important;
        color: #000 !important;
        font-weight: bold !important;
        border: 1px solid rgba(0, 0, 0, 0.2) !important;
    }
    
    /* Ensure strong contrast for badge explanations - BLACK TEXT as requested */
    .badge-section p {
        color: #000000 !important; /* Black text */
        text-shadow: none !important;
    }
    
    /* Extra specific targeting for the orange badge explanation text */
    .badge-section .badge + p, 
    .badge-explanation {
        background-color: #F8F9FA !important; /* Light gray background */
        color: #000000 !important; /* Black text */
        padding: 8px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
        text-shadow: none !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .category-card .card-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .category-card .card-header .badge {
        margin-top: 0.5rem;
    }
    
    .suggestion-box .input-group {
        flex-direction: column;
    }
    
    .suggestion-box .input-group .form-control,
    .suggestion-box .input-group .btn {
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 6px;
    }
}

/* Gradient text styling for headings */
.gradient-text {
    background: linear-gradient(to right, var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Call to action button styling */
.cta-alert {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: all 0.8s ease;
    z-index: -1;
}

.cta-alert:hover::before {
    left: 100%;
}

.cta-alert:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.4);
}

.cta-initial {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.9), rgba(var(--bs-primary-rgb), 0.7)) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.2);
    animation: subtle-pulse 2.5s infinite alternate;
    color: white !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

@keyframes subtle-pulse {
    from { box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.2); }
    to { box-shadow: 0 6px 18px rgba(var(--bs-primary-rgb), 0.4); }
}

/* Blog styles */
.blog-content h1, .blog-content h2, .blog-content h3 {
    color: var(--accent-teal);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.blog-header {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.blog-header-image {
    width: 100%;
    height: auto;
    min-height: 200px;
}

/* Comparison boxes for AI blog post */
.comparison-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 2rem 0;
}

.generator-example, .advisor-example {
    flex: 1;
    min-width: 280px;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.generator-example {
    background: linear-gradient(135deg, rgba(117, 95, 224, 0.1), rgba(98, 54, 255, 0.1));
    border-left: 4px solid #6236FF;
}

.advisor-example {
    background: linear-gradient(135deg, rgba(62, 216, 255, 0.1), rgba(70, 182, 218, 0.1));
    border-left: 4px solid #3ED8FF;
}

.generator-example h3, .advisor-example h3 {
    font-size: 1.1rem;
    margin-top: 0;
}

.generator-example ul, .advisor-example ul {
    padding-left: 1.2rem;
}

@media (max-width: 768px) {
    .comparison-box {
        flex-direction: column;
    }
}

/* Footer social media icons */
.social-links a {
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--accent-teal) !important;
    transform: translateY(-2px);
}

.legal-links a {
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--accent-teal) !important;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer .row > div {
        margin-bottom: 1rem;
    }
    
    .footer .row > div:last-child {
        margin-bottom: 0;
    }
    
    .legal-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
}
