/* Core Design Variables */
:root {
    --bg-dark: #f8fafc;
    --bg-deep: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: #e2e8f0;
    --card-border-focus: rgba(166, 25, 46, 0.4);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent: #a6192e; /* Crimson Red */
    --accent-hover: #8b1425;
    --accent-indigo: #a6192e; /* Crimson Red */
    --accent-indigo-hover: #8b1425;
    
    --warning: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.small-container {
    max-width: 600px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--accent-indigo);
}

/* Glassmorphism Background Elements */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--bg-dark) 0%, var(--bg-deep) 100%);
    z-index: -3;
}

.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    z-index: -2;
    pointer-events: none;
}

.glow-1 {
    background: var(--accent-indigo);
    top: -200px;
    left: -200px;
    animation: pulse 12s infinite alternate;
}

.glow-2 {
    background: var(--accent);
    bottom: -200px;
    right: -200px;
    animation: pulse 16s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.1; }
    100% { transform: scale(1.2) translate(50px, 50px); opacity: 0.16; }
}

/* Header Styles */
.app-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.text-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.03);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-icon {
    color: var(--accent-indigo);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-indigo);
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.block-btn {
    width: 100%;
}

.btn:disabled, .btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text-content h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-indigo) 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Visual Mock Card */
.visual-card {
    padding: 12px;
    background: rgba(10, 15, 28, 0.8);
    position: relative;
    overflow: hidden;
}

