/* ==========================================================================
   VineOS Core Stylesheet - Curated Nature-Infused Glassmorphism Design System
   ========================================================================== */

/* Custom CSS Variables */
:root {
    --bg-dark: #070e0a;
    --bg-card: rgba(14, 28, 20, 0.45);
    --border-color: rgba(46, 125, 50, 0.2);
    --border-hover: rgba(46, 125, 50, 0.4);
    
    --primary: #0a7c48;
    --primary-hover: #0d9658;
    --primary-glow: rgba(10, 124, 72, 0.35);
    
    --accent: #e5b93c;
    --accent-hover: #f0c954;
    --accent-glow: rgba(229, 185, 60, 0.3);
    
    --text-main: #f4efeb;
    --text-muted: #a3b899;
    --text-dark: #0f1c13;
    
    --success: #2ecc71;
    --error: #e74c3c;
    --warning: #f1c40f;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-blur: blur(16px);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Decorative Glow Backgrounds */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
    top: 300px;
    right: -250px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

/* Layout Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

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

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

.btn-xs {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    padding: 12px;
}

/* Header styling */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(7, 14, 10, 0.75);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.04em;
    font-family: 'Space Grotesk', sans-serif;
}

.logo-text span {
    color: #5ea33a;
}

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

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(244, 239, 235, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px 24px;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 124, 72, 0.15);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse-green 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Device Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-frame-mockup {
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(10, 124, 72, 0.1);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
}

.mockup-top-bar {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background-color: #fc5753; }
.dot.yellow { background-color: #fdbc40; }
.dot.green { background-color: #33c748; }

.mockup-url {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 4px 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    flex-grow: 1;
    text-align: center;
}

.mockup-body {
    padding: 16px;
    background-color: rgba(5, 10, 7, 0.4);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Grid */
.features-section, .sandbox-section, .pricing-section, .architecture-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 12px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 124, 72, 0.15);
}

.feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(10, 124, 72, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Sandbox / Interactive Area */
.sandbox-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sandbox-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    overflow-x: auto;
}

.sandbox-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 18px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.sandbox-tab:hover {
    background: rgba(10, 124, 72, 0.05);
    color: var(--text-main);
}

.sandbox-tab.active {
    background: rgba(10, 124, 72, 0.12);
    color: var(--text-main);
    box-shadow: inset 0 -2px 0 var(--primary);
}

.sandbox-workspace {
    padding: 30px;
    min-height: 500px;
}

.sandbox-panel {
    display: none;
}

.sandbox-panel.active {
    display: block;
    animation: fade-in 0.4s ease;
}

/* Tab Layout Structures */
.panel-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
}

.panel-interactive {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.tree-controls {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tree-viewport {
    width: 100%;
    height: 450px;
    cursor: grab;
}

.tree-viewport:active {
    cursor: grabbing;
}

/* Inspector / Side panel */
.details-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    min-height: 350px;
}

.details-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    color: var(--accent);
}

.inspector-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    height: 250px;
    gap: 16px;
}

.inspector-empty i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.inspector-data {
    animation: fade-in 0.3s ease;
}

.inspector-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.disciple-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid var(--accent);
}

.badge-stage {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: rgba(10, 124, 72, 0.2);
    border: 1px solid var(--border-color);
}

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

.info-lbl {
    color: var(--text-muted);
}

.info-val {
    font-weight: 500;
}

.progress-container-spec {
    margin-top: 20px;
}

.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

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

/* Tab 2: Zero-SMS Login Phone Mockup */
.login-center-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.phone-mockup {
    width: 290px;
    height: 560px;
    background: #000;
    border-radius: 36px;
    border: 8px solid #222;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(10, 124, 72, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0c1410;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.phone-status-bar {
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.15);
}

.phone-icons {
    display: flex;
    gap: 4px;
}

