
:root {
    --primary: #0a1628;
    --primary-light: #1a2a4a;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --white: #ffffff;
    --light: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2563eb 100%);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
}

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

/* Header */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    font-size: 1.5rem; font-weight: 800; color: var(--primary);
    text-decoration: none; letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

nav ul { display: flex; list-style: none; gap: 32px; align-items: center; }
nav a {
    text-decoration: none; color: var(--dark-gray); font-weight: 500;
    font-size: 0.95rem; transition: color 0.2s; position: relative;
}
nav a:hover, nav a.active { color: var(--accent); }
nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent); transition: width 0.3s;
}
nav a:hover::after, nav a.active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle::after {
    content: '▼'; font-size: 0.6rem; margin-left: 6px; opacity: 0.6;
}
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--white); border: 1px solid var(--border);
    border-radius: 12px; padding: 12px 0; min-width: 260px;
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transition: all 0.2s ease; margin-top: 8px;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu li { margin: 0; padding: 0; }
.dropdown-menu a {
    display: block; padding: 10px 24px; color: var(--dark-gray);
    font-size: 0.9rem; white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--light); color: var(--accent); }
.dropdown-menu a::after { display: none; }

.cta-btn {
    background: var(--accent); color: var(--white); padding: 10px 24px;
    border-radius: 6px; text-decoration: none; font-weight: 600;
    font-size: 0.9rem; transition: all 0.3s; border: none; cursor: pointer;
    display: inline-block;
}
.cta-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.cta-btn.outline {
    background: transparent; border: 2px solid var(--accent); color: var(--accent);
}
.cta-btn.outline:hover { background: var(--accent); color: var(--white); }

.mobile-menu-btn {
    display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary);
}

/* Hero */
.hero {
    background: var(--gradient); color: var(--white);
    padding: 160px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 3.2rem; font-weight: 800; line-height: 1.15;
    margin-bottom: 24px; max-width: 700px; letter-spacing: -1px;
}
.hero p {
    font-size: 1.25rem; opacity: 0.9; max-width: 560px;
    margin-bottom: 40px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Section */
.section { padding: 100px 0; }
.section-alt { background: var(--light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header h2 {
    font-size: 2.4rem; font-weight: 800; color: var(--primary);
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-header p { font-size: 1.15rem; color: var(--gray); }

/* Cards */
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.card {
    background: var(--white); border-radius: 16px; padding: 40px 32px;
    border: 1px solid var(--border); transition: all 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem; margin-bottom: 24px;
}
.card h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* Process */
.process-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.process-step { text-align: center; position: relative; }
.process-step::after {
    content: ''; position: absolute; top: 40px; right: -20px;
    width: 40px; height: 2px; background: var(--accent); opacity: 0.3;
}
.process-step:last-child::after { display: none; }
.step-num {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800; margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(37,99,235,0.3);
}
.process-step h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.process-step p { color: var(--gray); font-size: 0.95rem; }

/* Feature rows with images */
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center; margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-visual {
    border-radius: 20px; min-height: 400px; overflow: hidden;
    position: relative; display: flex; align-items: center; justify-content: center;
}
.feature-visual img {
    width: 100%; height: 100%; object-fit: cover; position: absolute;
    top: 0; left: 0; border-radius: 20px;
}
.feature-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.3), rgba(37,99,235,0.2));
    border-radius: 20px;
}
.feature-content h3 {
    font-size: 2rem; font-weight: 800; color: var(--primary);
    margin-bottom: 20px; letter-spacing: -0.5px;
}
.feature-content p { color: var(--gray); font-size: 1.05rem; margin-bottom: 20px; line-height: 1.8; }
.feature-list { list-style: none; }
.feature-list li {
    padding: 8px 0; padding-left: 32px; position: relative;
    color: var(--dark-gray); font-size: 1rem;
}
.feature-list li::before {
    content: '✓'; position: absolute; left: 0; color: var(--accent);
    font-weight: 700; font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient); color: var(--white);
    padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { background: var(--primary); color: var(--white); padding: 80px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px;
}
.footer-brand p { color: rgba(255,255,255,0.7); margin: 20px 0; font-size: 0.95rem; line-height: 1.8; }
.footer-brand .logo { color: var(--white); font-size: 1.8rem; }
.footer-brand .logo span { color: var(--accent-light); }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 24px; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center;
    color: rgba(255,255,255,0.5); font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-light); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(37,99,235,0.1); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--gray); font-size: 0.95rem; text-decoration: none; }
.contact-item a:hover { color: var(--accent); }

.contact-form { background: var(--white); border-radius: 20px; padding: 48px; border: 1px solid var(--border); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; border: 1px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s; color: var(--dark-gray);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Page Hero (smaller) */
.page-hero {
    background: var(--gradient); color: var(--white);
    padding: 140px 0 80px; text-align: center; position: relative;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Service detail */
.service-detail { padding: 100px 0; }
.service-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 80px;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-visual {
    border-radius: 20px; min-height: 380px; overflow: hidden;
    position: relative; display: flex; align-items: center; justify-content: center;
}
.service-detail-visual img {
    width: 100%; height: 100%; object-fit: cover; position: absolute;
    top: 0; left: 0; border-radius: 20px;
}
.service-detail-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.3), rgba(37,99,235,0.2));
    border-radius: 20px;
}
.service-detail-content h2 { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.service-detail-content p { color: var(--gray); font-size: 1.05rem; margin-bottom: 20px; line-height: 1.8; }

/* Stats */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 60px;
}
.stat-item { text-align: center; padding: 32px; background: var(--white); border-radius: 16px; border: 1px solid var(--border); }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { color: var(--gray); font-size: 0.95rem; margin-top: 8px; }

/* Team */
.team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.team-card { text-align: center; }
.team-avatar {
    width: 160px; height: 160px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 3rem; font-weight: 700;
}
.team-card h4 { font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.team-card p { color: var(--gray); font-size: 0.9rem; margin-top: 4px; }

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 24px; }
    nav.active { display: block; }
    nav ul { flex-direction: column; gap: 16px; align-items: flex-start; }
    .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 8px 0 0 16px; margin: 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .process-grid, .card-grid, .feature-row, .service-detail-grid, .contact-grid, .footer-grid, .stats-grid, .team-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse { direction: ltr; }
    .service-detail-grid.reverse { direction: ltr; }
    .process-step::after { display: none; }
    .section { padding: 60px 0; }
    .page-hero h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