.video-preview-mock {
    width: 100%;
    aspect-ratio: 16/10;
    background: radial-gradient(circle, #1a2238 0%, #0d1222 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button-mock {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    animation: breathe 3s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 35px rgba(16, 185, 129, 0.6); }
}

.progress-bar-mock {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.timeline-ticks-mock {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 40px;
}

.timeline-ticks-mock .tick {
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.65rem;
    border: 1px solid var(--accent);
    transform: translateX(-50%);
}

.timeline-ticks-mock .tick.goal {
    border-color: var(--accent);
    color: var(--accent);
}

.timeline-ticks-mock .tick.card {
    border-color: #ffcc00;
    color: #ffcc00;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    transition: var(--transition-bounce);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-indigo);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-card:nth-child(2n) .feature-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 60px 0 100px;
}

.cta-card {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(20, 28, 47, 0.7) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Status Cards & Subscription Block */
.status-card {
    text-align: center;
    padding: 48px 36px;
    margin-top: 40px;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
}

.status-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.status-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.text-warning {
    color: var(--warning);
}

.billing-details-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--card-border);
    margin-bottom: 32px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: var(--text-muted);
}

.alert-info-box {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 24px;
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.alert-info-box i {
    color: var(--accent-indigo);
    font-size: 1rem;
    margin-top: 2px;
}

/* Dashboard Page Specific Styles */
.dashboard-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

.status-widget-row {
    padding: 16px 24px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
}

.user-badge {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wallet-balance {
    margin-left: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.wallet-balance strong {
    color: var(--accent);
}

.model-badge {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.model-badge code {
    color: var(--accent);
}

/* Dashboard Columns Grid */
.dashboard-grid-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 30px;
    align-items: start;
}

.panel-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.panel-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.panel-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.results-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Form Controls */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.col-6 {
    flex: 1;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

.form-help {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Upload Drag Zones */
.upload-drag-zone {
    width: 100%;
    border: 2px dashed var(--card-border);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-drag-zone:hover, .upload-drag-zone.dragging {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.04);
}

.upload-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: var(--transition-bounce);
}

.upload-drag-zone:hover .upload-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.drag-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.file-name-label {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 20px;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.upload-drag-zone.has-file {
    border-color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.04);
}

.upload-drag-zone.has-file .upload-icon {
    color: var(--accent-indigo);
}

.hidden-file-input {
    display: none;
}

/* Accordian settings styling */
.advanced-settings-accordion {
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

.accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-toggle:hover {
    color: var(--text-primary);
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 16px;
}

.accordion-content.open {
    max-height: 500px;
    padding: 12px 16px;
    transition: max-height 0.5s ease-in-out;
}

.accordion-toggle.open .toggle-arrow {
    transform: rotate(180deg);
}

/* Progress Section */
.text-center {
    text-align: center;
}

.progress-container {
    margin: 30px 0;
}

.progress-bar-wrapper {
    width: 100%;
    height: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--card-border);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-indigo) 0%, var(--accent) 100%);
    border-radius: 12px;
    transition: width 0.4s ease;
}

.progress-percentage-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.log-output-container {
    background: #020409;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 180px;
}

.log-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
    text-transform: uppercase;
}

.log-logs {
    padding: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #a7f3d0; /* Soft lime-green console text */
    overflow-y: auto;
    flex-grow: 1;
    line-height: 1.5;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-logs span {
    word-break: break-all;
}

.mt-4 { margin-top: 16px; }

/* Empty Workspace State */
.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.empty-visual {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.empty-state-panel h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state-panel p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 400px;
    line-height: 1.5;
}

/* Results Workspace Panel */
.output-video-wrapper {
    background: black;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

#highlights-player {
    display: block;
    width: 100%;
    height: 100%;
}

.timeline-navigation-box {
    margin-bottom: 28px;
}

.panel-subheader {
    margin-bottom: 12px;
}

.panel-subheader h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.panel-subheader small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.timeline-scroller {
    max-height: 140px;
    overflow-y: auto;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.15);
}

.timeline-events-list {
    display: flex;
    flex-direction: column;
}

.timeline-event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.timeline-event-item:last-child {
    border-bottom: none;
}

.timeline-event-item:hover {
    background: rgba(99, 102, 241, 0.08);
}

.timeline-event-item.active-item {
    background: rgba(99, 102, 241, 0.15);
    border-left: 3px solid var(--accent-indigo);
}

.timeline-event-item.active-item .event-label-indicator {
    background: var(--accent-indigo);
    color: white;
}

.timeline-event-item.active-item .event-play-shortcut {
    color: var(--accent);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-label-indicator {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-event-item:hover .event-label-indicator {
    background: var(--accent);
    color: white;
}

.event-play-shortcut {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.timeline-event-item:hover .event-play-shortcut {
    color: var(--accent-indigo);
}

/* Tabs styles */
.tabs-container {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent-indigo);
    border-bottom: 2px solid var(--accent-indigo);
    background: rgba(99, 102, 241, 0.04);
}

.tab-content {
    display: none;
    padding: 18px;
    min-height: 120px;
}

.tab-content.active {
    display: block;
}

/* Downloads tab layout */
.downloads-grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.dl-card-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-bounce);
}

.dl-card-link:hover {
    transform: scale(1.03);
    border-color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.04);
}

.dl-icon {
    font-size: 1.5rem;
    color: var(--accent-indigo);
}

.dl-card-link:nth-child(2) .dl-icon { color: var(--accent); }
.dl-card-link:nth-child(3) .dl-icon { color: var(--warning); }

.dl-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.dl-info span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.json-code-block {
    background: #020409;
    border-radius: 8px;
    padding: 12px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--card-border);
}

.json-code-block code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: #e2e8f0;
    background: transparent;
    padding: 0;
}

/* Hidden elements helper */
.hidden {
    display: none !important;
}

