/* --- VARS --- */
:root {
    --bg-deep: #050507;
    --tech-color: #3B82F6;
    --mkt-color: #F43F5E;
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #94A3B8;
    --font-head: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg-deep); color: var(--text-main); font-family: var(--font-head); overflow-x: hidden; line-height: 1.6; }

/* --- DYNAMIC BACKGROUND --- */
.synapse-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2;
    background: radial-gradient(circle at 0% 0%, rgba(59,130,246,0.05), transparent 40%),
                radial-gradient(circle at 100% 100%, rgba(244,63,94,0.05), transparent 40%);
}
.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

/* --- NAVBAR --- */
.navbar { position: fixed; width: 100%; top: 0; padding: 25px 0; z-index: 100; backdrop-filter: blur(10px); background: rgba(5,5,7,0.7); border-bottom: 1px solid var(--glass-border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 35px; filter: invert(1); }
.nav-cta { 
    background: white; color: black; padding: 10px 24px; border-radius: 50px; 
    font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: 0.3s; 
}
.nav-cta:hover { transform: scale(1.05); }

/* --- HERO --- */
.hero { padding: 180px 0 120px 0; min-height: 90vh; display: flex; align-items: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.hero-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }

h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 30px; font-weight: 700; letter-spacing: -2px; }
.gradient-text {
    background: linear-gradient(90deg, var(--mkt-color), #fff, var(--tech-color));
    background-size: 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: flow 5s infinite linear;
}
@keyframes flow { 0% { background-position: 0%; } 100% { background-position: 200%; } }

.lead { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 40px; max-width: 550px; }
.tag { 
    display: inline-block; padding: 5px 12px; border-radius: 4px; 
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); 
    font-family: var(--font-mono); font-size: 0.75rem; margin-bottom: 25px; letter-spacing: 1px; color: var(--mkt-color);
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(90deg, var(--mkt-color), var(--tech-color));
    color: white; padding: 18px 40px; border-radius: 8px; text-decoration: none;
    font-weight: 700; transition: 0.3s; position: relative; overflow: hidden;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3);
    border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4); }

/* --- VISUAL ANIMATION (The Bridge) --- */
.visual-box { position: relative; height: 400px; display: flex; justify-content: center; align-items: center; }
.bridge-circle {
    position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
    animation: pulse 4s infinite;
}
.c1 { width: 300px; height: 300px; border-color: var(--mkt-color); animation-delay: 0s; }
.c2 { width: 300px; height: 300px; border-color: var(--tech-color); animation-delay: 2s; margin-left: 100px; }
.data-stream {
    position: absolute; width: 200px; height: 2px; background: white;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 0 20px white;
    z-index: 2;
}
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.5; } }

/* --- VALUE PROPS & CSS CHICKENS --- */
.section { padding: 120px 0; border-top: 1px solid var(--glass-border); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

.card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border);
    padding: 40px; border-radius: 16px; transition: 0.3s;
    position: relative; overflow: hidden;
}
.card:hover { border-color: var(--tech-color); background: rgba(255,255,255,0.04); }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 1rem; }

/* === CHICKEN CSS ART START === */
.icon-stage {
    width: 100px; height: 100px; margin-bottom: 25px;
    position: relative; display: flex; justify-content: center; align-items: center;
}

