/* ═══════════════════════════════════════════════════════════
   AgentChain Bridge — Coming Soon Page
   Dark luxury theme, consistent with main site
   ═══════════════════════════════════════════════════════════ */

:root {
    --bg:           #050508;
    --bg-2:         #08080f;
    --bg-3:         #0f0f1a;
    --bg-card:      rgba(12, 12, 24, 0.6);
    --bg-glass:     rgba(12, 12, 24, 0.4);
    --border:       rgba(255, 255, 255, 0.06);
    --border-2:     rgba(255, 255, 255, 0.1);
    --border-glow:  rgba(0, 212, 255, 0.15);
    --text:         #f0f0f8;
    --text-2:       #9494b8;
    --text-3:       #5e5e80;
    --accent:       #00d4ff;
    --accent-2:     #00ff88;
    --purple:       #8b5cf6;
    --red:          #ff4466;
    --orange:       #ff8844;
    --yellow:       #ffd700;
    --gradient:     linear-gradient(135deg, #00d4ff, #00ff88);
    --gradient-2:   linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #00ff88 100%);
    --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono:         'JetBrains Mono', 'Fira Code', monospace;
    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    20px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
body::before {
    content: '';
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0,212,255,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139,92,246,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 50% 80%, rgba(0,255,136,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }

.gradient-text {
    background: var(--gradient-2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ═══ Nav ═══ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(5,5,8,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 64px;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
    font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em;
}
.nav-chain { margin-right: 4px; }
.nav-accent { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-2); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
    font-size: 0.9rem; border: none; cursor: pointer;
    transition: all 0.3s var(--ease); font-family: var(--font);
}
.btn-primary {
    background: var(--gradient); color: #000; font-weight: 700;
    box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0,212,255,0.3);
}

/* ═══ Hero ═══ */
.bridge-hero {
    padding: 140px 0 60px; position: relative; overflow: hidden;
    text-align: center;
}
.hero-bg-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.hero-bg-orb-1 { width: 600px; height: 600px; top: -250px; left: -150px; background: rgba(0,212,255,0.06); }
.hero-bg-orb-2 { width: 500px; height: 500px; top: -150px; right: -150px; background: rgba(139,92,246,0.06); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px; border-radius: 20px;
    background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--purple); margin-bottom: 24px;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--purple); animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.bridge-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.15;
}
.hero-sub {
    color: var(--text-2); font-size: 1.05rem; max-width: 600px;
    margin: 0 auto 48px; line-height: 1.7;
}

/* Bridge Visual */
.bridge-visual {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin: 0 auto; max-width: 500px;
}
.bv-chain {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.bv-icon {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--border-2);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.bv-icon-base { border-color: rgba(0,82,255,0.3); }
.bv-icon-ac { font-size: 32px; border-color: rgba(0,212,255,0.3); }
.bv-name { font-size: 0.9rem; font-weight: 700; color: var(--text-2); }
.bv-connector {
    display: flex; align-items: center; gap: 0; padding: 0 24px;
    position: relative;
}
.bv-line {
    width: 50px; height: 2px;
    background: linear-gradient(90deg, var(--border-2), rgba(0,212,255,0.3));
}
.bv-arrows {
    display: flex; flex-direction: column; gap: 2px;
    font-size: 1.2rem; font-weight: 700; color: var(--accent);
    animation: arrowPulse 2s ease infinite;
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ═══ Sections ═══ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
    display: inline-block;
    padding: 4px 14px; border-radius: 16px;
    background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.12);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--accent); margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-sub {
    color: var(--text-2); font-size: 1rem; max-width: 560px; margin: 0 auto;
}

/* ═══ Mechanism Cards ═══ */
.mechanism-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.mech-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    backdrop-filter: blur(20px); position: relative;
    transition: border-color 0.3s, transform 0.3s;
}
.mech-card:hover {
    border-color: var(--border-2); transform: translateY(-4px);
}
.mech-step {
    position: absolute; top: 16px; right: 20px;
    font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
    color: var(--text-3); background: rgba(255,255,255,0.04);
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mech-icon { font-size: 2rem; margin-bottom: 16px; }
.mech-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.mech-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.mech-flow {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.mech-tag {
    padding: 4px 12px; border-radius: 12px;
    font-size: 0.7rem; font-weight: 600; font-family: var(--mono);
    background: rgba(0,82,255,0.1); color: #5b8def;
    border: 1px solid rgba(0,82,255,0.2);
}
.mech-tag-ac { background: rgba(0,212,255,0.08); color: var(--accent); border-color: rgba(0,212,255,0.2); }
.mech-tag-mint { background: rgba(0,255,136,0.08); color: var(--accent-2); border-color: rgba(0,255,136,0.2); }
.mech-tag-burn { background: rgba(255,68,102,0.08); color: var(--red); border-color: rgba(255,68,102,0.2); }
.mech-arrow { color: var(--text-3); font-size: 0.9rem; }

.security-note {
    display: flex; align-items: flex-start; gap: 12px;
    margin-top: 32px; padding: 20px 24px;
    background: rgba(0,255,136,0.03); border: 1px solid rgba(0,255,136,0.1);
    border-radius: var(--radius); font-size: 0.9rem; color: var(--text-2);
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.security-note svg { stroke: var(--accent-2); flex-shrink: 0; margin-top: 2px; }

/* ═══ Assets Grid ═══ */
.assets-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.asset-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    backdrop-filter: blur(20px); position: relative;
    transition: border-color 0.3s, transform 0.3s;
}
.asset-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.asset-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; margin-bottom: 16px;
}
.asset-icon-fredom { background: rgba(139,92,246,0.15); color: var(--purple); border: 1px solid rgba(139,92,246,0.3); }
.asset-icon-agent { background: rgba(0,212,255,0.15); color: var(--accent); border: 1px solid rgba(0,212,255,0.3); }
.asset-icon-eth { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.asset-info { margin-bottom: 10px; }
.asset-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.asset-direction { font-size: 0.8rem; color: var(--text-3); font-family: var(--mono); }
.asset-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.asset-badge {
    display: inline-block; padding: 3px 10px; border-radius: 10px;
    font-size: 0.7rem; font-weight: 600; font-family: var(--mono);
    background: rgba(255,255,255,0.04); color: var(--text-3);
    border: 1px solid var(--border);
}
.asset-badge-native { background: rgba(0,212,255,0.08); color: var(--accent); border-color: rgba(0,212,255,0.15); }

/* ═══ Roadmap ═══ */
.roadmap-timeline {
    max-width: 700px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0;
}
.roadmap-item {
    display: flex; gap: 24px;
}
.roadmap-marker {
    display: flex; flex-direction: column; align-items: center;
    flex-shrink: 0; width: 24px;
}
.roadmap-dot {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--bg-3); border: 2px solid var(--border-2);
    flex-shrink: 0; position: relative; z-index: 1;
    transition: all 0.3s;
}
.roadmap-line {
    width: 2px; flex: 1; min-height: 40px;
    background: var(--border-2);
}
.roadmap-active .roadmap-dot {
    background: var(--accent); border-color: var(--accent);
    box-shadow: 0 0 16px rgba(0,212,255,0.4);
}
.roadmap-active .roadmap-line {
    background: linear-gradient(to bottom, var(--accent), var(--border-2));
}
.roadmap-content {
    padding-bottom: 40px;
}
.roadmap-phase {
    font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
    color: var(--accent); margin-bottom: 6px; letter-spacing: 0.05em;
}
.roadmap-content h3 {
    font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
}
.roadmap-content p {
    color: var(--text-2); font-size: 0.9rem; line-height: 1.6;
}
.roadmap-status {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 12px; padding: 6px 16px; border-radius: 16px;
    font-size: 0.75rem; font-weight: 600;
}
.roadmap-current {
    background: rgba(0,212,255,0.08); color: var(--accent);
    border: 1px solid rgba(0,212,255,0.2);
}
.status-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s ease infinite;
}

