/* =========================================
   BOOSTON CP - FRONTEND CORE ENGINE (v2.2)
   Theme: Quantum Dark (Restored Premium)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=JetBrains+Mono:wght@400;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg-void: #02040a;
    --primary: #00f3ff;
    --secondary: #7000ff;
    --accent: #00ff9d;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: 1px solid rgba(255, 255, 255, 0.08);
    --glass: rgba(10, 15, 25, 0.7);
    --glass-hover: rgba(15, 20, 35, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background-color: var(--bg-void); color: var(--text-main); font-family: 'Outfit', sans-serif; overflow-x: hidden; line-height: 1.6; }

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

/* --- HERO SPACE EFFECT --- */
.hero { 
    padding: clamp(120px, 15vh, 180px) 0 80px; 
    text-align: center; 
    position: relative; 
    overflow: hidden;
    background: #02040a;
}

/* Cyber Grid Background */
.hero::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center bottom;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    z-index: 1; pointer-events: none;
}

.nebula-glow {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
    transition: transform 0.2s ease-out;
}
.orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.2;
    animation: orbMove 25s infinite alternate ease-in-out;
}
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -100px; }
.orb-2 { width: 700px; height: 700px; background: var(--secondary); bottom: -200px; right: -100px; animation-delay: -7s; }
.orb-3 { width: 400px; height: 400px; background: var(--accent); top: 10%; right: 15%; animation-delay: -12s; }

@keyframes orbMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

.stars-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2; pointer-events: none;
}
.star {
    position: absolute; background: #fff; border-radius: 50%;
    opacity: 0.3; animation: twinkle 3s infinite alternate;
    pointer-events: none;
}
.star.near {
    box-shadow: 0 0 15px #fff, 0 0 30px var(--primary), 0 0 45px rgba(0, 243, 255, 0.3);
    opacity: 0.9;
    background: #fff;
}
.star.medium {
    box-shadow: 0 0 8px #fff, 0 0 15px rgba(255, 255, 255, 0.5);
    opacity: 0.7;
}

/* Shooting Star */
.shooting-star {
    position: absolute; width: 3px; height: 3px; background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--primary);
    border-radius: 50%; opacity: 0; z-index: 3;
    pointer-events: none;
}
.shooting-star::after {
    content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%);
    width: 150px; height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
}

@keyframes shoot {
    0% { transform: translate(0, 0) rotate(var(--angle)); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(var(--move-x), var(--move-y)) rotate(var(--angle)); opacity: 0; }
}

.hero .container { position: relative; z-index: 10; }

.gradient-text { 
    background: linear-gradient(90deg, #fff, var(--primary), #fff); 
    background-size: 200% auto;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite, textGlow 3s infinite alternate ease-in-out;
    filter: drop-shadow(0 0 15px rgba(0, 255, 157, 0.3));
}

@keyframes textGlow {
    0% { filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.4)); }
    100% { filter: drop-shadow(0 0 30px rgba(0, 255, 157, 0.8)) drop-shadow(0 0 50px rgba(0, 255, 157, 0.4)); }
}

@keyframes textShine { to { background-position: 200% center; } }

/* Celestial Body (Planet) */
.celestial-planet {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, #0a1a2a 0%, #02040a 100%);
    border-radius: 50%;
    top: -50px;
    right: -100px;
    z-index: 1;
    box-shadow: 
        inset -20px -20px 60px rgba(0,0,0,0.9),
        0 0 80px rgba(0, 243, 255, 0.15);
    pointer-events: none;
    opacity: 0.8;
}
.celestial-planet::after {
    content: ''; position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 75%);
    z-index: -1;
    filter: blur(20px);
}

/* Secondary Celestial Body (Distant Planet) */
.celestial-planet-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 70% 70%, #1a0a2a 0%, #02040a 100%);
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
    z-index: 1;
    box-shadow: 
        inset 10px 10px 40px rgba(0,0,0,0.8),
        0 0 50px rgba(112, 0, 255, 0.1);
    pointer-events: none;
    opacity: 0.6;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 0.8; transform: scale(1.2); }
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 25px; font-weight: 900; }
.hero p { font-size: clamp(1rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 800px; margin: 0 auto 45px; }
.hero-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 60px; }

