/* Business Network Theme - Authentiseal - Website Credibility Check - Modern Design */
:root {
    --teal: #00CED1;
    --teal-dark: #008B8B;
    --teal-light: #20B2AA;
    --teal-glow: rgba(0, 206, 209, 0.3);
    --dark-bg: #0a0a0a;
    --dark-header: #000000;
    --gold: #FFD700;
    --yellow: #FFC107;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-teal: 0 10px 40px rgba(0, 206, 209, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* Header - Modern Glass Effect */
.site-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.2),
        0 1px 5px rgba(0, 206, 209, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.site-header:hover {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 2px 10px rgba(0, 206, 209, 0.15);
}

/* Header scroll effect */
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 6px 40px rgba(0, 0, 0, 0.5),
        0 3px 15px rgba(0, 206, 209, 0.2);
    border-bottom: 1px solid rgba(0, 206, 209, 0.25);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .header-inner {
        padding: 1.5rem 4rem;
    }
}

@media (min-width: 1400px) {
    .header-inner {
        padding: 1.5rem 5rem;
    }
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    margin-left: -1rem;
    border-radius: 12px;
}

.logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 206, 209, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover::before {
    opacity: 1;
}

.logo-icon {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 206, 209, 0.5));
    transition: transform 0.3s ease;
    display: block;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 206, 209, 0.5));
    transition: all 0.3s ease;
    display: block;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 12px rgba(0, 206, 209, 0.7));
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 12px rgba(0, 206, 209, 0.7));
    transform: translateY(-2px);
}

.logo-text {
    color: var(--teal);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 206, 209, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 12px rgba(0, 206, 209, 0.7));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    padding: 0.75rem 1.25rem;
    position: relative;
    display: inline-block;
    border-radius: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 206, 209, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0, 206, 209, 0.6);
    border-radius: 2px;
}

.main-nav a:hover {
    color: var(--teal);
    transform: translateY(-2px);
}

.main-nav a:hover::before {
    opacity: 1;
}

.main-nav a:hover::after {
    width: calc(100% - 2.5rem);
}

.main-nav a:active {
    transform: translateY(0);
}

/* Active navigation link */
.main-nav a.active {
    color: var(--teal);
    background: rgba(0, 206, 209, 0.15);
}

.main-nav a.active::before {
    opacity: 1;
}

.main-nav a.active::after {
    width: calc(100% - 2.5rem);
}

/* Report Fraud Button - Prominent Styling */
.nav-report-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
    text-transform: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    animation: pulseWarning 2s ease-in-out infinite !important;
    position: relative;
    overflow: hidden;
}

.nav-report-btn::before {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 0 !important;
}

.nav-report-btn::after {
    display: none !important;
}

.nav-report-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.6) !important;
    color: white !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

.nav-report-btn:hover::before {
    opacity: 1 !important;
}

.nav-report-btn:active {
    transform: translateY(-1px) scale(1.02) !important;
}

@keyframes pulseWarning {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(239, 68, 68, 0.7), 0 0 0 4px rgba(239, 68, 68, 0.1);
    }
}

/* Mobile responsive for report button */
@media (max-width: 768px) {
    .nav-report-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        padding: 1rem 1.5rem !important;
    }
}

.btn-admin {
    background: var(--teal);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s;
    text-transform: none;
}

