/* ============================================
   ScoreSensei - Modern Landing Page Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-teal: #4ECDC4;
    --accent-blue: #5B7EFF;
    --accent-green: #B8E986;
    --accent-red: #FF6B6B;
    --accent-purple: #9b59b6;
    --accent-orange: #e67e22;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4ECDC4 0%, #5B7EFF 100%);
    --gradient-red: linear-gradient(135deg, #FF6B6B 0%, #ee5a5a 100%);

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* ============================================
   Gradient Background
   ============================================ */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    max-width: 100vw;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 126, 255, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all var(--transition-medium);
}

.nav-scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 40px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    background: none;
    border: none;
    outline: none;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
}

.nav-logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-signin {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.nav-signin:hover {
    color: var(--text-primary);
}

.nav-signout {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-signout:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.nav-user {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.nav-user-email {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-email:hover {
    color: var(--accent-teal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 120px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-red {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease 0.6s forwards;
    opacity: 0;
}

.scroll-arrow {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
    overflow: visible;
    max-width: 100%;
}

.hero-phone {
    position: relative;
}

.hero-phone img {
    width: 300px;
    border-radius: 32px;
    border: 2px solid var(--border-glass);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.hero-phone-main {
    z-index: 2;
}

.hero-phone-secondary {
    position: absolute;
    right: -60px;
    top: 40px;
    z-index: 1;
}

.hero-phone-secondary img {
    width: 280px;
    opacity: 0.85;
    transform: rotate(3deg);
}

/* Show both phones overlapping and centered on tablets/mobile */
@media (max-width: 1200px) {
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        position: relative;
    }

    .hero-phone {
        position: relative;
    }

    .hero-phone-main {
        position: relative;
        z-index: 2;
        margin-right: -40px;
    }

    .hero-phone-secondary {
        position: relative;
        right: auto;
        top: 20px;
        z-index: 1;
    }

    .hero-phone-secondary img {
        transform: none;
        opacity: 0.9;
    }
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.25) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

.glow-large {
    width: 400px;
    height: 400px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 80px;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 120px;
    right: -60px;
    animation-delay: -3s;
}

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

.floating-card-icon {
    font-size: 28px;
}

.floating-card-title {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.floating-card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    text-align: center;
    padding: 60px 40px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.trust-text {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tag-red {
    color: var(--accent-red);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: var(--section-padding) 40px;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: all var(--transition-medium);
}

.feature-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-tag {
    margin-top: auto;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-card.featured {
    background: linear-gradient(145deg, rgba(255, 107, 107, 0.1) 0%, var(--bg-glass) 100%);
    border-color: rgba(255, 107, 107, 0.2);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-red);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
}

/* Animation states */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ============================================
   Analysis Section
   ============================================ */
.analysis-section {
    padding: var(--section-padding) 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(155, 89, 182, 0.05) 50%, transparent 100%);
}

.analysis-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.analysis-content {
    flex: 1;
}

.analysis-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.analysis-features {
    list-style: none;
    margin-bottom: 40px;
}

.analysis-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(78, 205, 196, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    font-size: 14px;
}

.analysis-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.analysis-phone-showcase {
    position: relative;
}

.analysis-phone-showcase .phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.analysis-screenshot {
    width: 320px;
    border-radius: 32px;
    border: 2px solid var(--border-glass);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-medium);
}

.analysis-screenshot:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
}

.analysis-phone {
    position: relative;
}

.analysis-metrics {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 180px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.metric-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.metric-fill {
    height: 100%;
    width: var(--width);
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: fillBar 1.5s ease forwards;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--width); }
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   Judge Section
   ============================================ */
.judge-section {
    padding: var(--section-padding) 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 107, 0.05) 50%, transparent 100%);
}

.judge-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.judge-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.judge-phone-showcase {
    position: relative;
}

.judge-phone-showcase .judge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.judge-screenshot {
    width: 300px;
    border-radius: 32px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-medium);
}

.judge-screenshot:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 107, 107, 0.5);
}

.judge-phone {
    position: relative;
}

.judge-quotes {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Roast & Glaze Section */
.roast-glaze-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 107, 0.05) 30%, rgba(78, 205, 196, 0.05) 70%, transparent 100%);
}

/* Result Examples */
.result-examples {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.result-card {
    flex: 1;
    max-width: 460px;
    border-radius: 24px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.result-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Circling glow border */
.card-glow-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    z-index: -1;
    overflow: hidden;
}

.card-glow-border::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    animation: borderRotate 16s linear infinite;
}