/* --- BUTTONS --- */
.btn { padding: 12px 35px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: 0.4s; display: inline-block; cursor: pointer; border: none; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-family: 'Rajdhani', sans-serif; text-align: center; }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: #000 !important; box-shadow: 0 0 20px rgba(0, 243, 255, 0.2); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 40px rgba(0, 243, 255, 0.5); color: #000 !important; }
.btn-outline { color: #fff !important; border: 1px solid rgba(255,255,255,0.2) !important; background: transparent; }
.btn-outline:hover { background: #fff !important; color: #000 !important; transform: translateY(-3px); }

/* --- TOGGLE & MOCKUP --- */
.toggle-switch { display: flex; justify-content: center; gap: 10px; margin: 40px auto; background: rgba(255,255,255,0.03); padding: 8px; border-radius: 50px; width: fit-content; border: var(--border); }
.toggle-btn { background: transparent; border: none; color: var(--text-muted); padding: 10px 30px; border-radius: 50px; cursor: pointer; transition: 0.4s; font-family: 'Outfit'; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; }
.toggle-btn.active { background: var(--primary); color: #000; box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); }

.browser-mockup { background: #050505; border-radius: 16px; border: var(--border); box-shadow: 0 50px 100px rgba(0,0,0,0.9); overflow: hidden; position: relative; border-color: rgba(0, 243, 255, 0.2); max-width: 1000px; margin: 0 auto; }
.browser-header { background: #111; padding: 15px 25px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #222; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.mockup-url { background: #1a1a1a; padding: 5px 30px; border-radius: 6px; font-size: 0.7rem; color: #444; font-family: 'JetBrains Mono'; margin-left: auto; }

.showcase-wrapper { margin: 60px auto 0; position: relative; max-width: 1000px; }
.screenshot-img, .slide-content { width: 100%; display: none; opacity: 0; }
.screenshot-img.active, .slide-content.active { display: block; opacity: 1; animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards; }

/* --- PREMIUM CARDS (Restored Design) --- */
.f-grid, .p-grid, .blog-grid, .tactical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; padding: 60px 0; }

.f-card, .p-card, .blog-card, .t-card { 
    background: var(--glass); 
    border: var(--border); 
    padding: 45px; 
    border-radius: 24px; 
    backdrop-filter: blur(15px); 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative;
    overflow: hidden;
}

/* Hover Effect - The Glow */
.f-card:hover, .p-card:hover, .blog-card:hover, .t-card:hover { 
    transform: translateY(-15px); 
    background: var(--glass-hover);
    border-color: var(--primary); 
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.15); 
}

/* Icons within Cards */
.f-icon, .t-card i { 
    font-size: 3.5rem; 
    color: var(--primary); 
    margin-bottom: 25px; 
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.3));
    transition: 0.4s;
}
.f-card:hover .f-icon, .t-card:hover i { transform: scale(1.1); filter: drop-shadow(0 0 25px rgba(0, 243, 255, 0.6)); }

/* Typography in Cards */
.f-card h3, .t-card h3, .p-card h3 { 
    font-size: 1.6rem; 
    margin-bottom: 15px; 
    color: #fff; 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.f-card p, .t-card p, .p-card p { 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.7; 
}

/* --- PRICING SPECIFIC --- */
.p-card.featured { border-color: var(--primary); box-shadow: 0 0 40px rgba(0, 243, 255, 0.1); background: rgba(0, 243, 255, 0.02); }
.badge-pop {
    position: absolute; top: 20px; right: -30px;
    background: var(--primary); color: #000;
    padding: 5px 40px; transform: rotate(45deg);
    font-size: 0.7rem; font-weight: 900; letter-spacing: 1px;
    z-index: 10;
}
.price { font-size: 4rem; font-weight: 900; color: #fff; margin-bottom: 10px; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }
.feature-list { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.feature-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.03); color: #ccc; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.feature-list li i { color: #00ff9d; font-size: 0.9rem; }

.btn-buy {
    width: 100%; padding: 18px;
    background: var(--primary); color: #000 !important;
    font-weight: 900; text-decoration: none; display: inline-block;
    transition: 0.4s; letter-spacing: 2px; text-transform: uppercase;
    border: none; cursor: pointer; text-align: center;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    font-family: 'Rajdhani'; font-size: 1.1rem;
    position: relative;
    animation: pulseGlow 2s infinite;
}
.btn-buy:hover { 
    background: #fff;
    box-shadow: 0 0 50px var(--primary); 
    transform: scale(1.05) skewX(-2deg);
    letter-spacing: 3px;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 243, 255, 0.6); }
    100% { box-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }
}