/* Shared Chicken Parts */
.chicken-wrapper { position: relative; width: 80px; height: 80px; }
.c-body {
    position: absolute; bottom: 15px; left: 15px; width: 40px; height: 35px;
    background: white; border-radius: 0 0 40px 40px; z-index: 2;
}
.c-head {
    position: absolute; top: 15px; left: 18px; width: 28px; height: 28px;
    background: white; border-radius: 50%; z-index: 3;
}
.c-comb {
    position: absolute; top: -8px; left: 8px; width: 8px; height: 8px;
    background: var(--mkt-color); border-radius: 50%;
    box-shadow: 6px 2px 0 var(--mkt-color), -4px 4px 0 var(--mkt-color);
}
.c-beak {
    position: absolute; top: 10px; right: -6px; width: 0; height: 0;
    border-left: 8px solid #F59E0B; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.c-eye {
    position: absolute; top: 8px; right: 6px; width: 4px; height: 4px; background: black; border-radius: 50%;
}
.c-leg {
    position: absolute; bottom: 0px; width: 4px; height: 18px; background: #F59E0B; z-index: 1;
}
.l1 { left: 25px; } .l2 { left: 35px; }
.c-wing {
    position: absolute; top: 15px; left: -5px; width: 20px; height: 18px;
    background: #e2e8f0; border-radius: 50% 50% 0 0; transform-origin: top right; z-index: 4;
}

/* 1. MARKETING CHICKEN (DANCING) */
.chk-mkt .chicken-wrapper { animation: chicken-bounce 0.6s infinite alternate cubic-bezier(0.5, 0.05, 1, 0.5); }
.chk-mkt .c-wing { animation: chicken-flap 0.3s infinite alternate; }
.chk-mkt .c-leg { animation: chicken-leg-kick 0.6s infinite alternate; }

@keyframes chicken-bounce { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-10px) rotate(5deg); } }
@keyframes chicken-flap { from { transform: rotate(0deg); } to { transform: rotate(-40deg); } }
@keyframes chicken-leg-kick { from { height: 18px; transform: rotate(0deg); } to { height: 14px; transform: rotate(20deg); } }

/* 2. TECH CHICKEN (GEEK GLASSES) */
.chk-tech .c-head::after {
    content: ''; position: absolute; top: 7px; right: -2px; width: 18px; height: 6px;
    border: 2px solid var(--tech-color); border-radius: 2px;
    background: rgba(59, 130, 246, 0.2); z-index: 10;
}
.chk-tech .c-head::before {
    content: ''; position: absolute; top: 9px; right: 7px; width: 4px; height: 2px; background: var(--tech-color); z-index: 10;
}
.chk-tech .chicken-wrapper { animation: chicken-float 3s infinite ease-in-out; }
@keyframes chicken-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 3. MONEY CHICKEN (COUNTING CASH) */
.chk-money .c-wing { animation: chicken-deal 0.5s infinite; }
.bill {
    position: absolute; width: 16px; height: 8px; background: #10B981;
    border: 1px solid #059669; opacity: 0; z-index: 5; border-radius: 1px;
}
.b1 { top: 40px; left: 45px; animation: money-rain 1.5s infinite linear; }
.b2 { top: 40px; left: 45px; animation: money-rain 1.5s infinite linear 0.5s; }
.b3 { top: 40px; left: 45px; animation: money-rain 1.5s infinite linear 1.0s; }

@keyframes money-rain {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(25px, 20px) rotate(120deg); opacity: 0; }
}
@keyframes chicken-deal { 0% { transform: rotate(0deg); } 50% { transform: rotate(-30deg); } 100% { transform: rotate(0deg); } }
/* === CHICKEN CSS ART END === */

/* --- MANIFESTO --- */
.manifesto { text-align: center; max-width: 800px; margin: 0 auto; }
.manifesto h2 { font-size: 3rem; margin-bottom: 30px; }
.highlight { color: var(--text-main); font-weight: 700; border-bottom: 1px dashed var(--tech-color); }

/* --- SERVICES SECTION STYLES --- */
.service-container { position: relative; }
.service-head { text-align: center; margin-bottom: 60px; }
.service-head h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.service-head p { color: var(--text-muted); }

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

.service-card {
    background: #0A0A0E; border: 1px solid #222;
    padding: 40px; border-radius: 12px;
    position: relative; transition: all 0.3s ease;
    display: flex; flex-direction: column; justify-content: space-between;
}
.service-card:hover { 
    transform: translateY(-5px); border-color: var(--mkt-color); 
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}