.btn-admin:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* Hero Section - Modern Animated Background */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 60%, #0f172a 100%);
    padding: 10rem 0 8rem;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 206, 209, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(0, 206, 209, 0.1) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    opacity: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 206, 209, 0.05) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%);
    }
    50% {
        transform: translateX(100%) translateY(100%);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background: 
            radial-gradient(circle at 20% 50%, rgba(0, 206, 209, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    }
    50% {
        background: 
            radial-gradient(circle at 80% 50%, rgba(0, 206, 209, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 60% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    opacity: 0.95;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-shadow: 0 4px 30px rgba(0, 206, 209, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #00CED1 50%, #20B2AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: fadeInUp 0.8s ease-out, gradientText 3s ease infinite;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 1rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-brand {
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    color: var(--teal-light);
    font-style: italic;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 1.75rem;
    background: rgba(0, 206, 209, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(0, 206, 209, 0.3);
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 206, 209, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.hero-brand:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 206, 209, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 206, 209, 0.5);
}

.hero-brand-text {
    display: block;
    white-space: nowrap;
}

.hero-brand-subtext {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-brand {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
        gap: 0.2rem;
    }
    
    .hero-brand-text {
        white-space: normal;
        line-height: 1.4;
    }
    
    .hero-brand-subtext {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-brand-text {
        font-size: 0.95em;
    }
    
    .hero-brand-subtext {
        font-size: 0.8em;
    }
}

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

/* Search Box */
.search-box {
    max-width: 900px;
    margin: 0 auto;
}

.analyze-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.analyze-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 209, 0.1), transparent);
    transition: left 0.5s ease;
}

.analyze-form:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 40px rgba(0, 206, 209, 0.2);
}

.analyze-form:hover::before {
    left: 100%;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(0, 206, 209, 0.2);
    border-radius: 16px;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.input-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.input-group input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 
        0 0 0 6px rgba(0, 206, 209, 0.15),
        0 8px 30px rgba(0, 206, 209, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.01);
    background: rgba(255, 255, 255, 1);
}

.input-group input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 10px 30px rgba(0, 206, 209, 0.4),
        0 0 0 0 rgba(0, 206, 209, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover:not(:disabled)::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled)::after {
    opacity: 1;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 50%, var(--teal-dark) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 206, 209, 0.5),
        0 0 0 4px rgba(0, 206, 209, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading */
.loading-indicator {
    margin-top: 2rem;
    color: var(--text-white);
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--teal);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Results Section */
.results-section {
    padding: 4rem 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.results-section .container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

#resultsContent {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

@media (max-width: 768px) {
    .results-section .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #resultsContent {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .results-section .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #resultsContent {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Score Card */
/* Trust Seal */
.trust-seal {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    color: white;
    animation: slideDown 0.5s ease-out;
}

.trust-seal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.trust-seal-content {
    flex: 1;
}

.trust-seal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-seal-brand {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.trust-seal-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .trust-seal {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1.5rem;
    }
    
    .trust-seal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .trust-seal-title {
        font-size: 1rem;
    }
    
    .trust-seal-brand {
        font-size: 1.1rem;
    }
    
    .trust-seal-text {
        font-size: 0.9rem;
    }
}

/* Fraud Seal */
.fraud-seal {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
    color: white;
    animation: slideDown 0.5s ease-out, pulseWarning 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.fraud-seal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    animation: shake 0.5s ease-in-out;
}

.fraud-seal-content {
    flex: 1;
}

.fraud-seal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fraud-seal-brand {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.fraud-seal-text {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
}

@keyframes pulseWarning {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(239, 68, 68, 0.6);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 768px) {
    .fraud-seal {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1.5rem;
    }
    
    .fraud-seal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .fraud-seal-title {
        font-size: 1rem;
    }
    
    .fraud-seal-brand {
        font-size: 1.1rem;
    }
    
    .fraud-seal-text {
        font-size: 0.9rem;
    }
}

.score-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 50%, var(--teal) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.score-circle {
    display: inline-flex;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 50%, var(--teal-dark) 100%);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-teal), inset 0 0 40px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-teal), inset 0 0 40px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 206, 209, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 1rem;
    opacity: 0.9;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.category-badge.trusted {
    background: #d1fae5;
    color: #065f46;
}

.category-badge.probably-ok {
    background: #dbeafe;
    color: #1e40af;
}

.category-badge.cautious {
    background: #fef3c7;
    color: #92400e;
}

.category-badge.fraud {
    background: #fee2e2;
    color: #991b1b;
}

/* Explanation Box */
.explanation-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--teal);
    border: 1px solid var(--border);
    border-left-width: 4px;
    transition: all 0.3s ease;
}

.explanation-box:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.explanation-box h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.5rem;
}

.explanation-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.overview-content {
    color: var(--text);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.overview-content p {
    color: var(--text);
    margin: 0;
    text-align: left;
}

.overview-content strong {
    color: var(--text);
    font-weight: 600;
}

.explanation-box pre {
    white-space: pre-wrap;
    font-family: inherit;
    color: var(--text-light);
    line-height: 1.8;
}

/* Results Disclaimer Notice */
.results-disclaimer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.disclaimer-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.disclaimer-content {
    flex: 1;
}

.disclaimer-content h4 {
    margin: 0 0 0.75rem 0;
    color: #92400e;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.disclaimer-content p {
    margin: 0;
    color: #78350f;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .results-disclaimer {
        flex-direction: column;
        padding: 1.25rem 1.5rem;
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .disclaimer-icon {
        font-size: 1.75rem;
        align-self: center;
    }
    
    .disclaimer-content h4 {
        font-size: 1rem;
        text-align: center;
    }
    
    .disclaimer-content p {
        font-size: 0.9rem;
        text-align: left;
    }
}

.btn-view-details {
    background: var(--teal);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.btn-view-details:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 206, 209, 0.3);
}

/* View Details Button */
.view-details-section {
    margin: 30px 0;
}

.view-details-btn {
    width: 100%;
    background: var(--dark-bg);
    color: var(--white);
    padding: 15px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    text-transform: uppercase;
}

.view-details-btn:hover {
    background: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 206, 209, 0.3);
}