/* Footer layout */
.app-footer {
    border-top: 1px solid var(--card-border);
    .footer-container {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   LANDING PAGE LIGHT SPORTS CLUB THEME
   Matches Weblium Template football-club-website-design-11
   ========================================================================== */

body.landing-body {
    background-color: #ffffff;
    color: #1e293b;
}

body.landing-body .glass-bg {
    background: #f8fafc;
}

body.landing-body .glow {
    display: none; /* Hide background colorful circles */
}

/* Header customization for landing */
body.landing-body .app-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

body.landing-body .logo-text {
    color: #0f172a;
}

body.landing-body .logo-icon {
    color: #a6192e; /* Crimson */
    text-shadow: none;
}

body.landing-body .text-accent {
    color: #a6192e;
}

/* Custom buttons for landing */
body.landing-body .btn-primary {
    background: #a6192e; /* Crimson */
    color: #ffffff;
    border: 1px solid #a6192e;
    box-shadow: 0 4px 12px rgba(166, 25, 46, 0.15);
}

body.landing-body .btn-primary:hover {
    background: #8b1425;
    border-color: #8b1425;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(166, 25, 46, 0.3);
}

body.landing-body .btn-outline {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

body.landing-body .btn-outline:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    color: #0f172a;
}

body.landing-body .btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

body.landing-body .btn-secondary:hover {
    background: #e2e8f0;
}

/* Hero Section customization */
body.landing-body .hero-section {
    padding: 120px 0 100px;
    background: radial-gradient(circle at 100% 50%, rgba(166, 25, 46, 0.03) 0%, rgba(255, 255, 255, 0) 60%), #ffffff;
}

body.landing-body .badge {
    background: rgba(166, 25, 46, 0.06);
    color: #a6192e;
    border: 1px solid rgba(166, 25, 46, 0.15);
    font-weight: 700;
}

body.landing-body .hero-text-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -1.5px;
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
    text-transform: uppercase;
}

body.landing-body .hero-text-content p {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Hero athlete layout frame */
.hero-athlete-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-athlete-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: #a6192e; /* Red color matching screenshot */
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 20px;
    z-index: 1;
}

.hero-athlete-img {
    position: relative;
    height: 120%;
    bottom: 10%;
    right: 5%;
    z-index: 2;
    transform: scaleX(-1); /* mirrors player so they look left */
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.25));
}

/* Features section light mode */
body.landing-body .features-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 100px 0;
}

body.landing-body .section-header h2 {
    color: #0f172a;
    font-size: 2.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

body.landing-body .section-header p {
    color: #475569;
}

body.landing-body .feature-card.glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body.landing-body .feature-card.glass-card:hover {
    border-color: #a6192e;
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

body.landing-body .feature-icon {
    background: rgba(166, 25, 46, 0.06);
    color: #a6192e;
    border: 1px solid rgba(166, 25, 46, 0.15);
}

body.landing-body .feature-card:nth-child(2n) .feature-icon {
    background: rgba(166, 25, 46, 0.06);
    color: #a6192e;
    border-color: rgba(166, 25, 46, 0.15);
}

body.landing-body .feature-card h3 {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.3rem;
}

body.landing-body .feature-card p {
    color: #475569;
}

/* CTA module */
body.landing-body .cta-section {
    background: #ffffff;
    padding: 100px 0;
}

body.landing-body .cta-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    padding: 60px;
}

body.landing-body .cta-card h2 {
    color: #0f172a;
    font-weight: 800;
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

body.landing-body .cta-card p {
    color: #475569;
    font-size: 1.15rem;
}

body.landing-body .app-footer {
    background: #0f172a;
    border-top: none;
    padding: 40px 0;
}

body.landing-body .app-footer p, 
body.landing-body .app-footer a {
    color: #94a3b8;
}

body.landing-body .app-footer a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    body.landing-body .hero-section {
        padding: 60px 0;
    }
    body.landing-body .hero-text-content h1 {
        font-size: 2.8rem;
    }
    .hero-graphics-container {
        margin-top: 40px;
    }
}

/* Hero Graphic Elements */
.hero-graphics-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.hero-sports-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
}

/* Floating animations for sport badges */
.floating-badge {
    transform-box: fill-box;
}

.badge-1 {
    animation: float-badge-1 6s infinite ease-in-out;
}
.badge-2 {
    animation: float-badge-2 7s infinite ease-in-out;
}
.badge-3 {
    animation: float-badge-3 6.5s infinite ease-in-out;
}
.badge-4 {
    animation: float-badge-4 7.5s infinite ease-in-out;
}

@keyframes float-badge-1 {
    0%, 100% { transform: translate(40px, 50px); }
    50% { transform: translate(40px, 38px); }
}

@keyframes float-badge-2 {
    0%, 100% { transform: translate(410px, 50px); }
    50% { transform: translate(410px, 62px); }
}

@keyframes float-badge-3 {
    0%, 100% { transform: translate(420px, 310px); }
    50% { transform: translate(420px, 298px); }
}

@keyframes float-badge-4 {
    0%, 100% { transform: translate(20px, 310px); }
    50% { transform: translate(20px, 322px); }
}

