/* ========================================
   ICE Options - Modern Dark Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(26, 26, 37, 0.6);
    --bg-card-hover: rgba(30, 30, 45, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    
    --ice-cyan: #00D4FF;
    --ice-blue: #0099FF;
    --ice-gradient: linear-gradient(135deg, #00D4FF 0%, #0099FF 100%);
    --ice-glow: rgba(0, 212, 255, 0.15);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 212, 255, 0.3);
    
    /* Spacing */
    --nav-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Typography
   ======================================== */

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

.highlight {
    color: var(--ice-cyan);
    font-weight: 600;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--ice-cyan);
}

.nav-cta {
    margin-left: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-cta {
    margin-top: 16px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--ice-gradient);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 60px) 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--ice-cyan);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--ice-blue);
    bottom: -150px;
    left: -100px;
    opacity: 0.1;
}

.floating-crystals {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.crystal {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ice-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--ice-cyan);
    animation: float 6s ease-in-out infinite;
}

.crystal-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.crystal-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.crystal-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ice-cyan);
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

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

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

/* ========================================
   Sections Common
   ======================================== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ice-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--ice-cyan);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: var(--section-padding) 0;
}

.cta-section.cta-compact {
    padding: 60px 0;
}

.cta-card {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.cta-ring {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    animation: ring-pulse 4s ease-in-out infinite;
}

.cta-ring-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cta-ring-2 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 1s;
}

.cta-ring-3 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-delay: 2s;
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--ice-cyan);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--ice-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Report Page
   ======================================== */

.report-header {
    padding: calc(var(--nav-height) + 60px) 0 40px;
    background: var(--bg-secondary);
}

.report-header-content {
    text-align: center;
}

.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ice-cyan);
    margin-bottom: 20px;
}

.report-badge svg {
    width: 16px;
    height: 16px;
}

.report-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.report-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.report-section {
    padding: 40px 0 var(--section-padding);
}

.report-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.report-frame-wrapper {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.report-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 14px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--ice-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.report-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.report-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.report-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.report-info-card svg {
    width: 24px;
    height: 24px;
    stroke: var(--ice-cyan);
    flex-shrink: 0;
}

.report-info-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.report-info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--ice-cyan);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .report-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: -1px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-answer p {
        padding: 0 20px 16px;
    }
}

/* ========================================
   Recent Win Section
   ======================================== */

.recent-win {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.case-study-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.case-study-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.1);
}

.case-study-content {
    padding: 0;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(0, 153, 255, 0.03) 100%);
}

.case-study-ticker {
    font-size: 32px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--ice-cyan);
    letter-spacing: -1px;
}

.case-study-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.case-study-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 40px;
}

.case-study-chart {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.case-study-chart img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-item {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.stat-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.stat-item.stat-highlight {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
}

.stat-item.stat-featured {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 153, 255, 0.08) 100%);
    border: 2px solid var(--ice-cyan);
    position: relative;
    overflow: hidden;
}

.stat-item.stat-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

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

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

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.2;
}

.stat-value.stat-success {
    color: #00FF88;
}

.stat-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.case-study-footer {
    padding: 24px 40px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.disclaimer-box svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--ice-cyan);
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .case-study-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .case-study-header {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .case-study-body {
        padding: 24px;
        gap: 24px;
    }
    
    .case-study-footer {
        padding: 20px 24px;
    }
    
    .stat-value {
        font-size: 24px;
    }
}

/* Buy Me A Coffee Button */
.footer-support {
    margin-top: 20px;
}

/* ========================================
   Secret Entry Animation & Login Modal
   ======================================== */

/* Overlay */
.secret-entry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.97);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.secret-entry-overlay.active {
    opacity: 1;
    visibility: visible;
}

.secret-entry-overlay[hidden] {
    display: none;
}

.secret-entry-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Ice Logo */
.ice-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.ice-logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

.ice-logo-container.cracking .ice-logo-svg {
    animation: ice-shake 0.1s ease-in-out infinite;
}

.ice-logo-container.shattered {
    opacity: 0;
    visibility: hidden;
}

/* Ice cracks overlay */
.ice-cracks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ice-cracks.active {
    animation: cracks-appear 0.3s ease-out forwards;
}

.ice-cracks.active::before,
.ice-cracks.active::after {
    content: '';
    position: absolute;
    background: rgba(200, 230, 255, 0.9);
    border-radius: 1px;
}

.ice-cracks.active::before {
    width: 2px;
    height: 70%;
    top: 15%;
    left: 48%;
    transform: rotate(12deg);
    box-shadow:
        -18px 8px 0 1px rgba(200,230,255,0.7),
        15px -12px 0 1px rgba(200,230,255,0.6),
        -8px -20px 0 1px rgba(200,230,255,0.5);
}

.ice-cracks.active::after {
    width: 55%;
    height: 2px;
    top: 52%;
    left: 22%;
    transform: rotate(-5deg);
    box-shadow:
        8px -25px 0 1px rgba(200,230,255,0.6),
        -12px 18px 0 1px rgba(200,230,255,0.5);
}

@keyframes cracks-appear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes ice-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px) rotate(-1deg); }
    75% { transform: translateX(3px) rotate(1deg); }
}

/* Pickaxe */
.pickaxe-container {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-120%, -80%);
    transform-origin: bottom right;
    z-index: 10;
}

.pickaxe-container[hidden] {
    display: none !important;
}

.pickaxe-container.active {
    display: block;
    animation: pickaxe-appear 0.2s ease-out forwards;
}

.pickaxe-container.active[hidden] {
    display: none !important;
}

.pickaxe-container.swinging {
    animation: pickaxe-swing 0.4s ease-in-out;
}

.pickaxe-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes pickaxe-appear {
    0% { opacity: 0; transform: translate(-120%, -80%) scale(0.5) rotate(-20deg); }
    100% { opacity: 1; transform: translate(-120%, -80%) scale(1) rotate(0deg); }
}

@keyframes pickaxe-swing {
    0% { transform: translate(-120%, -80%) rotate(0deg); }
    30% { transform: translate(-80%, -60%) rotate(45deg); }
    50% { transform: translate(-60%, -50%) rotate(60deg); }
    70% { transform: translate(-80%, -60%) rotate(45deg); }
    100% { transform: translate(-120%, -80%) rotate(0deg); }
}

/* Shatter pieces */
.shatter-pieces {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.shatter-piece {
    position: absolute;
    background: var(--ice-gradient);
    opacity: 1;
    animation: shatter-fly 0.8s ease-out forwards;
}

@keyframes shatter-fly {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.3);
    }
}

/* Login Modal */
.portal-login-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portal-login-modal[hidden] {
    display: none;
}

.portal-login-modal.active {
    opacity: 1;
    visibility: visible;
    animation: login-slide-up 0.5s ease-out forwards;
}

@keyframes login-slide-up {
    0% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.login-card {
    position: relative;
    width: 400px;
    max-width: 90vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 212, 255, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--ice-cyan);
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--ice-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--ice-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: #ff6b6b;
    font-size: 14px;
}

.form-error[hidden] {
    display: none;
}

.form-error svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #ff6b6b;
}

/* Full width button */
.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-text {
    display: inline;
}

.btn-loading {
    display: none;
}

.btn-loading[hidden] {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-loading .spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Close button */
.login-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.login-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.login-close-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.login-close-btn:hover svg {
    stroke: var(--text-primary);
}

/* Logo click hint */
.logo-icon {
    cursor: pointer;
    transition: filter var(--transition-normal);
}

.logo-icon:hover {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}
