:root {
    --primary: #0a4dff;
    --primary-dark: #0033cc;
    --primary-light: #e6edff;
    --accent: #00a3ff;
    --dark: #0a1026;
    --gray: #6b7280;
    --light: #f8faff;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(10, 77, 255, 0.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* HEADER */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo-accent { color: var(--accent); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
    transition: color .3s;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 100%; height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all .3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle span {
    width: 26px; height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6edff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(10,77,255,0.15), transparent 70%);
    top: -150px; right: -100px;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(10,77,255,0.1);
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 550px;
}

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all .3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(10,77,255,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(10,77,255,0.2);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.hero-card i {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* SECTIONS */
.section { padding: 90px 0; }
.section-alt { background: var(--light); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .85rem;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: all .35s;
    border: 1px solid #eef1f8;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.card-icon {
    width: 64px; height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--gray);
    font-size: .95rem;
}

/* STATS */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.stat p {
    opacity: 0.9;
    font-weight: 500;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #f0f5ff, #e0eaff);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #eef1f8;
    transition: all .3s;
}

.team-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.team-avatar {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
}

.team-card h3 { margin-bottom: 4px; }
.team-card .role {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 12px;
}
.team-card p {
    color: var(--gray);
    font-size: .9rem;
}

/* PORTFOLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.portfolio-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    border: 1px solid #eef1f8;
    transition: all .3s;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.portfolio-thumb {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info span {
    color: var(--primary);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
}

.portfolio-info h3 {
    margin-top: 8px;
    font-size: 1.25rem;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius);
    padding: 40px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-info-card > p {
    opacity: .9;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: .9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecf5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .3s;
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-group textarea { resize: vertical; min-height: 140px; }

.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-weight: 500;
}
.alert-success { background: #d4f5e3; color: #0a7a44; border-left: 4px solid #0a7a44; }
.alert-error { background: #ffe0e0; color: #c0392b; border-left: 4px solid #c0392b; }

/* FOOTER */
.footer {
    background: var(--dark);
    color: #b8c0d4;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col .logo { color: white; margin-bottom: 20px; }
.footer-col p {
    margin-bottom: 12px;
    font-size: .92rem;
    line-height: 1.7;
}
.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: #b8c0d4;
    font-size: .92rem;
    transition: color .3s;
}
.footer-col a:hover { color: var(--accent); }

.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.socials a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    margin: 0;
}

.socials a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: .88rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-content, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-menu.open { display: flex; }
    .hero h1 { font-size: 2rem; }
    .section-header h2, .cta h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-card { padding: 30px; }
}