/* 
   Clone Centre - Legal Mind 
   Theme: Deep Space / Neon Graphite 
*/

:root {
    --bg-deep: #030304;
    --bg-surface: #0a0a0b;
    --bg-glass: rgba(15, 15, 17, 0.6);
    
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-dim: #444444;
    
    /* Product Color Themes */
    --accent-cyan: #00f0ff;      /* LEGAL MIND (Voice Bot) */
    --accent-purple: #a855f7;    /* HYPERCHAT (Chat Widget) */
    --accent-orange: #ff6b35;    /* TRAICE (AI Governance) */
    
    --accent-blue: #2962ff;
    --accent-gold: #ffd700;
    --accent-solana: #14F195;    /* Solana Green */
    --accent-green: #22c55e;     /* Success green */
    --accent-red: #ef4444;       /* Error/delete red */
    
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --grid-line: rgba(255, 255, 255, 0.03);
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.3);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
    --glow-orange: 0 0 20px rgba(255, 107, 53, 0.3);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Canvas */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABWr851AAAACHRSTlMAMwA1MzMzM7Ozs7MzMzMzMzMzMzMzMzO0c0yUAAAAJUlEQVQ4y2NgQAyyDkwYQcMwYIQcwwg5hqFzDINyDCPkGEY4AwB92xS1948+ZAAAAABJRU5ErkJggg==');
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(3,3,4,0.9), transparent);
    backdrop-filter: blur(5px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
}

.logo-icon {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

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

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

.mono-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.mono-link:hover {
    color: var(--accent-cyan);
}

.mobile-menu-btn {
    display: none; /* Hidden by default on desktop */
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}


/* Buttons */
.btn {
    position: relative;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-deep);
}

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

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

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