/* Inactive roadmap items */
.roadmap-item:not(.roadmap-active) .roadmap-phase { color: var(--text-3); }
.roadmap-item:not(.roadmap-active) h3 { color: var(--text-2); }
.roadmap-item:not(.roadmap-active) p { color: var(--text-3); }

/* ═══ Notify Section ═══ */
.notify-card {
    display: flex; align-items: center; gap: 48px;
    background: var(--bg-card); border: 1px solid var(--border-2);
    border-radius: var(--radius-lg); padding: 48px;
    backdrop-filter: blur(20px); position: relative; overflow: hidden;
}
.notify-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--purple), transparent);
    opacity: 0.4;
}
.notify-content { flex: 1; }
.notify-content h2 {
    font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em;
}
.notify-content > p {
    color: var(--text-2); font-size: 0.95rem; margin-bottom: 24px;
}
.notify-form {
    display: flex; gap: 12px; max-width: 460px;
}
.notify-input {
    flex: 1; padding: 14px 18px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
    border-radius: var(--radius); color: var(--text);
    font-family: var(--font); font-size: 0.95rem; outline: none;
    transition: border-color 0.2s;
}
.notify-input::placeholder { color: var(--text-3); }
.notify-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }
.notify-btn { padding: 14px 28px; white-space: nowrap; }
.notify-note {
    font-size: 0.8rem; color: var(--accent-2); margin-top: 12px; min-height: 20px;
}

