* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003399;
    --primary-blue-light: #004080;
    --primary-blue-dark: #002266;
    --accent-teal: #00a8a8;
    --accent-cyan: #00bcd4;
    --accent-purple: #673ab7;
    --primary-white: #ffffff;
    --primary-gray: #f8fafc;
    --primary-gray-dark: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --hover-color: rgba(0, 51, 153, 0.08);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-white);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--primary-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue-dark) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--hover-color);
    border-color: var(--primary-blue-light);
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    margin: 16px auto 0;
    border-radius: 2px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    color: var(--text-secondary);
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 50%, #f0f7ff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 51, 153, 0.08) 0%, rgba(0, 168, 168, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.06) 0%, rgba(103, 58, 183, 0.03) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--primary-blue);
    letter-spacing: 0.25em;
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.core-slogan {
    text-align: center;
    padding: 70px 24px;
    background: var(--primary-gray-dark);
    position: relative;
}

.core-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    border-radius: 2px;
}

.core-slogan p {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.services {
    background: var(--primary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-cyan) 50%, var(--primary-blue-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.03) 0%, rgba(0, 188, 212, 0.02) 50%, var(--primary-white) 100%);
    box-shadow: var(--shadow-lg);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-card .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.06) 0%, rgba(0, 188, 212, 0.04) 100%);
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 28px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 50%, var(--primary-blue-light) 100%);
    color: var(--primary-white);
}

.service-card:nth-child(2) .icon {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.06) 0%, rgba(0, 51, 153, 0.04) 100%);
}

.service-card:nth-child(2):hover .icon {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-blue) 100%);
}

.service-card:nth-child(3) .icon {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.06) 0%, rgba(0, 168, 168, 0.04) 100%);
}

.service-card:nth-child(3):hover .icon {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-teal) 100%);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
}

.why-us {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--primary-white) 0%, var(--primary-gray) 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.why-us-item {
    text-align: center;
    padding: 36px 24px;
    background: var(--primary-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-us-item .check-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    margin: 0 auto 24px;
    color: var(--primary-white);
    font-weight: 700;
    font-size: 24px;
    box-shadow: var(--shadow-md);
}

.why-us-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.why-us-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.clients {
    background: var(--primary-white);
    padding: 80px 24px;
}

.clients-title {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 48px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gray);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.client-logo:hover {
    color: var(--primary-blue);
    background: var(--hover-color);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, #001a3d 0%, var(--primary-blue) 30%, var(--primary-blue-light) 60%, #003366 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, rgba(0, 51, 153, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(103, 58, 183, 0.12) 0%, rgba(0, 168, 168, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.cta-section-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: var(--primary-white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue-dark);
    transform: translateY(-2px);
}

footer {
    background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 50%, #1e293b 100%);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    color: var(--primary-white);
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.85;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-white);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-white);
    padding-left: 4px;
}

.footer-contact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact p {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--primary-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-icp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}

.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-icp span {
    color: rgba(255, 255, 255, 0.3);
}

.page-header {
    padding: 130px 24px 70px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-gray) 0%, var(--primary-white) 100%);
}

.page-header h1 {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-details {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 24px;
}

.service-detail-item {
    margin-bottom: 70px;
    padding: 40px;
    background: var(--primary-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.service-detail-item h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 24px;
}

.service-detail-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 2px;
}

.service-detail-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.service-detail-item ul {
    list-style: none;
}

.service-detail-item li {
    padding: 14px 0 14px 36px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}

.service-detail-item li:last-child {
    border-bottom: none;
}

.service-detail-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 0 4px var(--hover-color);
}

.case-study {
    background: var(--primary-gray);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 36px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.case-study:hover {
    box-shadow: var(--shadow-md);
}

.case-study h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.case-study p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--primary-gray);
    border-radius: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: var(--hover-color);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.process-step::after {
    content: '→';
    margin-left: 12px;
    color: var(--primary-blue);
    font-weight: 700;
}

.process-step:last-child::after {
    display: none;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--primary-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px var(--hover-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    padding: 32px;
    background: var(--primary-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-member .avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hover-color) 0%, rgba(0, 51, 153, 0.02) 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.team-member h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.team-member p {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.pricing-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.pricing-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 17px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .process-timeline {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-step::after {
        display: none;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .client-logo {
        width: 100%;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-detail-item {
        padding: 24px;
    }

    .footer-content {
        gap: 32px;
    }
}