.btn-glow {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.btn-glow:hover {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-solana {
    background: rgba(20, 241, 149, 0.05); /* Very subtle green background */
    border: 1px solid var(--accent-solana);
    color: var(--accent-solana);
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.btn-solana:hover {
    background: var(--accent-solana);
    color: #000; /* Black text on green looks sharp/premium */
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.4);
}

/* PRODUCT-SPECIFIC BUTTON STYLES */

/* HyperChat Purple */
.btn-purple {
    background: linear-gradient(135deg, var(--accent-purple), #c084fc);
    color: #000;
    font-weight: 600;
}

.btn-purple:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.btn-purple-outline {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.btn-purple-outline:hover {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: var(--glow-purple);
}

/* TRAICE Orange */
.btn-orange {
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: #000;
    font-weight: 600;
}

.btn-orange:hover {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.btn-orange-outline {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.btn-orange-outline:hover {
    background: rgba(255, 107, 53, 0.2);
    box-shadow: var(--glow-orange);
}

/* PRODUCT ICON BOXES */
.icon-box.purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.icon-box.orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* PRODUCT SECTION LABELS */
.section-label.purple { color: var(--accent-purple); }
.section-label.orange { color: var(--accent-orange); }

/* PRODUCT FEATURE NUMBERS */
.feature-number {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 700;
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
    opacity: 0.15;
}

.feature-number.cyan { color: var(--accent-cyan); }
.feature-number.purple { color: var(--accent-purple); }
.feature-number.orange { color: var(--accent-orange); }

/* PRODUCT CARDS */
.product-card {
    background: linear-gradient(180deg, rgba(20,20,22,0.8), rgba(10,10,11,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card.cyan:hover { border-color: var(--accent-cyan); box-shadow: 0 0 40px rgba(0, 240, 255, 0.1); }
.product-card.purple:hover { border-color: var(--accent-purple); box-shadow: 0 0 40px rgba(168, 85, 247, 0.1); }
.product-card.orange:hover { border-color: var(--accent-orange); box-shadow: 0 0 40px rgba(255, 107, 53, 0.1); }

/* PRODUCT BADGES */
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.cyan {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.product-badge.purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.product-badge.orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

a.product-badge {
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

a.product-badge:hover {
    transform: translateY(-2px);
}

a.product-badge.cyan:hover {
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

a.product-badge.purple:hover {
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.2);
}

a.product-badge.orange:hover {
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-header {
    padding: 180px 0 60px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 40px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

.status-dot.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px #00ff88;
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 20px #00ff88;
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-text {
    color: var(--accent-cyan);
    -webkit-text-fill-color: var(--accent-cyan);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-cyan);
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
}

.hero-cta {
    margin-bottom: 80px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Metrics Grid */
.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--grid-line);
    border: 1px solid var(--grid-line);
}

.metric-card {
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.unit {
    color: var(--text-dim);
    font-size: 0.8em;
}

/* Bento Grid System */
.section-dark {
    padding: 100px 0;
    border-top: 1px solid var(--grid-line);
}

.section-label {
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 350px;
}

.bento-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Improved Blockchain Bento Card */
.bento-card.blockchain {
    background: rgba(15, 15, 17, 0.6); /* Same glass as others */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle default border */
    height: auto;
    min-height: 200px;
}

.bento-card.blockchain:hover {
    border-color: var(--accent-solana); /* Only green on hover */
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    border: 1px solid transparent; /* Prepare for colored borders */
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.tech-specs {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Interface Section */
.section-interface {
    padding: 100px 0;
    border-top: 1px solid var(--grid-line);
    background: radial-gradient(circle at 80% 50%, rgba(41, 98, 255, 0.05), transparent 50%);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.command-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.command-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cmd-prompt {
    color: var(--accent-cyan);
    opacity: 0.7;
}

.interface-visual {
    perspective: 1000px;
}

.ui-window {
    background: #151515;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s;
}

.interface-visual:hover .ui-window {
    transform: rotateY(0) rotateX(0);
}

.ui-header {
    background: #222;
    padding: 12px;
    display: flex;
    gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.ui-body {
    padding: 30px;
    background: rgba(10, 10, 10, 0.95);
}

.loading-bar-container {
    margin-bottom: 20px;
}

.loading-bar {
    height: 2px;
    background: #333;
    margin-top: 10px;
    position: relative;
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: load 2s infinite ease-in-out;
}

@keyframes load {
    0% { width: 0%; left: 0; }
    50% { width: 70%; left: 30%; }
    100% { width: 0%; left: 100%; }
}

.code-block {
    color: #a9b7c6;
    font-size: 0.8rem;
}

.pink { color: #ff79c6; }
.blue { color: #6897bb; }
.green { color: #6a8759; }

/* Stats Section */
.section-stats {
    padding: 100px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-box {
    border-left: 1px solid var(--grid-line);
    padding-left: 30px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin: 10px 0;
}

/* Pricing Grid */
.section-pricing {
    padding: 100px 0;
    position: relative;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.pricing-toggle {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 50px;
    display: flex;
    gap: 5px;
}

.toggle-btn {
    padding: 8px 24px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--text-primary);
    color: var(--bg-deep);
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: linear-gradient(180deg, rgba(20,20,22,0.8), rgba(10,10,11,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px;
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-radius: 16px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05), rgba(10,10,11,0.95));
}

.pricing-card.featured:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

/* Premium Blockchain Card Styling */
.pricing-card.blockchain {
    border-color: rgba(20, 241, 149, 0.2); /* Subtle green border by default */
    background: linear-gradient(180deg, rgba(20, 20, 22, 0.8), rgba(10, 10, 11, 0.95));
}

.pricing-card.blockchain:hover {
    border-color: var(--accent-solana);
    box-shadow: 0 0 40px rgba(20, 241, 149, 0.15);
    transform: translateY(-5px);
}

.pricing-card.blockchain.featured {
    border-color: rgba(247, 147, 26, 0.3); /* BTC Orange subtle */
}

.pricing-card.blockchain.featured:hover {
    border-color: #F7931A;
    box-shadow: 0 0 40px rgba(247, 147, 26, 0.15);
}

.license-type {
    color: var(--accent-cyan);
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.blockchain .license-type {
    color: var(--accent-solana);
}

.pricing-card.blockchain.featured .license-type {
    color: #F7931A; /* BTC Orange */
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-sub {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.savings-badge {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.blockchain .savings-badge {
    background: rgba(20, 241, 149, 0.1);
    color: var(--accent-solana);
}

.pricing-card.blockchain.featured .savings-badge {
    background: rgba(247, 147, 26, 0.1);
    color: #F7931A;
}

.specs-list {
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.specs-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.specs-list i {
    color: var(--accent-cyan);
    margin-top: 4px;
}

.blockchain .specs-list i {
    color: var(--accent-solana);
}

.pricing-card.blockchain.featured .specs-list i {
    color: #F7931A;
}

/* Crypto Logos */
.crypto-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0.7;
    justify-content: center;
}

.crypto-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.crypto-icon:hover {
    color: var(--text-primary);
}

/* Timeline / Roadmap */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--grid-line);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--bg-deep);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -6px;
}

.timeline-item.right .timeline-dot {
    left: -6px;
}

.timeline-item.completed .timeline-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-item.future .timeline-dot {
    border-color: var(--text-dim);
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.timeline-tags .tag {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.timeline-tags .tag-future {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--grid-line);
    padding: 80px 0 40px;
    background: #010101;
}

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

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-dim);
    border-top: 1px solid var(--grid-line);
    padding-top: 30px;
}

/* 
   =========================================
   MODAL & FORM STYLES
   =========================================
*/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #0a0a0b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.modal-badge {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    display: inline-block;
}

.modal-title-group h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-progress {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
}

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

.progress-step.active {
    color: var(--accent-cyan);
}

.progress-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
}

#deployment-form {
    padding: 30px;
    overflow-y: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full {
    grid-column: span 2;
}

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

.form-group input, 
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-cyan);
}

.form-hint {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.multi-select {
    height: 100px;
}

/* Crypto Info Box */
.crypto-info-box {
    grid-column: span 2;
    background: rgba(20, 241, 149, 0.05);
    border: 1px solid var(--accent-solana);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.crypto-info-box .info-header {
    color: var(--accent-solana);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.info-row .label {
    color: var(--text-secondary);
}

.info-row .value {
    color: var(--text-primary);
}

.info-row .value.success {
    color: var(--accent-solana);
}

/* Modal Footer */
.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.price-summary .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.price-summary .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 400px;
    font-size: 0.9rem;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-color: var(--accent-solana);
    background: rgba(20, 241, 149, 0.1);
}

.notification-success i {
    color: var(--accent-solana);
    font-size: 1.2rem;
}

.notification-error {
    border-color: #ff5f56;
    background: rgba(255, 95, 86, 0.1);
}

.notification-error i {
    color: #ff5f56;
    font-size: 1.2rem;
}

.notification-info {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.notification-info i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* FACTORY & CHATBOT PAGE ADDITIONS */

/* URL Scanner Box */
.url-scanner-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.scan-input-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.scan-input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-family: var(--font-mono);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.scan-input-group input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Widget Preview Area */
.widget-preview {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.chat-interface {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 380px;
    margin: 0 auto;
    color: #333;
    font-family: var(--font-sans);
}

.chat-header {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-body {
    height: 400px;
    background: #f8fafc;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.bot {
    background: white;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.message.user {
    background: #4f46e5;
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    background: white;
}

.chat-input input {
    flex: 1;
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 20px;
    outline: none;
}

/* Scanning Animation */
.scanning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    position: absolute;
    top: 0;
    animation: scan 2s infinite linear;
    box-shadow: 0 0 20px var(--accent-cyan);
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-metrics-grid { grid-template-columns: 1fr 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .split-layout { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .pricing-wrapper { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 100%; }
    
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; margin-bottom: 40px; }
    .timeline-item.left, .timeline-item.right { left: 0; text-align: left; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 14px; right: auto; }
    
    .nav-links { display: none; } /* Mobile menu needed in JS */
    .mobile-menu-btn { display: block; }

    /* Modal Responsive */
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
    .crypto-info-box {
        grid-column: span 1;
    }

    /* Chatbot page specifics */
    .hero-split { grid-template-columns: 1fr; padding-top: 120px; }
    .widget-preview { display: none; }
}