.notify-decoration {
    position: relative; width: 120px; height: 120px; flex-shrink: 0;
}
.nd-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid var(--border);
}
.nd-ring-1 { inset: 0; animation: ringRotate 12s linear infinite; border-color: rgba(0,212,255,0.15); }
.nd-ring-2 { inset: 15px; animation: ringRotate 8s linear infinite reverse; border-color: rgba(139,92,246,0.15); }
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.nd-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 2.5rem;
}

/* ═══ Footer ═══ */
.bridge-footer {
    border-top: 1px solid var(--border); padding: 24px 0;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: var(--text-3);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-3); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ═══ Animations ═══ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.bridge-hero { animation: fadeInUp 0.6s ease; }
.mech-card, .asset-card, .roadmap-item { animation: fadeInUp 0.5s ease backwards; }
.mech-card:nth-child(2), .asset-card:nth-child(2) { animation-delay: 0.1s; }
.mech-card:nth-child(3), .asset-card:nth-child(3) { animation-delay: 0.2s; }
.roadmap-item:nth-child(2) { animation-delay: 0.1s; }
.roadmap-item:nth-child(3) { animation-delay: 0.2s; }

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
    .mechanism-grid, .assets-grid {
        grid-template-columns: 1fr;
    }
    .notify-card { flex-direction: column; text-align: center; padding: 36px 28px; }
    .notify-form { max-width: 100%; }
    .notify-decoration { display: none; }
}
@media (max-width: 768px) {
    .bridge-hero { padding: 110px 0 40px; }
    .bridge-hero h1 { font-size: 1.8rem; }
    .section { padding: 56px 0; }
    .bv-line { width: 30px; }
    .bv-connector { padding: 0 12px; }
    .bv-icon { width: 56px; height: 56px; }
    .bv-icon-ac { font-size: 24px; }
    .notify-form { flex-direction: column; }
    .notify-btn { width: 100%; justify-content: center; }
    .nav-links { display: none !important; }
    .nav-links.mobile-open {
        display: flex !important; flex-direction: column;
        position: fixed; top: 56px; left: 0; right: 0;
        background: rgba(5,5,8,0.97); backdrop-filter: blur(20px);
        padding: 16px 24px; z-index: 99; gap: 4px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links.mobile-open a { padding: 12px 16px; border-radius: 8px; }
    #acHamburger { display: block !important; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
