:root {
    --bg-primary: #0a0a0f;
    --bg-card: rgba(255,255,255,0.03);
    --border-subtle: rgba(255,255,255,0.06);
    --green: #00b894;
    --green-hover: #00a381;
    --red: #e74c3c;
    --text-primary: #e0e0e0;
    --text-secondary: #999;
    --text-heading: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(0,184,148,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,184,148,0.6); }
* { scrollbar-width: thin; scrollbar-color: rgba(0,184,148,0.3) var(--bg-primary); }

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-top-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--green); color: #fff;
    border: none; cursor: pointer; font-size: 1.2rem;
    z-index: 997; opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0,184,148,0.3);
    display: flex; align-items: center; justify-content: center;
}
.scroll-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--green-hover); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,184,148,0.4); }
.scroll-top-label { display: none; font-size: 0.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 900px) {
    .scroll-top-btn { width: 52px; height: 52px; bottom: 80px; flex-direction: column; gap: 2px; }
    .scroll-top-btn i { font-size: 1rem; }
    .scroll-top-label { display: block; }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0; transition: all 0.3s ease;
}
.navbar.scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.navbar .container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
    font-size: 1.3rem; font-weight: 700; color: #fff;
    text-decoration: none; letter-spacing: -0.5px; cursor: pointer;
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
    color: #aaa; text-decoration: none; font-size: 0.85rem;
    font-weight: 500; transition: color 0.2s; letter-spacing: 0.3px; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta {
    background: var(--green); color: #fff !important;
    padding: 8px 18px; border-radius: 25px; font-weight: 600;
    transition: all 0.3s ease; cursor: pointer;
}
.nav-cta:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,184,148,0.3); }

/* ========== MOBILE MENU ========== */
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 1001; padding: 8px; }
.mobile-menu-btn:hover { color: var(--green); }
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu-overlay.active { display: block; opacity: 1; }
.mobile-menu-panel {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(10, 10, 15, 0.98); backdrop-filter: blur(30px);
    z-index: 999; padding: 90px 32px 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255,255,255,0.05); overflow-y: auto;
}
.mobile-menu-panel.active { right: 0; }
.mobile-menu-panel a { display: block; color: #ccc; text-decoration: none; padding: 14px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: color 0.2s; }
.mobile-menu-panel a:hover { color: var(--green); }
.mobile-menu-panel .mobile-cta { color: var(--green) !important; font-weight: 600; margin-top: 12px; border-bottom: none !important; }

/* ========== AVAILABILITY BADGE ========== */
.availability-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.65rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; letter-spacing: 0.3px; }
.availability-badge.available { background: rgba(0,184,148,0.12); color: var(--green); border: 1px solid rgba(0,184,148,0.25); }
.availability-badge.busy { background: rgba(231,76,60,0.12); color: var(--red); border: 1px solid rgba(231,76,60,0.25); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; animation: statusPulse 2s ease-in-out infinite; }
.available .status-dot { background: #00b894; box-shadow: 0 0 8px rgba(0,184,148,0.6); }
.busy .status-dot { background: #e74c3c; box-shadow: 0 0 8px rgba(231,76,60,0.6); }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ========== HERO ========== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -30%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,184,148,0.08) 0%, transparent 70%); animation: heroPulse 6s ease-in-out infinite; }
.hero::after { content: ''; position: absolute; bottom: -20%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(231,76,60,0.06) 0%, transparent 70%); animation: heroPulse 8s ease-in-out infinite reverse; }
@keyframes heroPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } }
.hero .container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content .greeting { font-size: 0.85rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.hero-content h1 { font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; letter-spacing: -1px; }
.hero-content h1 span { background: linear-gradient(135deg, var(--green), #00cec9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content .tagline { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { display: flex; justify-content: center; position: relative; }
.hero-image-wrapper { position: relative; width: 320px; height: 320px; }
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 4px solid rgba(0,184,148,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.5); position: relative; z-index: 2; }
.hero-image-wrapper::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--red), #00cec9); animation: rotateBorder 4s linear infinite; z-index: 1; }
@keyframes rotateBorder { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.hero-stats { display: flex; gap: 32px; margin-top: 24px; }
.hero-stat { text-align: center; }
.hero-stat .stat-number { font-size: 1.8rem; font-weight: 700; color: var(--green); }
.hero-stat .stat-label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--green); color: #fff; padding: 14px 28px; border-radius: 30px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; letter-spacing: 0.3px;
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--green-hover); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,184,148,0.35); }
.btn-outline {
    border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 14px 28px;
    border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; letter-spacing: 0.3px;
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: transparent;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,184,148,0.15); }

