/* ==========================================
   SURVEY RESULTS — BODY
   ========================================== */
body {
    overflow-x: hidden;
    background-color: var(--light-bg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.survey-hero {
    min-height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 70px;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8), rgba(46, 125, 50, 0.65)),
        url('https://images.unsplash.com/photo-1573455494060-c5595004fb6c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.survey-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(76, 175, 80, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(52, 152, 219, 0.08) 0%, transparent 50%);
    animation: auroraShift 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auroraShift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(5%, -5%) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 50px;
    color: #a5d6a7;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.75rem;
}

.survey-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.survey-hero h1 span {
    color: var(--accent-green);
}

.survey-hero p {
    color: #cbd5e0;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

.respondent-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-top: 20px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.respondent-count strong {
    color: var(--accent-green);
    font-weight: 700;
}

/* ==========================================
   CHARTS SECTION — LIGHT THEME
   ========================================== */
.charts-section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
}

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

.charts-header {
    text-align: center;
    margin-bottom: 50px;
}

.charts-header span {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.charts-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 0;
}

/* Chart Grid — spacious 2-column */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

/* ==========================================
   GLASSMORPHISM CHART CARD — LIGHT
   ========================================== */
.chart-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 440px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 4px rgba(0, 0, 0, 0.02);
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--sky-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chart-card::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.04), transparent 70%);
    pointer-events: none;
}

.chart-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 125, 50, 0.2);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.06);
}

.chart-card:hover::before {
    opacity: 1;
}

.chart-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.chart-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.chart-card:hover .chart-icon {
    transform: scale(1.1);
}

.chart-icon.pie {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
}

.chart-icon.bar {
    background: rgba(52, 152, 219, 0.1);
    color: var(--sky-blue);
}

.chart-icon.stack {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.chart-icon.donut {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.chart-card-header h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
}

.chart-card-header p {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 2px;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-wrapper canvas {
    max-height: 360px !important;
}

/* ==========================================
   INTERACTIVE STAT CARDS — LIGHT
   ========================================== */
.stats-section {
    padding: 70px 20px;
    background: var(--light-bg);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--card-white);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--sky-blue));
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 16px 40px rgba(46, 125, 50, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.05);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon.green {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
}

.stat-icon.blue {
    background: rgba(52, 152, 219, 0.1);
    color: var(--sky-blue);
}

.stat-icon.orange {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.stat-icon.purple {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.stat-value {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-sub {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-top: 6px;
}

/* ==========================================
   FOOTER — matching site
   ========================================== */
.survey-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 1.5rem 2rem;
}

.survey-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-grid h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #f3f4f6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-links p {
    color: #d1d5db;
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom .tagline {
    color: #d1d5db;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.footer-bottom .copyright {
    color: #6b7280;
    margin: 0;
    font-size: 0.85rem;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--text-gray);
    border-radius: 6px;
    background: white;
    color: var(--text-dark);
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-green);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--sky-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font-main);
}

.newsletter-form button:hover {
    background: var(--primary-green);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 991px) {
    .survey-hero h1 {
        font-size: 2.4rem;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .chart-card {
        min-height: 380px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .survey-hero {
        padding: 100px 20px 50px;
        min-height: 38vh;
    }

    .survey-hero h1 {
        font-size: 2rem;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .charts-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .survey-hero h1 {
        font-size: 1.6rem;
    }

    .survey-hero p {
        font-size: 0.95rem;
    }

    .chart-card {
        padding: 20px 15px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .charts-header h2 {
        font-size: 1.5rem;
    }
}