:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7b2ff7;
    --accent: #ff6b6b;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --text-light: rgba(255,255,255,0.4);
    --border: rgba(255,255,255,0.08);
    --glass: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.1);
    --gradient: linear-gradient(135deg, #00d4ff, #7b2ff7);
    --gradient-reverse: linear-gradient(135deg, #7b2ff7, #00d4ff);
    --shadow: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px rgba(0,212,255,0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }

/* ─── Animated Background Grid ─── */
.bg-grid {
    position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.bg-grid::before {
    content: '';
    position: absolute; inset: -50%;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    0% { transform: translate(0,0); }
    100% { transform: translate(60px,60px); }
}

/* ─── Floating Orbs ─── */
.orb {
    position: fixed; border-radius: 50%; filter: blur(80px); opacity: 0.15; pointer-events: none; z-index: -1;
}
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -200px; animation: orbFloat 15s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -150px; left: -150px; animation: orbFloat 18s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 50%; animation: orbFloat 12s ease-in-out infinite 3s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* ─── Navbar ─── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: #ffffff;
    border-bottom: 1px solid rgba(10,10,26,0.06);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10,10,26,0.08);
    box-shadow: 0 8px 30px rgba(10,10,26,0.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; color: #0a0a1a; font-weight: 700; font-size: 1.3rem; }
.logo-icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff;
    box-shadow: 0 4px 15px rgba(0,212,255,0.3);
    transition: var(--transition);
}
.nav-logo:hover { color: #0a0a1a; }
.nav-logo:hover .logo-icon { transform: rotate(10deg) scale(1.05); }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-close { display: none; }
.nav-link {
    padding: 8px 18px; border-radius: 8px; color: #4a4a5e;
    font-weight: 500; font-size: 0.95rem; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: #0a0a1a; background: rgba(10,10,26,0.04); }
.nav-link.active { color: var(--primary-dark); font-weight: 600; }
.nav-btn {
    padding: 10px 24px; border-radius: 10px;
    background: var(--gradient); color: #fff !important;
    font-weight: 600; margin-left: 8px;
    box-shadow: 0 4px 15px rgba(0,212,255,0.25);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0,212,255,0.4); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 25px; height: 2.5px; background: #0a0a1a; border-radius: 2px; transition: var(--transition); }

/* ─── Hero Section ─── */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
    padding-top: 100px;
}
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 50px;
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2);
    font-size: 0.85rem; color: var(--primary); font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}
.hero-badge i { font-size: 0.7rem; animation: pulse 2s infinite; }
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-title .gradient-text {
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 1rem;
    cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
    background: var(--gradient); color: #fff;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,212,255,0.5); color: #fff; }
.btn-outline {
    background: transparent; color: var(--text);
    border: 1px solid var(--glass-border);
}
.btn-outline:hover { background: var(--glass); border-color: var(--primary); color: var(--text); transform: translateY(-3px); }

.hero-visual {
    position: absolute; right: -50px; top: 50%; transform: translateY(-50%);
    width: 500px; height: 500px; z-index: 1;
    animation: fadeInRight 1s ease-out 0.5s both;
}
.hero-sphere {
    width: 100%; height: 100%; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0,212,255,0.2), rgba(123,47,247,0.1), transparent 70%);
    border: 1px solid rgba(0,212,255,0.1);
    animation: rotateSphere 20s linear infinite;
    position: relative;
}
.hero-sphere::before, .hero-sphere::after {
    content: ''; position: absolute; border-radius: 50%;
    border: 1px solid rgba(0,212,255,0.1);
}
.hero-sphere::before { inset: 15%; animation: rotateSphere 15s linear infinite reverse; }
.hero-sphere::after { inset: 30%; animation: rotateSphere 10s linear infinite; border-color: rgba(123,47,247,0.15); }
@keyframes rotateSphere { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.floating-badge {
    position: absolute; padding: 12px 18px; border-radius: 12px;
    background: rgba(10,10,26,0.8); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 500;
    animation: float 6s ease-in-out infinite;
}
.floating-badge i { font-size: 1.1rem; }
.badge-1 { top: 15%; left: -30px; animation-delay: 0s; }
.badge-2 { bottom: 25%; right: -20px; animation-delay: 2s; }
.badge-3 { bottom: 10%; left: 10%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ─── Stats Section ─── */
.stats {
    padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number {
    font-size: 3rem; font-weight: 900;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }

/* ─── Section Styles ─── */
.section { padding: 120px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15);
    font-size: 0.8rem; color: var(--primary); font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ─── Service Cards ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    padding: 40px 32px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    background: var(--bg-card-hover); border-color: rgba(0,212,255,0.15);
    transform: translateY(-8px); box-shadow: var(--shadow-glow);
}
.service-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 24px;
    background: rgba(0,212,255,0.08); color: var(--primary);
    transition: var(--transition);
}
.service-card:nth-child(2) .service-icon { background: rgba(123,47,247,0.1); color: var(--secondary); }
.service-card:nth-child(3) .service-icon { background: rgba(255,107,107,0.1); color: var(--accent); }
.service-card:nth-child(4) .service-icon { background: rgba(0,200,83,0.1); color: #00c853; }
.service-card:nth-child(5) .service-icon { background: rgba(255,152,0,0.1); color: #ff9800; }
.service-card:nth-child(6) .service-icon { background: rgba(123,47,247,0.1); color: var(--secondary); }
.service-card:nth-child(7) .service-icon { background: rgba(255,107,107,0.1); color: var(--accent); }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.service-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 20px; color: var(--primary); font-weight: 600; font-size: 0.9rem;
}
.service-link i { transition: var(--transition); }
.service-card:hover .service-link i { transform: translateX(5px); }
.service-card:last-child:nth-child(3n+1) { grid-column: 2; }

/* ─── Features / About ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4/3; background: var(--gradient); padding: 3px;
}
.about-image-inner {
    width: 100%; height: 100%; border-radius: calc(var(--radius) - 3px);
    background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 8rem; color: rgba(0,212,255,0.15);
}
.about-image > img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: calc(var(--radius) - 3px);
}
.about-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.features-list { list-style: none; margin-top: 30px; }
.features-list li {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0; font-size: 1rem; color: var(--text-muted);
}
.features-list li i { color: var(--primary); font-size: 1.1rem; }

/* ─── CTA Section ─── */
.cta {
    padding: 100px 0; text-align: center;
}
.cta-box {
    padding: 80px 40px; border-radius: 24px;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(123,47,247,0.08));
    border: 1px solid rgba(0,212,255,0.1);
    position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0,212,255,0.1), transparent 60%);
}
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-box p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; position: relative; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-box .btn { position: relative; }