.view-details-btn #viewDetailsIcon {
    font-size: 12px;
    transition: transform 0.3s;
}

/* Analysis Summary */
.analysis-summary {
    margin-top: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.analysis-summary.hidden {
    display: none;
}

.summary-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--teal);
}

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

.analysis-summary h3 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 10px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.summary-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left-width: 4px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    word-wrap: break-word;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.summary-card h4 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 18px;
}

.summary-card ul {
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.summary-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.summary-card li:last-child {
    border-bottom: none;
}

.summary-card li strong {
    color: var(--text);
    word-wrap: break-word;
}

/* Signals Grid */
.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.signal-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-top: 4px solid var(--teal);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.signal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 209, 0.05), transparent);
    transition: left 0.5s ease;
}

.signal-card:hover::after {
    left: 100%;
}

.signal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-teal);
    border-color: var(--teal);
}

.signal-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.1rem;
}

.signal-card ul {
    list-style: none;
}

.signal-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

.signal-card li:last-child {
    border-bottom: none;
}

/* Details Section (now inside Analysis Summary) */
.analysis-summary {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.analysis-summary .details-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border);
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.analysis-summary .details-title {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
    width: 100%;
    word-wrap: break-word;
}

.details-list {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left-width: 4px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.detail-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.detail-name {
    font-weight: 600;
    color: var(--text);
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-score {
    background: var(--teal);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.detail-explanation {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-weight {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Mobile responsive for Detailed Breakdown */
@media (max-width: 768px) {
    .analysis-summary {
        padding: 1.5rem 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .analysis-summary .details-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .analysis-summary .details-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
    }
    
    .details-list {
        gap: 0.75rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .detail-item {
        padding: 1.25rem 0.75rem !important;
        border-radius: 10px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
        flex-wrap: nowrap;
        margin-bottom: 0.75rem;
    }
    
    .detail-name {
        flex: 1 1 100%;
        min-width: 0;
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-right: 0;
    }
    
    .detail-score {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 0;
    }
    
    .detail-explanation {
        font-size: 0.9rem;
        line-height: 1.6;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        padding-right: 0;
    }
    
    /* AI analysis sections mobile */
    .ai-risk,
    .ai-recommendation,
    .ai-confidence {
        font-size: 0.85rem;
        padding: 0.6rem 0.875rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
    }
    
    .ai-concerns,
    .ai-positive {
        padding: 0.875rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
    }
    
    .ai-concerns ul,
    .ai-positive ul {
        margin-left: 1.25rem;
        margin-right: 0;
        padding-right: 0;
        width: calc(100% - 1.25rem);
        max-width: calc(100% - 1.25rem);
        box-sizing: border-box;
    }
    
    .ai-concerns li,
    .ai-positive li {
        font-size: 0.8rem;
        margin: 0.2rem 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .analysis-summary {
        padding: 1.25rem 0.75rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    .analysis-summary .details-section {
        padding-left: 0;
        padding-right: 0;
    }
    
    .analysis-summary .details-title {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .details-list {
        padding: 0;
        margin: 0;
    }
    
    .detail-item {
        padding: 1rem 0.75rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
        margin: 0;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .detail-name {
        width: 100%;
        max-width: 100%;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
        box-sizing: border-box;
    }
    
    .detail-score {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
        flex-shrink: 0;
    }
    
    .detail-explanation {
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
        box-sizing: border-box;
    }
    
    /* AI sections on small mobile */
    .ai-risk,
    .ai-recommendation,
    .ai-confidence {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .ai-concerns,
    .ai-positive {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .ai-concerns ul,
    .ai-positive ul {
        margin-left: 1rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }
    
    .ai-concerns li,
    .ai-positive li {
        font-size: 0.75rem;
    }
}

/* AI Analysis Styling */
.detail-item.ai-analysis {
    border-left-color: var(--teal);
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1) 0%, rgba(0, 206, 209, 0.05) 100%);
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.ai-risk, .ai-recommendation, .ai-confidence {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 206, 209, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
}

.ai-concerns {
    margin: 1rem 0;
    padding: 1rem;
    background: #fef3c7;
    border-left: 3px solid var(--warning);
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
}

.ai-concerns ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    width: calc(100% - 1.5rem);
    max-width: 100%;
    box-sizing: border-box;
}

.ai-concerns li {
    margin: 0.25rem 0;
    color: #92400e;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.ai-positive {
    margin: 1rem 0;
    padding: 1rem;
    background: #d1fae5;
    border-left: 3px solid var(--success);
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
}

.ai-positive ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    width: calc(100% - 1.5rem);
    max-width: 100%;
    box-sizing: border-box;
}

.ai-positive li {
    margin: 0.25rem 0;
    color: #065f46;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Features Section */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 50%, var(--teal) 100%);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: shimmer 3s linear infinite;
    box-shadow: 0 2px 10px rgba(0, 206, 209, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 206, 209, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 50%, var(--teal) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.5s ease;
    border-radius: 24px 24px 0 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s linear infinite;
}

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

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 206, 209, 0.2),
        0 0 0 1px rgba(0, 206, 209, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: var(--teal);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.benefit-item {
    padding: 3rem 2.5rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 206, 209, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(10px);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 50%, var(--teal) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-item:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s linear infinite;
}

.benefit-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-item:hover::after {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 206, 209, 0.2),
        0 0 0 1px rgba(0, 206, 209, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: var(--teal);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 206, 209, 0.2));
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15);
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.benefit-item:hover h3 {
    color: var(--teal);
}

.benefit-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.section-about {
    background: var(--bg-light);
}

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light) !important;
    line-height: 1.8;
}

/* Override for dark sections like CTA */
.section-cta .section-description,
.section-cta p {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Statistics Section */
/* FAQ Section */
.section-faq {
    background: var(--bg-light);
    padding: 6rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 206, 209, 0.1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 206, 209, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.75rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 206, 209, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--teal);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 206, 209, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--teal);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.75rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%) !important;
    background-color: #0a0a0a !important; /* Fallback solid color */
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white) !important;
}

/* Ensure CTA section container also has dark background */
.section-cta .container {
    background: transparent !important;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 206, 209, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white) !important;
}

.cta-content * {
    color: var(--white) !important;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 206, 209, 0.3);
}

/* Ensure CTA section text is always visible */
.section-cta .cta-content h2 {
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white) !important;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .cta-content h2 {
        color: var(--teal) !important;
        -webkit-text-fill-color: var(--teal);
    }
}