.roast-result .card-glow-border::before {
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 260deg,
        rgba(255, 107, 107, 0.8) 280deg,
        rgba(255, 107, 107, 1) 300deg,
        rgba(255, 107, 107, 0.8) 320deg,
        transparent 340deg,
        transparent 360deg
    );
}

.glaze-result .card-glow-border::before {
    background: conic-gradient(
        from 180deg,
        transparent 0deg,
        transparent 260deg,
        rgba(78, 205, 196, 0.8) 280deg,
        rgba(78, 205, 196, 1) 300deg,
        rgba(78, 205, 196, 0.8) 320deg,
        transparent 340deg,
        transparent 360deg
    );
}

.card-glow-border::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 23px;
    background: var(--bg-dark);
}

@keyframes borderRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Card glow effect */
.roast-result .card-glow-border {
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.2);
}

.glaze-result .card-glow-border {
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.2);
}

.roast-result {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.02));
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.roast-result:hover {
    box-shadow: 0 30px 80px rgba(255, 107, 107, 0.2);
}

.roast-result:hover .card-glow-border {
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.4);
}

.glaze-result {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.02));
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.glaze-result:hover {
    box-shadow: 0 30px 80px rgba(78, 205, 196, 0.2);
}

.glaze-result:hover .card-glow-border {
    box-shadow: 0 0 50px rgba(78, 205, 196, 0.4);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    border-radius: 24px 24px 0 0;
}

.roast-header {
    background: rgba(255, 107, 107, 0.15);
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
}

.glaze-header {
    background: rgba(78, 205, 196, 0.15);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}

.result-icon {
    font-size: 28px;
}

.result-label {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.roast-header .result-label {
    color: var(--accent-red);
}

.glaze-header .result-label {
    color: var(--accent-teal);
}

.result-content {
    padding: 28px;
}

.roast-text,
.glaze-text {
    font-size: 17px;
    line-height: 1.7;
    font-style: italic;
}

.roast-text {
    color: rgba(255, 255, 255, 0.9);
}

.glaze-text {
    color: rgba(255, 255, 255, 0.9);
}

.result-footer {
    padding: 16px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 24px 24px;
}

.share-hint {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


@media (max-width: 900px) {
    .roast-glaze-section {
        padding: 60px 20px;
    }

    .result-examples {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .result-card {
        max-width: 100%;
    }

    .roast-text,
    .glaze-text {
        font-size: 15px;
    }
}

.quote-1 { animation-delay: 0s; }
.quote-2 { animation-delay: -2.5s; }
.quote-3 { animation-delay: -5s; }

@keyframes judgeFloat {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(-10px); opacity: 0.8; }
}

.judge-quote p {
    font-size: 14px;
    font-style: italic;
    color: var(--text-secondary);
}

.judge-content {
    flex: 1;
}

.judge-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.judge-rating {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
}

.stars {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 12px;
}

.rating-quote {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.rating-author {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   Analysis Showcase (Annotations)
   ============================================ */
.analysis-showcase,
.round-showcase {
    padding: var(--section-padding) 40px;
}

.analysis-showcase {
    background: linear-gradient(180deg, transparent 0%, rgba(78, 205, 196, 0.03) 50%, transparent 100%);
}

.round-showcase {
    background: linear-gradient(180deg, transparent 0%, rgba(91, 126, 255, 0.03) 50%, transparent 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.showcase-item {
    text-align: center;
}

.showcase-phone {
    position: relative;
    margin-bottom: 24px;
}

.showcase-phone img {
    width: 100%;
    max-width: 280px;
    border-radius: 24px;
    border: 2px solid var(--border-glass);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-medium);
}

.showcase-item:hover .showcase-phone img {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-teal);
}

.showcase-label h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.showcase-label p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-phone img {
        max-width: 260px;
    }
}

/* ============================================
   Screenshots Carousel
   ============================================ */
.screenshots-section {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.screenshots-carousel {
    margin-top: 40px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-304px * 5)); }
}

.carousel-slide {
    flex-shrink: 0;
}

.carousel-slide img {
    width: 280px;
    border-radius: 32px;
    border: 2px solid var(--border-glass);
    transition: transform var(--transition-medium);
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

/* ============================================
   Download Section
   ============================================ */
.download-section {
    padding: var(--section-padding) 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(78, 205, 196, 0.05) 100%);
}

.download-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.download-content {
    flex: 1;
    text-align: center;
}

.download-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    padding: 16px 28px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-medium);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-btn-text {
    text-align: left;
}

