:root {
    --bg-color: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --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 20px 40px -10px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.575rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.btn-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    border-bottom-color: var(--border-color);
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Sections */
.relative-section {
    position: relative;
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -5s;
}

.glow-3 {
    top: 20%;
    left: 40%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -10s;
}

.glow-4 {
    top: 30%;
    right: -10%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -7s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 10%) scale(1.1);
    }
}

.section-padding {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.25rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero h1,
.hero h2,
.hero p {
    color: #ffffff;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    /* Slight zoom for premium feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 10;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.accent-text {
    color: #60a5fa;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    max-width: 700px;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.service-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
    transform: translateY(-6px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 12px;
}

/* Process Timeline */
.dark-section {
    color: #f8fafc;
    background-color: var(--bg-dark);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
    color: #ffffff;
}

.process-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-step {
    position: relative;
    --line-scale: 0;
}

.process p {
    color: #cbd5e1;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 48px;
    width: calc(100% - 32px);
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
    transform-origin: left;
    transform: scaleX(var(--line-scale));
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
    transform: translateY(-4px);
}

.testimonial-content {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--border-color);
    background-image: linear-gradient(135deg, var(--border-color) 0%, #9ca3af 100%);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.author-info p {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Contact */
.contact-grid.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-info-block {
    padding: 4rem;
    background: var(--bg-dark);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-block p {
    color: #cbd5e1
}

.contact-info-block h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-block .info-block {
    margin-top: 2rem;
}

.contact-info-block h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.contact-info-block a {
    color: white;
    text-decoration: underline;
}

.contact-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    background-color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-left {
    max-width: 350px;
}

.footer-desc {
    margin-top: 1.25rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none;
    }

    .d-none-desktop {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-primary);
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-step h3,
    .process-step p {
        margin-left: 40px;
    }

    .process-step::before {
        width: 1px;
        height: calc(100% + 2rem);
        left: 24px;
        top: 48px;
    }

    .process-step:last-child::before {
        display: none;
    }

    .contact-grid.split-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-block {
        padding: 2.5rem;
    }

    .contact-image-wrapper {
        min-height: 250px;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}