/* Override any white text on white background issues */
.section-cta p,
.section-cta .section-description {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 1) !important;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1.5rem 4rem;
}

/* Responsive Design - Statistics, FAQ, CTA */
@media (max-width: 768px) {
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem !important;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem !important;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 1.25rem 3rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-faq {
        padding: 4rem 0;
    }
    
    .section-cta {
        padding: 4rem 0;
    }
}

.about-feature {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-feature:hover::before {
    transform: scaleX(1);
}

.about-feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-teal);
    border-color: var(--teal);
}

.about-feature h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.5rem;
}

.about-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer - Dark Background */
.site-footer {
    background: var(--dark-header);
    color: var(--text-white);
    padding: 3rem 0 1.5rem;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 206, 209, 0.4));
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    filter: drop-shadow(0 0 12px rgba(0, 206, 209, 0.6));
    transform: translateY(-2px);
}

.footer-logo-text {
    color: var(--teal);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.footer-section h4 {
    color: var(--teal);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-logo h4 {
    margin-bottom: 0;
}

.footer-section p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-location {
    color: var(--teal-light) !important;
    font-weight: 500;
    margin-top: 0.5rem;
}

.footer-email {
    color: var(--teal) !important;
    font-weight: 500;
    margin-top: 0.5rem;
    text-decoration: none;
    display: inline-block;
}

.footer-email:hover {
    text-decoration: underline;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: var(--teal);
    color: var(--white);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
/* Mobile First Approach */

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-inner {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .footer-logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 30px 30px;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
        width: 100%;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding: 0 10px;
    }
    
    .hero-brand {
        font-size: 0.875rem;
        margin-bottom: 2rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-box {
        padding: 0 10px;
    }
    
    .analyze-form {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .input-group input {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .score-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .score-circle {
        width: 140px;
        height: 140px;
    }
    
    .score-value {
        font-size: 2.25rem;
    }
    
    .score-label {
        font-size: 0.9rem;
    }
    
    .category-badge {
        font-size: 1rem;
        padding: 0.4rem 1.25rem;
    }
    
    .explanation-box {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .explanation-box h3 {
        font-size: 1.25rem;
    }
    
    .features-grid,
    .benefits-grid,
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .benefit-item,
    .about-feature {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .signals-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .signal-card {
        padding: 1.5rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .summary-card {
        padding: 1.25rem;
    }
    
    .analysis-summary {
        padding: 1.5rem;
    }
    
    .detail-item {
        padding: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Tablet and Medium Mobile (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 40px 40px;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .hero-section {
        padding: 5rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .analyze-form {
        padding: 2rem 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .input-group input,
    .btn-primary {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .signals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .score-circle {
        width: 160px;
        height: 160px;
    }
    
    .score-value {
        font-size: 2.75rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (769px and above) */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    
    .main-nav ul {
        flex-direction: row;
        gap: 3rem;
    }
    
    .main-nav ul li {
        border-bottom: none;
    }
    
    .main-nav a {
        display: inline-block;
        padding: 0.75rem 1.25rem;
    }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-section {
        padding: 8rem 0 6rem;
    }
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    display: block;
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn-primary,
    .btn-view-details,
    .view-details-btn {
        touch-action: manipulation;
    }
    
    /* Prevent text size adjustment on iOS */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
    
    /* Improve spacing on mobile */
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    /* Results section mobile */
    .results-section {
        padding: 2rem 0;
    }
    
    /* Analysis summary mobile */
    .analysis-summary h3 {
        font-size: 1.25rem;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .detail-name {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
    }
    
    .detail-explanation {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
    }
    
    .detail-item {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        overflow: visible;
    }
    
    .ai-risk,
    .ai-recommendation,
    .ai-confidence,
    .ai-concerns,
    .ai-positive {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        box-sizing: border-box;
        overflow: visible;
    }
    
    /* Footer mobile */
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-brand {
        margin-bottom: 1.5rem;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Force visible overflow for Detailed Breakdown on mobile */
@media (max-width: 768px) {
    .results-section,
    .results-section .container,
    #resultsContent {
        overflow: visible !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .analysis-summary,
    .analysis-summary *,
    .details-section,
    .details-section *,
    .details-list,
    .detail-item {
        overflow: visible !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .detail-item {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .detail-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .detail-name,
    .detail-explanation {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .ai-risk,
    .ai-recommendation,
    .ai-confidence,
    .ai-concerns,
    .ai-positive {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding-right: 0.75rem !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .ai-concerns ul,
    .ai-positive ul {
        width: calc(100% - 1.25rem) !important;
        max-width: calc(100% - 1.25rem) !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .ai-concerns li,
    .ai-positive li {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Ensure all containers don't overflow */
.container,
.header-inner,
.footer-inner {
    max-width: 100%;
    box-sizing: border-box;
}

/* Critical mobile fix for Detailed Breakdown - ensure full width */
@media (max-width: 768px) {
    body,
    html {
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .results-section .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Ensure all nested elements respect full width */
    .results-section,
    #resultsContent,
    .analysis-summary,
    .details-section,
    .details-list,
    .detail-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Force text elements to wrap */
    .detail-name,
    .detail-explanation,
    .detail-item p,
    .detail-item div,
    .ai-risk,
    .ai-recommendation,
    .ai-confidence,
    .ai-concerns,
    .ai-positive,
    .ai-concerns strong,
    .ai-positive strong {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Lists should not overflow */
    .ai-concerns ul,
    .ai-positive ul {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    
    .ai-concerns li,
    .ai-positive li {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

/* Mobile adjustments for scroll to top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
.scroll-to-top svg {
    width: 16px;
    height: 16px;
}
}

/* Utility helpers for small text and spacing (used on public pages) */
.note-small {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.required-star {
    color: var(--danger);
}

.mb-2xl {
    margin-bottom: 3rem;
}

.values-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}