.store-btn-small {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.store-btn-large {
    font-size: 18px;
    font-weight: 600;
}

.download-note {
    font-size: 14px;
    color: var(--text-muted);
}

.download-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.download-phone {
    position: relative;
}

.download-phone img {
    width: 280px;
    border-radius: 32px;
    border: 2px solid var(--border-glass);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.download-phone .phone-glow {
    width: 350px;
    height: 350px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 40px 40px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.footer-name {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    max-width: var(--container-width);
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 60px;
        overflow: hidden;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-phone img {
        width: 200px;
        max-width: 45vw;
    }

    .hero-phone-secondary img {
        width: 200px;
        max-width: 45vw;
        opacity: 0.85;
    }

    .floating-card {
        display: none;
    }

    .scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .analysis-container,
    .judge-container,
    .download-container {
        flex-direction: column;
        text-align: center;
    }

    .analysis-metrics {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        margin-top: 24px;
    }

    .judge-quotes {
        display: none;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav {
        padding: 16px 20px;
    }

    .nav-container {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .nav-auth {
        flex-shrink: 1;
        min-width: 0;
        gap: 8px;
    }

    .nav-signout {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .nav-user-email {
        max-width: 100px;
        font-size: 12px;
    }

    .hero {
        padding: 80px 20px 40px;
        text-align: center;
        overflow: hidden;
        max-width: 100vw;
        min-height: auto;
        gap: 24px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .hero-badge {
        display: none;
    }

    .hero-title {
        text-align: center;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        text-align: center;
        margin-bottom: 24px;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-phone-main {
        margin-right: -30px;
    }

    .hero-phone img {
        width: 180px;
        max-width: 45vw;
    }

    .hero-phone-secondary img {
        width: 180px;
        max-width: 45vw;
    }

    .features-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-desc {
        font-size: 13px;
    }

    .comparison-container {
        flex-direction: row;
        gap: 16px;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow: hidden;
    }

    .comparison-card {
        max-width: none;
        padding: 20px;
        flex: 1;
        min-width: 0;
    }

    .comparison-arrow {
        flex-shrink: 0;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .showcase-item:last-child {
        grid-column: span 2;
        justify-self: center;
        max-width: 50%;
    }

    .analysis-metrics {
        flex-direction: column;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .section-header {
        padding: 0 20px;
    }

    .analysis-section,
    .judge-section,
    .analysis-showcase,
    .round-showcase,
    .comparison-section,
    .download-section {
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-phone-main {
        margin-right: -25px;
    }

    .hero-phone img {
        width: 155px;
        max-width: 44vw;
    }

    .hero-phone-secondary img {
        width: 155px;
        max-width: 44vw;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .features-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .feature-card {
        padding: 12px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }

    .feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .feature-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .feature-desc {
        font-size: 11px;
        line-height: 1.4;
    }

    .feature-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

    .comparison-container {
        gap: 8px;
        padding: 0;
    }

    .comparison-card {
        padding: 12px;
    }

    .comparison-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .form-indicator {
        width: 60px;
        height: 60px;
    }

    .form-indicator span {
        font-size: 16px;
    }

    .issue, .fix {
        font-size: 10px;
        padding: 4px 8px;
    }

    .comparison-arrow svg {
        width: 16px;
        height: 16px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-item:last-child {
        max-width: 60%;
    }

    .showcase-label h3 {
        font-size: 14px;
    }

    .showcase-label p {
        font-size: 12px;
    }

    .nav-logo-text {
        font-size: 18px;
    }

    .nav-logo-img {
        width: 32px;
        height: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .analysis-screenshot,
    .judge-screenshot {
        width: 240px;
        max-width: 70vw;
    }

    .download-phone img {
        width: 220px;
        max-width: 60vw;
    }
}

/* ============================================
   Flying Disc Animation
   ============================================ */
.flying-disc-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.flying-disc {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: flyDisc 15s linear infinite;
    opacity: 0.3;
}

@keyframes flyDisc {
    0% {
        top: 20%;
        left: -10%;
        transform: rotate(0deg);
    }
    25% {
        top: 40%;
        left: 30%;
        transform: rotate(360deg);
    }
    50% {
        top: 60%;
        left: 70%;
        transform: rotate(720deg);
    }
    75% {
        top: 30%;
        left: 90%;
        transform: rotate(1080deg);
    }
    100% {
        top: 20%;
        left: 110%;
        transform: rotate(1440deg);
    }
}

/* ============================================
   Mouse Glow Effect
   ============================================ */
.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ============================================
   Skeleton Demo
   ============================================ */
.skeleton-demo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

.skeleton-svg {
    width: 200px;
    height: 400px;
}

.skeleton-bone {
    stroke: var(--accent-teal);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.5));
}

.skeleton-joint {
    fill: var(--accent-blue);
    filter: drop-shadow(0 0 6px rgba(91, 126, 255, 0.6));
}

.skeleton-joint.head {
    fill: var(--accent-purple);
}

.tracking-point {
    fill: none;
    stroke: var(--accent-teal);
    stroke-width: 2;
    animation: trackingPulse 2s ease-in-out infinite;
}

@keyframes trackingPulse {
    0%, 100% {
        r: 8;
        opacity: 1;
    }
    50% {
        r: 15;
        opacity: 0.3;
    }
}

/* Animate the throwing motion */
.arm-right {
    animation: throwArm 2s ease-in-out infinite;
    transform-origin: 150px 90px;
}

@keyframes throwArm {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-20deg); }
}

.skeleton-data {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.data-point {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
}

.data-label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.data-value {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Comparison Section
   ============================================ */
.comparison-section {
    padding: var(--section-padding) 40px;
}

.comparison-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.comparison-card {
    flex: 1;
    max-width: 280px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all var(--transition-medium);
}

.comparison-card:hover {
    transform: translateY(-4px);
}

.comparison-card.amateur {
    border-color: rgba(255, 107, 107, 0.3);
}

.comparison-card.pro {
    border-color: rgba(78, 205, 196, 0.3);
}

.comparison-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.comparison-visual {
    margin-bottom: 24px;
}

.form-indicator {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.form-indicator svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.form-indicator circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.form-indicator.bad circle {
    stroke: var(--accent-red);
}

.form-indicator.good circle {
    stroke: var(--accent-teal);
}

.form-indicator span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
}

.form-indicator.bad span {
    color: var(--accent-red);
}

.form-indicator.good span {
    color: var(--accent-teal);
}

.comparison-issues,
.comparison-fixes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.issue,
.fix {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 100px;
}

.issue {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-red);
}

.fix {
    background: rgba(78, 205, 196, 0.1);
    color: var(--accent-teal);
}

.comparison-arrow {
    color: var(--text-muted);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* Responsive for comparison */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    @keyframes arrowPulse {
        0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.5; }
        50% { transform: rotate(90deg) translateX(10px); opacity: 1; }
    }

    .skeleton-demo {
        flex-direction: column;
    }
}

/* New Comparison Section with Animated Circles */
.comparison-section-new {
    padding: 80px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(78, 205, 196, 0.03) 50%, transparent 100%);
}

.comparison-visual-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-circle .circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.score-circle .circle-progress {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    transition: stroke-dashoffset 1.5s ease-out;
}

.score-circle-bad .circle-progress {
    stroke: var(--accent-red);
    stroke-dashoffset: 95;
    animation: circleAnimateBad 2s ease-out forwards;
}

.score-circle-good .circle-progress {
    stroke: var(--accent-teal);
    stroke-dashoffset: 17;
    animation: circleAnimateGood 2s ease-out 0.3s forwards;
}

@keyframes circleAnimateBad {
    from { stroke-dashoffset: 339.292; }
    to { stroke-dashoffset: 95; }
}

@keyframes circleAnimateGood {
    from { stroke-dashoffset: 339.292; }
    to { stroke-dashoffset: 17; }
}

.score-value {
    font-size: 48px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.score-value span {
    font-size: 24px;
    font-weight: 600;
}

.score-circle-bad .score-value {
    color: var(--accent-red);
}

.score-circle-good .score-value {
    color: var(--accent-teal);
}

.score-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.comparison-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.transform-arrow-big {
    color: var(--text-muted);
    animation: arrowPulseBig 2s ease-in-out infinite;
}

@keyframes arrowPulseBig {
    0%, 100% { transform: translateX(0); opacity: 0.4; }
    50% { transform: translateX(15px); opacity: 1; }
}

.transform-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
}

.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    font-weight: 500;
}

.metric-bad {
    color: var(--accent-red);
    opacity: 0.8;
}

.metric-good {
    color: var(--accent-teal);
}

@media (max-width: 900px) {
    .comparison-visual-row {
        flex-direction: column;
        gap: 40px;
    }

    .comparison-center {
        order: 3;
    }

    .score-circle-bad {
        order: 1;
    }

    .score-circle-good {
        order: 2;
    }

    .transform-arrow-big {
        transform: rotate(90deg);
    }

    @keyframes arrowPulseBig {
        0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.4; }
        50% { transform: rotate(90deg) translateX(15px); opacity: 1; }
    }
}