/* ─── Contact Page ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info-card {
    display: flex; gap: 18px; padding: 24px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    margin-bottom: 20px; transition: var(--transition);
}
.contact-info-card:hover { border-color: rgba(0,212,255,0.2); transform: translateX(5px); }
.contact-info-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(0,212,255,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-muted); font-size: 0.9rem; }

.contact-form {
    padding: 40px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: rgba(255,255,255,0.03);
    color: var(--text); font-size: 1rem; font-family: inherit;
    transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ─── About Page ─── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card {
    text-align: center; padding: 40px 24px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); border-color: rgba(0,212,255,0.2); box-shadow: var(--shadow-glow); }
.team-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--gradient); margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; font-weight: 700; color: #fff;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card p { color: var(--primary); font-size: 0.85rem; font-weight: 500; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.value-card {
    text-align: center; padding: 36px 20px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: var(--transition);
}
.value-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-5px); }
.value-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(0,212,255,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto 16px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 0.85rem; }

/* ─── Services Page ─── */
.service-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    padding: 60px 0; border-bottom: 1px solid var(--border);
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.service-detail-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.service-detail-content ul { list-style: none; margin-top: 20px; }
.service-detail-content ul li {
    display: flex; align-items: center; gap: 10px; padding: 8px 0;
    color: var(--text-muted); font-size: 0.95rem;
}
.service-detail-content ul li i { color: var(--primary); }
.service-detail-visual {
    padding: 60px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    text-align: center; font-size: 5rem; color: rgba(0,212,255,0.15);
}
.service-detail-visual img {
    max-width: 100%; max-height: 380px; width: 100%; object-fit: cover;
    border-radius: 16px;
}
.service-detail:nth-child(2) .service-detail-visual { color: rgba(123,47,247,0.15); }
.service-detail:nth-child(3) .service-detail-visual { color: rgba(255,107,107,0.15); }