/* ========== SCROLL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== SECTION STYLES ========== */
.page-section { padding: 120px 24px 80px; min-height: 100vh; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-tag { font-size: 0.75rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { color: #888; font-size: 0.95rem; max-width: 550px; margin: 0 auto; }

/* ========== TECH STACK ========== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 16px; padding: 32px 20px; text-align: center;
    transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.tech-card:hover { transform: translateY(-6px); border-color: rgba(0,184,148,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.tech-card i { font-size: 2.5rem; margin-bottom: 14px; }
.tech-card:nth-child(1) i { color: #e44d26; }
.tech-card:nth-child(2) i { color: #264de4; }
.tech-card:nth-child(3) i { color: #f7df1e; }
.tech-card:nth-child(4) i { color: #ffca28; }
.tech-card h4 { font-size: 1rem; font-weight: 600; color: #fff; }

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 16px; padding: 32px 24px;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), #00cec9); opacity: 0; transition: opacity 0.3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,184,148,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-card .service-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,184,148,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--green); margin-bottom: 18px; }
.service-card h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.service-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.service-card .price { font-size: 1.2rem; font-weight: 700; color: var(--green); }
.service-card .price small { font-size: 0.7rem; color: #888; font-weight: 400; }
.service-inquire-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 0.78rem; font-weight: 600; text-decoration: none; margin-top: 4px; transition: all 0.3s ease; }
.service-inquire-btn i { font-size: 0.7rem; transition: transform 0.3s ease; }
.service-inquire-btn:hover { color: #fff; gap: 10px; }
.service-inquire-btn:hover i { transform: translateX(4px); }

/* ========== FEATURED PROJECT ========== */
.featured-project { background: rgba(255,255,255,0.02); border: 1px solid rgba(0,184,148,0.2); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.project-info h3 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.project-info .project-badge { display: inline-block; background: rgba(0,184,148,0.15); color: var(--green); font-size: 0.7rem; padding: 5px 12px; border-radius: 20px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 16px; }
.project-info p { color: #aaa; line-height: 1.7; font-size: 0.9rem; margin-bottom: 20px; }
.project-features { list-style: none; margin-bottom: 24px; }
.project-features li { padding: 6px 0; font-size: 0.85rem; color: #bbb; display: flex; align-items: center; gap: 10px; }
.project-features li i { color: var(--green); font-size: 0.8rem; }
.project-image { background: rgba(0,184,148,0.05); border-radius: 16px; padding: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.06); }
.project-image .mockup-icon { font-size: 6rem; color: rgba(0,184,148,0.3); margin-bottom: 12px; }
.project-image p { color: #888; font-size: 0.8rem; }

/* ========== COMING SOON ========== */
.coming-soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coming-soon-card { background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.1); border-radius: 16px; padding: 48px 24px; text-align: center; transition: all 0.3s ease; }
.coming-soon-card:hover { border-color: rgba(0,184,148,0.3); }
.coming-soon-card i { font-size: 2.5rem; color: rgba(255,255,255,0.15); margin-bottom: 14px; }
.coming-soon-card h4 { color: #888; font-weight: 600; font-size: 0.9rem; }
.coming-soon-card .soon-badge { display: inline-block; background: rgba(231,76,60,0.15); color: var(--red); font-size: 0.65rem; padding: 4px 10px; border-radius: 15px; font-weight: 600; margin-top: 10px; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-info h3 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; text-decoration: none; color: #ccc; transition: all 0.3s ease; font-size: 0.9rem; cursor: pointer; }
.contact-link:hover { border-color: rgba(0,184,148,0.4); background: rgba(0,184,148,0.05); }
.contact-link i { font-size: 1.2rem; color: var(--green); width: 24px; text-align: center; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 40px; text-align: center; }
.contact-card .hire-icon { font-size: 3rem; color: var(--green); margin-bottom: 16px; }
.contact-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 24px; }
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--green) !important; }

/* ========== STICKY HIRE BUTTON (MOBILE) ========== */
.sticky-hire-btn { display: none; position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; z-index: 996; align-items: center; justify-content: center; font-size: 1.3rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0,184,148,0.4); transition: all 0.3s ease; animation: hirePulse 2s ease-in-out infinite; }
.sticky-hire-btn:hover { background: var(--green-hover); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,184,148,0.5); color: #fff; }
@keyframes hirePulse { 0%, 100% { box-shadow: 0 6px 20px rgba(0,184,148,0.4); } 50% { box-shadow: 0 8px 28px rgba(0,184,148,0.7); } }
@media (max-width: 900px) { .sticky-hire-btn { display: flex; } }

/* ========== FOOTER ========== */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 32px 24px; text-align: center; }
footer p { color: #666; font-size: 0.8rem; }
footer a { color: var(--green); text-decoration: none; cursor: pointer; }
footer a:hover { text-decoration: underline; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .tagline { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrapper { width: 220px; height: 220px; margin: 0 auto; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .featured-project { grid-template-columns: 1fr; padding: 28px; }
    .coming-soon-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .page-section { padding: 100px 16px 60px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-image-wrapper { width: 180px; height: 180px; }
    .section-header h2 { font-size: 1.6rem; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .page-section { padding: 90px 12px 50px; }
}