.sc-num { font-family: var(--font-mono); color: var(--mkt-color); font-size: 0.8rem; margin-bottom: 20px; display: block; letter-spacing: 1px;}
.sc-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; }
.sc-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; line-height: 1.6; }

.sc-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-tag { 
    font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; 
    background: rgba(255,255,255,0.05); color: #ccc; font-family: var(--font-mono);
}

/* --- FLAGSHIP CARD --- */
.flagship-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(244,63,94,0.05));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.flagship-card:hover { border-color: white; }
.flagship-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--mkt-color), var(--tech-color));
}

.fs-content h3 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.fs-content .tag { margin-bottom: 15px; border-color: var(--tech-color); color: var(--tech-color); }
.fs-content p { color: #ccc; font-size: 1.1rem; max-width: 600px; }

.btn-outline {
    padding: 15px 30px; border: 1px solid white; color: white; border-radius: 50px;
    text-decoration: none; font-weight: 700; transition: 0.3s; white-space: nowrap;
}
.btn-outline:hover { background: white; color: black; }

@media(max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; text-align: left; }
    h1 { font-size: 3rem; }
    .c2 { margin-left: 50px; }
    .flagship-card { flex-direction: column; text-align: left; align-items: flex-start; }
}

/* --- FOOTER --- */
footer { padding: 80px 0; border-top: 1px solid var(--glass-border); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-link { color: var(--text-muted); cursor: pointer; transition: 0.3s; border-bottom: 1px dotted #555; }
.footer-link:hover { color: white; border-color: var(--mkt-color); }

/* --- FLOATING BTN --- */
.book-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 70px; height: 70px;
    background: rgba(5, 5, 7, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    cursor: pointer; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float-btn 6s infinite ease-in-out;
}
.book-float:hover { transform: scale(1.1); box-shadow: 0 0 50px rgba(244, 63, 94, 0.5); }

.css-rooster {
    width: 35px; height: 35px;
    background: linear-gradient(135deg, var(--mkt-color), var(--tech-color));
    clip-path: polygon(20% 100%, 0% 40%, 30% 0%, 60% 30%, 80% 0%, 100% 40%, 80% 100%);
}

@keyframes float-btn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

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

.book-card {
    background: #0A0A0E; border: 1px solid var(--glass-border);
    padding: 40px; border-radius: 20px; width: 100%; max-width: 450px;
    position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: translateY(50px); transition: transform 0.3s;
}
.modal-active .book-card { transform: translateY(0); }

.close-btn { position: absolute; top: 15px; right: 20px; color: #666; font-size: 1.5rem; cursor: pointer; }
.close-btn:hover { color: white; }

.time-feedback { margin-top: 10px; font-size: 0.85rem; padding: 10px; border-radius: 6px; display: none; }
.tf-error { background: rgba(244, 63, 94, 0.1); color: #F43F5E; border: 1px solid rgba(244, 63, 94, 0.3); }
.tf-success { background: rgba(16, 185, 129, 0.1); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }

.modal-input {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid #333;
    padding: 12px; border-radius: 8px; color: white; margin-bottom: 15px; font-family: var(--font-head);
    transition: 0.3s;
}
.modal-input:focus { border-color: var(--tech-color); background: rgba(255,255,255,0.1); outline: none; }
input[type="datetime-local"] { cursor: pointer; }

/* --- SUCCESS MODAL STYLES --- */
.success-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
    z-index: 20000; display: none;
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.5s;
}
.success-card {
    text-align: center;
    transform: scale(0.9); transition: transform 0.5s;
}
.success-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.success-title { font-size: 2rem; font-weight: 700; color: white; margin-bottom: 10px; }
.success-msg { color: #aaa; margin-bottom: 20px; }
.countdown { font-family: var(--font-mono); color: var(--tech-color); font-weight: 700; }