@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary: #020617;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --gradient-1: linear-gradient(135deg, #2563eb, #06b6d4);
    --gradient-2: linear-gradient(135deg, #1e40af, #0891b2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =============== Background Effects =============== */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background:
        radial-gradient(circle at 10% 20%, #1e3a8a 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, #0c4a6e 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, #164e63 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, #1e1b4b 0%, transparent 40%);
    filter: blur(80px);
    opacity: 0.5;
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.water-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFall linear infinite;
}

@keyframes particleFall {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh);
    }
}

/* =============== Container =============== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* =============== Navbar =============== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-pill)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-links a:not(.btn-pill):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* =============== Buttons =============== */
.btn-pill {
    background: white;
    color: var(--bg-dark);
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid transparent;
}

.btn-pill:hover {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 20px 40px var(--primary-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 28px 56px var(--primary-glow);
}

.btn-outline {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.btn-outline:hover {
    color: white;
    border-color: var(--primary);
}

/* =============== Hero Section =============== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-tag {
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero-title span {
    display: block;
}

.hero-title span:first-child {
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span:last-child {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-visual {
    position: relative;
}

.hero-img-container {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent);
    pointer-events: none;
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px var(--primary-glow);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.badge-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.9;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -20px;
    }
    100% {
        top: 40px;
    }
}

/* =============== Section Common =============== */
section {
    padding: 120px 0;
}

.section-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* =============== Service Cards =============== */
.services {
    border-top: 1px solid var(--glass-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -20px rgba(37, 99, 235, 0.2);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.card p {
    color: var(--text-dim);
    line-height: 1.7;
}

.card-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    margin-top: 2rem;
    transition: var(--transition);
}

.card:hover .card-line {
    width: 100%;
}

/* =============== Process Section =============== */
.process {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
}

.process-timeline {
    display: grid;
    gap: 2rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}

.process-step {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(37, 99, 235, 0.05);
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.3);
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 600px;
}

/* =============== About Section =============== */
.about {
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.about-visual {
    position: relative;
    padding-right: 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

.feature-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* =============== Stats Section =============== */
.stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-4px);
}

.stat-item h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* =============== CTA Banner =============== */
.banner-section {
    padding: 120px 0;
}

.cta-banner {
    background: var(--gradient-2);
    border-radius: 40px;
    padding: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10%, 10%);
    }
    50% {
        transform: translate(-5%, 5%);
    }
    75% {
        transform: translate(5%, -10%);
    }
}

.cta-banner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    position: relative;
}

.cta-banner p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.phone-large {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: block;
    margin-top: 2rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    position: relative;
}

.phone-large:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* =============== Footer =============== */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links-group h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-group a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* =============== Animations =============== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% {
        transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* =============== Responsive =============== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img-container {
        display: none;
    }

    .hero-badge {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-timeline::before {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tags {
        justify-content: center;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .cta-banner h2 {
        font-size: 2.5rem;
    }

    .phone-large {
        font-size: 2rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .about .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .about-visual {
        display: none;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .banner-section {
        padding: 80px 0;
    }
}