.tech-stack { padding: 80px 0; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 40px; }
.tech-item {
    text-align: center; padding: 24px 12px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: var(--transition);
}
.tech-item:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-3px); }
.tech-item i { font-size: 2rem; margin-bottom: 10px; color: var(--primary); }
.tech-item p { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Footer ─── */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
}
.social-links a:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: translateY(-3px); }
.footer-links h4, .footer-contact h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-links a { display: block; color: var(--text-muted); padding: 5px 0; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact p { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-contact i { color: var(--primary); width: 16px; }
.footer-bottom {
    margin-top: 60px; padding: 24px 0; border-top: 1px solid var(--border);
    text-align: center; color: var(--text-light); font-size: 0.85rem;
}

/* ─── Admin Styles ─── */
.admin-login {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 40px 24px;
}
.login-card {
    width: 100%; max-width: 420px; padding: 48px 40px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 24px; backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}
.login-card h1 { text-align: center; margin-bottom: 8px; font-size: 1.8rem; }
.login-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 36px; font-size: 0.95rem; }
.login-card .form-group { margin-bottom: 22px; }
.login-card .form-group label { color: var(--text-muted); font-size: 0.85rem; }
.login-card .form-group input {
    padding: 14px 18px; font-size: 1rem;
    border-radius: 12px;
}
.login-card .btn { width: 100%; justify-content: center; padding: 16px; font-size: 1.05rem; border-radius: 12px; }

/* ─── Admin Dashboard ─── */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: rgba(10,10,26,0.95);
    border-right: 1px solid var(--border); padding: 24px 0;
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    display: flex; flex-direction: column;
}
.admin-sidebar .nav-logo { padding: 0 24px; margin-bottom: 32px; color: #fff; }
.admin-sidebar .nav-logo:hover { color: #fff; }
.sidebar-menu { flex: 1; padding: 0 12px; }
.sidebar-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 10px; color: var(--text-muted);
    font-weight: 500; font-size: 0.95rem; margin-bottom: 4px;
    transition: var(--transition);
}
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.sidebar-link.active { background: rgba(0,212,255,0.08); color: var(--primary); }
.sidebar-link i { width: 20px; text-align: center; }
.sidebar-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.sidebar-footer a { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; }
.sidebar-footer a:hover { color: var(--accent); }

.admin-main { flex: 1; margin-left: 260px; padding: 32px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-header h1 { font-size: 1.8rem; font-weight: 800; }
.admin-header .badge { font-size: 0.8rem; padding: 4px 12px; border-radius: 50px; background: rgba(0,200,83,0.1); color: #00c853; }

.dashboard-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.dash-card {
    padding: 28px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
}
.dash-card h3 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.dash-card .value { font-size: 2rem; font-weight: 800; }
.dash-card .value.blue { color: var(--primary); }
.dash-card .value.purple { color: var(--secondary); }
.dash-card .value.red { color: var(--accent); }

.admin-card {
    padding: 32px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
}
.admin-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.9rem; }
.alert-success { background: rgba(0,200,83,0.1); border: 1px solid rgba(0,200,83,0.2); color: #00c853; }
.alert-danger { background: rgba(255,82,82,0.1); border: 1px solid rgba(255,82,82,0.2); color: #ff5252; }

/* ─── Page Header ─── */
.page-header {
    padding: 160px 0 80px; text-align: center; position: relative;
}
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 12px; }
.page-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 550px; margin: 0 auto; }
.legal-updated { display: inline-block; margin-top: 14px; font-size: 0.85rem; color: var(--text-light); background: rgba(0,212,255,0.06); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }
.legal-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 44px; max-width: 900px; margin: 0 auto;
}
.legal-card h2 { font-size: 1.35rem; font-weight: 700; margin: 32px 0 12px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; font-size: 0.98rem; }
.legal-card ul { color: var(--text-muted); line-height: 1.75; margin: 0 0 14px 20px; font-size: 0.98rem; }
.legal-card ul li { margin-bottom: 8px; position: relative; padding-left: 6px; }
.legal-card a { color: var(--primary); }

/* ─── Animations ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translate(50px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ─── Message Table ─── */
.messages-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.messages-table th {
    text-align: left; padding: 14px 16px; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.messages-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.messages-table tr:hover td { background: rgba(255,255,255,0.02); }
.messages-table .unread { color: var(--text); font-weight: 600; }

/* ─── Admin Forms ─── */
.admin-card select {
    width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: rgba(255,255,255,0.03);
    color: var(--text); font-size: 1rem; font-family: inherit;
    transition: var(--transition); outline: none; cursor: pointer;
}
.admin-card select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.admin-card select option { background: #1a1a3e; color: var(--text); }
.admin-card input[type="file"]::file-selector-button {
    padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border);
    background: rgba(255,255,255,0.06); color: var(--text);
    font-weight: 500; margin-right: 12px; cursor: pointer; transition: var(--transition);
}
.admin-card input[type="file"]::file-selector-button:hover {
    border-color: var(--primary); background: rgba(0,212,255,0.08); color: var(--primary);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) { direction: ltr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-cards { grid-template-columns: 1fr; }
    .admin-sidebar { width: 70px; }
    .admin-sidebar .nav-logo span { display: none; }
    .sidebar-link span { display: none; }
    .admin-main { margin-left: 70px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(10,10,26,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 100px 32px 32px;
        border-left: 1px solid rgba(255,255,255,0.08);
        box-shadow: -10px 0 30px rgba(10,10,26,0.4);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-menu .nav-link { color: #ffffff; }
    .nav-menu .nav-link:hover { color: var(--primary); background: rgba(255,255,255,0.06); }
    .nav-menu .nav-link.active { color: var(--primary); background: rgba(0,212,255,0.08); }
    .nav-menu .nav-btn { margin: 8px 0 0; width: 100%; justify-content: center; }
    .nav-close {
        position: absolute; top: 24px; right: 24px; z-index: 10;
        width: 40px; height: 40px; border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
        color: #fff; font-size: 1.1rem; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        transition: var(--transition);
    }
    .nav-close:hover { background: rgba(255,82,82,0.2); border-color: rgba(255,82,82,0.4); color: var(--accent); transform: rotate(90deg); }
    .nav-menu.open { right: 0; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .services-grid, .team-grid { grid-template-columns: 1fr; }
    .service-card:last-child:nth-child(3n+1) { grid-column: 1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .hero { padding-top: 120px; }
    .hero-title { font-size: 2rem; }
    .stat-number { font-size: 2.2rem; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