/* Comparison Table */
.comp-table { width: 100%; border-collapse: collapse; margin-top: 50px; background: rgba(255,255,255,0.01); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); }
.comp-table th { padding: 25px; background: rgba(255,255,255,0.03); text-align: left; color: var(--primary); font-family: 'Rajdhani'; font-size: 1.2rem; }
.comp-table td { padding: 20px 25px; border-top: 1px solid rgba(255,255,255,0.03); color: var(--text-muted); font-size: 0.95rem; }
.comp-table tr:hover td { color: #fff; background: rgba(255,255,255,0.01); }

/* --- BLOG SPECIFIC --- */
.blog-card { padding: 0 !important; display: flex; flex-direction: column; height: 100%; }
.blog-img { width: 100%; height: 220px; background: #111; position: relative; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.1); opacity: 1; }
.blog-content { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.category-badge {
    position: absolute; top: 20px; left: 20px;
    background: var(--primary); color: #000;
    padding: 5px 15px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 900; text-transform: uppercase;
    z-index: 5;
}

.blog-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.03); padding-top: 20px; margin-top: auto; }
.blog-date { color: #444; font-family: 'JetBrains Mono'; font-size: 0.75rem; }
.read-btn { color: var(--primary); text-decoration: none; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.read-btn:hover { text-shadow: 0 0 10px var(--primary); }

/* --- VISION & STATS --- */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 80px 0; }
.vision-content h2 { font-family: 'Rajdhani'; font-size: 2.5rem; color: #fff; margin-bottom: 25px; border-left: 4px solid var(--primary); padding-left: 20px; }
.vision-content p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }

.stats-container { 
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; 
    background: rgba(0, 243, 255, 0.03); border: var(--border); border-color: rgba(0, 243, 255, 0.1);
    padding: 60px 40px; border-radius: 30px; margin-top: 80px; text-align: center;
}
.stat-node div:first-child { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900; color: #fff; font-family: 'JetBrains Mono'; line-height: 1; margin-bottom: 10px; }
.stat-node div:last-child { color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .f-grid, .p-grid, .blog-grid { gap: 30px; }
    .vision-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .vision-content h2 { border-left: none; border-bottom: 4px solid var(--primary); padding-left: 0; padding-bottom: 15px; display: inline-block; }
}
/* --- COMMUNITY HUB --- */
.comm-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 40px; }
.topic-card { 
    background: var(--glass); border: var(--border); border-radius: 12px; padding: 25px; margin-bottom: 20px; 
    display: grid; grid-template-columns: 60px 1fr 150px; gap: 20px; align-items: center;
    transition: 0.3s; position: relative; overflow: hidden;
}
.topic-card:hover { border-color: var(--primary); background: var(--glass-hover); transform: translateX(5px); }
.topic-card.pinned { border-left: 4px solid var(--primary); background: rgba(0, 243, 255, 0.03); }

.vote-node { text-align: center; border-right: 1px solid rgba(255,255,255,0.05); }
.vote-count { font-family: 'JetBrains Mono'; font-weight: 900; color: var(--primary); font-size: 1.4rem; display: block; text-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }
.vote-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.topic-info h3 { font-family: 'Rajdhani'; font-size: 1.4rem; margin-bottom: 8px; }
.topic-info h3 a { color: #fff; text-decoration: none; transition: 0.2s; }
.topic-info h3 a:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary); }
.meta-data { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-family: 'JetBrains Mono'; }
.meta-data span { color: var(--primary); margin-right: 10px; font-weight: bold; }

.cat-badge { padding: 3px 10px; border-radius: 4px; font-size: 0.6rem; font-weight: 900; text-transform: uppercase; margin-left: 10px; vertical-align: middle; }
.cat-request { background: rgba(112, 0, 255, 0.1); color: #7000ff; border: 1px solid #7000ff; }
.cat-guide { background: rgba(0, 255, 157, 0.1); color: var(--accent); border: 1px solid var(--accent); }
.cat-showcase { background: rgba(255, 242, 0, 0.1); color: #fff200; border: 1px solid #fff200; }
.rank-tag { font-size: 0.65rem; color: var(--accent); border: 1px solid var(--accent); padding: 1px 6px; border-radius: 3px; margin-left: 8px; background: rgba(0, 255, 157, 0.05); }

.comm-sidebar h4 { font-family: 'Rajdhani'; color: #fff; font-size: 1rem; letter-spacing: 2px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; font-weight: 800; }
.stat-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 25px; border-radius: 12px; margin-bottom: 25px; transition: 0.3s; }
.stat-box:hover { border-color: var(--primary); background: rgba(0, 243, 255, 0.02); }
.stat-val { font-size: 2rem; font-weight: 900; color: #fff; display: block; margin-bottom: 5px; }
.stat-lbl { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.pulse-node { margin-bottom: 20px; border-left: 2px solid var(--primary); padding-left: 15px; font-family: 'JetBrains Mono'; font-size: 0.85rem; }
.pulse-time { color: var(--text-muted); font-size: 0.75rem; margin-bottom: 5px; display: block; }
.pulse-msg { color: #fff; line-height: 1.4; }
.pulse-msg span { color: var(--primary); font-weight: bold; }

.btn-transmit { 
    width: 100%; padding: 15px; background: var(--primary); color: #000 !important; 
    font-weight: 900; text-decoration: none; display: block; text-align: center;
    border-radius: 6px; font-family: 'Rajdhani'; letter-spacing: 1px; margin-bottom: 30px;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%); transition: 0.3s; border: none; cursor: pointer;
}
.btn-transmit:hover { box-shadow: 0 0 20px var(--primary); transform: scale(1.02); }

@media (max-width: 768px) {
    .comm-layout { grid-template-columns: 1fr; }
    .topic-card { grid-template-columns: 50px 1fr; gap: 15px; }
    .topic-card div:last-child { display: none; }
}

/* --- COMPARISON MATRIX --- */
.radar-container { position: relative; padding: 40px 0; background: radial-gradient(circle at center, rgba(0, 243, 255, 0.08) 0%, transparent 70%); border-bottom: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; }
.radar-line { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent); animation: scan 4s linear infinite; }
@keyframes scan { 0% { left: -100%; } 100% { left: 100%; } }

.matrix-table { width: 100%; border-collapse: separate; border-spacing: 0 15px; margin-top: 40px; }
.matrix-table th { padding: 30px; text-align: center; font-family: 'Rajdhani'; font-size: 1.4rem; color: #fff; text-transform: uppercase; }
.matrix-table td { padding: 25px; text-align: center; background: rgba(255,255,255,0.02); color: #888; font-size: 1.1rem; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.matrix-table td:first-child { border-left: 1px solid rgba(255,255,255,0.05); border-radius: 15px 0 0 15px; text-align: left; padding-left: 40px; color: #ccc; font-weight: bold; width: 40%; }
.matrix-table td:last-child { border-right: 1px solid rgba(255,255,255,0.05); border-radius: 0 15px 15px 0; }

.booston-col { background: rgba(0, 243, 255, 0.05) !important; color: var(--primary) !important; font-weight: 900; border-color: rgba(0, 243, 255, 0.2) !important; }

.savings-box { 
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(0, 243, 255, 0.1); 
    border-radius: 30px; padding: 60px; margin: 80px 0; text-align: center; position: relative; 
}
.savings-box::before { 
    content: 'ECONOMY_ANALYSIS'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); 
    background: #000; padding: 0 20px; font-family: 'JetBrains Mono'; font-size: 0.7rem; color: var(--primary); 
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.savings-val { font-size: clamp(3rem, 5vw, 5rem); font-weight: 900; color: #00ff9d; font-family: 'JetBrains Mono'; line-height: 1; }

.tactical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.t-card { 
    background: var(--glass); border: var(--border); padding: 45px; border-radius: 25px; 
    transition: 0.4s; position: relative; overflow: hidden; 
}
.t-card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 10px 40px rgba(0, 243, 255, 0.1); }
.t-card i { font-size: 3.5rem; color: var(--primary); margin-bottom: 30px; display: block; filter: drop-shadow(0 0 10px var(--primary)); }

.pulse-dot { width: 10px; height: 10px; background: #00ff9d; border-radius: 50%; display: inline-block; margin-right: 10px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; gap: 30px; }
    .matrix-table td:first-child { padding-left: 20px; font-size: 0.9rem; }
    .matrix-table td { font-size: 0.8rem; padding: 15px; }
    .savings-box { padding: 30px; }
    .hero { padding-top: 120px; }
    .f-grid, .p-grid, .blog-grid, .tactical-grid { grid-template-columns: 1fr; gap: 25px; padding: 40px 0; }
    .f-card, .p-card, .t-card { padding: 30px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns a { width: 100%; text-align: center; }
}

/* --- DEVELOPER PORTAL --- */
.dev-layout { display: grid; grid-template-columns: 280px 1fr; gap: 50px; margin: 60px 0; }
.dev-nav { position: sticky; top: 120px; height: fit-content; text-align: left; }
.dev-nav h4 { font-family: 'Rajdhani'; color: #fff; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 20px; opacity: 0.5; }
.dev-link { display: block; padding: 12px 0; color: #666; text-decoration: none; font-size: 0.9rem; font-family: 'JetBrains Mono'; transition: 0.3s; border-bottom: 1px solid rgba(255,255,255,0.03); }
.dev-link:hover, .dev-link.active { color: var(--primary); padding-left: 10px; }
.dev-link span { font-size: 0.7rem; opacity: 0.5; margin-right: 10px; }

.api-card { background: var(--glass); border: var(--border); border-radius: 12px; padding: 30px; margin-bottom: 30px; text-align: left; }
.api-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.method { padding: 4px 12px; border-radius: 4px; font-weight: 900; font-size: 0.75rem; font-family: 'JetBrains Mono'; }
.method.get { background: rgba(0, 255, 157, 0.1); color: #00ff9d; }
.method.post { background: rgba(0, 243, 255, 0.1); color: var(--primary); }
.endpoint { font-family: 'JetBrains Mono'; color: #fff; font-size: 1.1rem; }

.code-terminal { background: #050505; border: 1px solid #111; border-radius: 8px; overflow: hidden; margin-top: 25px; text-align: left; }
.term-tabs { display: flex; background: #111; border-bottom: 1px solid #222; }
.term-tab { padding: 10px 20px; font-size: 0.7rem; color: #555; cursor: pointer; font-family: 'JetBrains Mono'; transition: 0.3s; }
.term-tab.active { background: #050505; color: var(--primary); border-bottom: 2px solid var(--primary); }
.term-body { padding: 25px; position: relative; }
.term-body pre { margin: 0; font-family: 'JetBrains Mono'; font-size: 0.85rem; color: #00ff9d; overflow-x: auto; }
.copy-icon { position: absolute; top: 20px; right: 20px; color: #333; cursor: pointer; transition: 0.3s; }
.copy-icon:hover { color: var(--primary); }

.param-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.param-table th { text-align: left; padding: 15px; color: #444; border-bottom: 1px solid #111; text-transform: uppercase; font-size: 0.7rem; }
.param-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.02); color: #888; }
.param-table code { color: var(--primary); background: rgba(0, 243, 255, 0.05); padding: 2px 6px; border-radius: 4px; }

/* --- SOLUTIONS PAGES --- */
.problem-solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 80px 0; }
.card-problem, .card-solution { padding: 40px; border-radius: 24px; text-align: left; }
.card-problem { background: rgba(255, 23, 68, 0.05); border: 1px solid rgba(255, 23, 68, 0.2); }
.card-solution { background: rgba(0, 255, 157, 0.05); border: 1px solid rgba(0, 255, 157, 0.2); }
.card-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.card-icon { font-size: 2.5rem; }
.card-problem .card-icon { color: #ff1744; }
.card-solution .card-icon { color: #00ff9d; }

.tech-detail { font-family: 'JetBrains Mono', monospace; background: rgba(0,0,0,0.3); color: #888; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; margin-top: 10px; display: inline-block; }

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: 0.4s; }
.slider-dot.active { background: #00ff9d; box-shadow: 0 0 10px #00ff9d; transform: scale(1.2); }

.comparison-table { width: 100%; border-collapse: collapse; text-align: center; margin: 40px 0; }
.comparison-table th, .comparison-table td { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.comparison-table th { color: #fff; font-size: 1.2rem; font-family: 'Rajdhani'; }
.comparison-table td:first-child { text-align: left; font-weight: 700; color: #ccc; }
.check-mark { color: #00ff9d; font-size: 1.5rem; }
.cross-mark { color: #ff1744; font-size: 1.5rem; }

/* --- MULTI-SERVER SOLUTIONS --- */
.demo-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 60px 0; }
.demo-panel { background: var(--glass); border: var(--border); border-radius: 24px; padding: 40px; backdrop-filter: blur(15px); text-align: left; }
.switcher { display: flex; flex-direction: column; gap: 15px; }
.switcher-item { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 12px; border: 1px solid transparent; transition: all 0.3s ease; }
.switcher-item.active { background: rgba(0, 243, 255, 0.1); border-color: var(--primary); box-shadow: 0 0 20px rgba(0, 243, 255, 0.1); }
.switcher-item.active .item-name, .switcher-item.active i { color: var(--primary); }
.item-name { font-weight: 700; font-size: 1.1rem; }

.switch-btn { background: #333; color: #fff; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 700; transition: 0.3s; }
.switch-btn.active { background: var(--primary); color: #000; }

.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; align-items: center; text-align: center; margin: 60px 0; }
.flow-step { position: relative; }
.flow-icon { width: 80px; height: 80px; background: rgba(255,255,255,0.05); border: var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); margin: 0 auto 15px; }
.flow-arrow { position: absolute; top: 35px; left: 100%; color: var(--secondary); font-size: 2rem; transform: translateX(-50%); }

.use-case-card { background: var(--glass); border: var(--border); border-radius: 24px; padding: 40px; backdrop-filter: blur(10px); text-align: center; transition: 0.4s; }
.use-case-card:hover { transform: translateY(-10px); border-color: var(--secondary); box-shadow: 0 0 40px rgba(112, 0, 255, 0.2); }

/* --- SYSTEM STATUS --- */
.status-matrix { padding: 100px 0; background: #000; min-height: 100vh; position: relative; overflow: hidden; text-align: center; }
.pulse-container { margin-bottom: 80px; }
.pulse-circle {
    width: 15px; height: 15px; background: #00ff9d; border-radius: 50%;
    display: inline-block; margin-right: 15px;
    box-shadow: 0 0 20px #00ff9d;
    animation: pulseShadow 2s infinite;
    vertical-align: middle;
}
.status-msg { font-family: 'Rajdhani'; font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: 2px; vertical-align: middle; }

.node-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.node-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 12px; padding: 30px; position: relative; overflow: hidden; transition: 0.3s;
    text-align: left;
}
.node-card:hover { border-color: var(--primary); background: rgba(0, 243, 255, 0.02); }

.loading-bar { width: 100%; height: 2px; background: #111; margin-top: 15px; position: relative; overflow: hidden; }
.loading-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--primary); animation: loadNode 3s infinite; }
@keyframes loadNode { 0% { width: 0%; left: -100%; } 50% { width: 50%; left: 25%; } 100% { width: 0%; left: 100%; } }

.incident-terminal {
    max-width: 900px; margin: 80px auto; background: #050505; border: 1px solid #111;
    border-radius: 8px; overflow: hidden; font-family: 'JetBrains Mono';
}
.term-header { padding: 10px 20px; background: #111; font-size: 0.7rem; color: #444; display: flex; justify-content: space-between; }
.term-body { padding: 30px; color: #555; font-size: 0.85rem; line-height: 1.8; text-align: left; }
.term-line { margin-bottom: 10px; }
.term-line span { color: #00ff9d; margin-right: 10px; }

@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0, 255, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

/* --- SECURITY SPECIFIC --- */
.scanner-box { position: relative; width: clamp(150px, 20vw, 200px); height: clamp(150px, 20vw, 200px); margin: 0 auto 40px; border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 50px rgba(0, 255, 157, 0.2); }
.scanner-box i { font-size: clamp(3.5rem, 5vw, 5rem); color: var(--accent); }
.scanner-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); box-shadow: 0 0 15px var(--accent); animation: scanMove 3s infinite linear; }
@keyframes scanMove { 0% { top: 0; opacity: 0; } 50% { top: 100%; opacity: 1; } 100% { top: 0; opacity: 0; } }

.isolation-box { 
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1) 0%, rgba(2, 4, 10, 1) 100%); 
    border: 1px solid rgba(112, 0, 255, 0.3); padding: 80px 40px; border-radius: 40px; 
    margin: 80px 0; text-align: center; position: relative; overflow: hidden; 
}
.check-v { color: var(--accent) !important; }
.cross-x { color: #ff4757 !important; }

.sec-card { border-left: 4px solid transparent; text-align: left; }
.sec-card:hover { border-left-color: var(--accent) !important; }

@media (max-width: 768px) {
    .isolation-box { padding: 40px 20px; border-radius: 20px; }
}

/* --- MIGRATION ENGINE --- */
.hero-migration { padding: 100px 0 60px; text-align: center; position: relative; }
.neural-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%); z-index: -1; }

@media (max-width: 768px) {
    .hero-migration { padding: 80px 0 40px; }
}
.mig-tabs-nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; }
.tab-trigger { background: rgba(255,255,255,0.03); border: var(--border); color: var(--text-muted); padding: 15px 40px; border-radius: 12px; cursor: pointer; font-weight: 700; transition: 0.4s; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.tab-trigger.active { background: var(--primary); color: #000; box-shadow: 0 0 30px rgba(0, 243, 255, 0.3); border-color: var(--primary); }

.mig-tab-content { display: none; animation: fadeIn 0.5s ease; }
.mig-tab-content.active { display: block; }

.engine-feature { display: flex; gap: 40px; align-items: center; background: #0a0f1a; border: var(--border); padding: 50px; border-radius: 30px; margin-bottom: 40px; text-align: left; }
.engine-feature:nth-child(even) { flex-direction: row-reverse; }
.engine-icon { width: 80px; height: 80px; background: rgba(0, 243, 255, 0.1); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--primary); flex-shrink: 0; box-shadow: 0 0 30px rgba(0, 243, 255, 0.1); }
.engine-text h3 { font-size: 1.8rem; margin-bottom: 15px; color: #fff; font-family: 'Rajdhani'; }
.engine-text p { color: #94a3b8; font-size: 1.1rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
    .engine-feature { flex-direction: column !important; padding: 30px; text-align: center; }
    .mig-tabs-nav { flex-direction: column; }
}

/* --- RESOURCE CONTROL SOLUTIONS --- */
.hero-resource-control { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.core-animation { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; z-index: -1; opacity: 0.5; }

@media (max-width: 768px) {
    .hero-resource-control { padding: 80px 0; }
}

/* --- SECURITY HERO SECTION --- */
.hero-security { padding: 120px 0 80px; text-align: center; position: relative; overflow: hidden; }
.shield-aura { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(0, 255, 157, 0.05) 0%, transparent 70%); z-index: -1; }

@media (max-width: 768px) {
    .hero-security { padding: 80px 0 60px; }
}

@keyframes blink { 50% { opacity: 0; } }

/* --- LEGAL PAGES --- */
.legal-matrix { padding: 120px 0; background: #02040a; min-height: 100vh; text-align: left; }
.legal-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.legal-header { margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 30px; }
.legal-header h1 { font-family: 'Rajdhani'; font-size: 3rem; color: #fff; text-transform: uppercase; letter-spacing: 2px; }
.legal-header p { font-family: 'JetBrains Mono'; color: var(--primary); font-size: 0.85rem; }
.legal-content { color: #94a3b8; font-size: 1.05rem; line-height: 1.8; }
.legal-section { margin-bottom: 50px; }
.legal-section h2 { font-family: 'Rajdhani'; color: #fff; font-size: 1.8rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.legal-section ul { margin-bottom: 20px; padding-left: 20px; }
.legal-section li { margin-bottom: 10px; color: #64748b; }
.accent-text { color: var(--primary); font-weight: bold; }

@media (max-width: 768px) {
    .legal-matrix { padding: 80px 0; }
    .legal-header h1 { font-size: 2.2rem; }
    .legal-section h2 { font-size: 1.5rem; }
}