@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-bg: #0a0c10;
    --secondary-bg: #12161d;
    --tertiary-bg: #1a1f2a;
    --accent-blue: #00d2ff;
    --accent-purple: #9d50bb;
    --accent-pink: #ff6b9d;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 210, 255, 0.3);

    --grad-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --grad-warm: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(0, 210, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Reveal System ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Glassmorphism ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-outline {
    border: 1.5px solid rgba(0, 210, 255, 0.4);
    color: var(--accent-blue);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

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

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
    position: relative;
}

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

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 80, 187, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 210, 255, 0.05);
}

.glass-blob {
    position: absolute;
    width: 130%;
    height: 130%;
    background: var(--grad-primary);
    filter: blur(100px);
    opacity: 0.12;
    top: -15%;
    left: -15%;
    z-index: 0;
    border-radius: 50%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 4px;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    padding: 36px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 210, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: rgba(0, 210, 255, 0.15);
    transform: scale(1.05);
}

.service-card .icon {
    width: 28px;
    height: 28px;
    color: var(--accent-blue);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.service-card .btn {
    align-self: flex-start;
}

/* ===== Process Section ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.step:hover {
    background: var(--glass-bg);
}

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.step h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Footer & CTA ===== */
footer {
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 210, 255, 0.04) 0%, transparent 70%);
}

.footer-cta {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 800;
}

.footer-cta p {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--radius-lg);
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    color: white;
    outline: none;
    font-size: 0.95rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-blue);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .steps-grid::before {
        display: none;
    }

    .contact-form {
        flex-direction: column;
        border-radius: var(--radius);
    }

    .contact-form .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 80px 0;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

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

    .hero-badge {
        font-size: 0.75rem;
    }
}