.phone-content {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-step {
    display: none;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.login-step.active {
    display: flex;
    animation: fade-in 0.3s ease;
}

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

.login-header-logo img {
    height: 48px;
    margin-bottom: 12px;
}

.login-header-logo h2 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.login-header-logo p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 0.85rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.search-input-wrap {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
}

#church-search-input {
    padding-left: 32px;
}

.church-list {
    max-height: 180px;
    overflow-y: auto;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.church-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.church-item:hover {
    background: rgba(10, 124, 72, 0.15);
}

.church-item-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.7rem;
    color: var(--accent);
}

.church-item-info h4 {
    font-size: 0.8rem;
    margin: 0;
}

.church-item-info p {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin: 0;
}

/* OTP code input */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.otp-box {
    width: 32px;
    height: 38px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.otp-box:focus {
    outline: none;
    border-color: var(--primary);
}

.otp-resend {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 14px;
}

.otp-resend a {
    color: var(--primary);
}

.back-btn {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    cursor: pointer;
}

.back-btn:hover {
    color: var(--text-main);
}

/* PIN config */
.pin-display {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.pin-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: transparent;
    transition: var(--transition-smooth);
}

.pin-dot.filled {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.pin-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 200px;
    margin: 0 auto;
}

.pin-num, .pin-pad-action {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pin-num:hover, .pin-pad-action:hover {
    background: rgba(10, 124, 72, 0.2);
    border-color: var(--primary);
}

.pin-pad-action {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Biometrics step */
.bio-pulse-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(10, 124, 72, 0.1);
    border: 2px solid var(--border-color);
    margin: 40px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bio-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ring-pulse 2s infinite;
}

.bio-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.click-info {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Success screen */
.success-banner {
    text-align: center;
    margin-bottom: 30px;
}

.success-check-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 16px;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
}

.summary-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.widget-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.widget-lbl {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.widget-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

/* Login explanation panel */
.login-desc-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.desc-para {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.desc-para-sm {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.benefit-list {
    list-style: none;
    margin-bottom: 24px;
}

.benefit-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.benefit-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 2px;
}

.demo-controller {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
}

.flow-pills {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.flow-pill {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    color: var(--text-muted);
}

.flow-pill.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Tab 3: Syllabus builder drag-drop */
.syllabus-editor {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.editor-header-box {
    margin-bottom: 20px;
}

.drag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drag-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: grab;
    transition: var(--transition-smooth);
}

.drag-item:active {
    cursor: grabbing;
}

.drag-item.dragging {
    opacity: 0.4;
    background: rgba(10, 124, 72, 0.1);
    border-color: var(--primary);
}

.drag-handle {
    color: var(--text-muted);
    opacity: 0.5;
}

.item-content {
    flex-grow: 1;
}

.lesson-num {
    font-size: 0.7rem;
    background: rgba(229, 185, 60, 0.15);
    border: 1px solid rgba(229, 185, 60, 0.2);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 4px;
}

.item-content h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.item-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.syllabus-readiness {
    display: flex;
    flex-direction: column;
}

.students-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.student-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    border-radius: 8px;
}

.student-info {
    display: flex;
    flex-direction: column;
}

.student-info strong {
    font-size: 0.9rem;
}

.student-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge-readiness {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.badge-readiness.ready {
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-readiness.pending {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.2);
}

/* Tab 4: Unified Giving (/give) */
.giving-form-card {
    width: 100%;
    max-width: 380px;
    background: rgba(14, 28, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.giving-header {
    text-align: center;
    margin-bottom: 24px;
}

.giving-logo {
    height: 40px;
    margin-bottom: 12px;
}

.giving-header h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.giving-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.giving-state {
    display: none;
}

.giving-state.active {
    display: block;
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.btn-preset {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 6px;
}

.btn-preset:hover, .btn-preset.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-amount-wrap {
    position: relative;
    margin-bottom: 16px;
}

.currency-symbol {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 600;
}

.custom-amount-input {
    padding-left: 28px;
    font-weight: 600;
}

.card-group {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
}

.card-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-card-icon {
    color: var(--text-muted);
    opacity: 0.6;
}

.card-input-wrap input {
    background: transparent;
    border: none;
    padding: 4px;
    color: var(--text-main);
    font-size: 0.8rem;
}

.card-input-wrap input:focus {
    outline: none;
}

.card-num { width: 60%; }
.card-exp { width: 22%; text-align: center; }
.card-cvc { width: 18%; text-align: center; }

.giving-footer {
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* Giving Loading State */
.loading-spinner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Giving Success State */
.giving-success-inner {
    text-align: center;
    animation: fade-in 0.4s ease;
}

.giving-success-inner h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.giving-success-inner p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.giving-receipt-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 0.8rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.receipt-row span {
    color: var(--text-muted);
}

/* Architecture SQL Highlight */
.architecture-section {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 124, 72, 0.04) 50%, transparent 100%);
}

.arch-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.arch-code-panel {
    background: #060c08;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.panel-top-bar {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
}

.panel-tab {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.panel-tab.active {
    color: var(--accent);
}

.arch-code-panel pre {
    padding: 20px;
    margin: 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    color: #e0e0e0;
}

.code-keyword { color: #f92672; }
.code-string { color: #e6db74; }
.code-comment { color: #75715e; font-style: italic; }

.arch-text-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 18px;
}

.arch-text-panel p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.arch-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bullet-item {
    display: flex;
    gap: 16px;
}

.bullet-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 124, 72, 0.15);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.bullet-item strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.bullet-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(229, 185, 60, 0.15);
    background: rgba(14, 28, 20, 0.7);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.price-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.price-header h4 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.price-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.price-val span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.price-features li i {
    color: var(--accent);
}

.price-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.price-features li.disabled i {
    color: var(--text-muted);
}

/* Footer styling */
.footer {
    border-top: 1px solid var(--border-color);
    background: #040905;
    padding: 60px 24px 30px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 20px 0;
    max-width: 320px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-icons a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .arch-showcase {
        grid-template-columns: 1fr;
    }
    
    .panel-layout {
        grid-template-columns: 1fr;
    }
    
    .login-center-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.btn-download-app:hover {
    background: rgba(10, 124, 72, 0.15) !important;
    border-color: var(--border-hover) !important;
    transform: translateY(-2px);
}
