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

:root {
    --bg-dark: #0a0a0a;
    --bg-section: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --accent: #4a9eff;
    --accent-hover: #3a8eef;
    --accent-purple: #6c5ce7;
    --border: #2a2a2a;
    --gradient-start: #0a0a0a;
    --gradient-end: #1a1a2e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--accent);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-purple));
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 2rem 4rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.5) 40%, rgba(10,10,10,0.85) 100%);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(74, 158, 255, 0.12) 0%, transparent 70%);
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    animation: glowPulse2 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

@keyframes glowPulse2 {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 10s ease-in-out infinite;
}

.particle:nth-child(1) { left: 15%; top: 30%; animation-delay: 0s; }
.particle:nth-child(2) { left: 75%; top: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 45%; top: 70%; animation-delay: 4s; }
.particle:nth-child(4) { left: 85%; top: 60%; animation-delay: 1s; }
.particle:nth-child(5) { left: 25%; top: 80%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; top: 40%; animation-delay: 5s; }

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0); }
    20% { opacity: 0.6; }
    50% { opacity: 0.3; transform: translateY(-40px); }
    80% { opacity: 0.6; }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.page-hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.9) 100%);
}

.page-hero-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-hero h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.35);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.15);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(74, 158, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.section-dark {
    padding: 4rem 0;
    background: var(--bg-section);
    text-align: center;
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.2), transparent);
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.section-about {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.about-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.3);
}

.about-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.85) 100%);
}

.about-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.section-about .container {
    position: relative;
    z-index: 1;
}

.section-about h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

blockquote {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
    position: relative;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

blockquote::before {
    content: '\201C';
    font-size: 5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    line-height: 1;
    font-style: normal;
    font-weight: 800;
}

.cta-banner {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(26,26,46,0.75) 100%);
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-line {
    position: absolute;
    height: 1px;
    width: 100%;
}

.cta-line-1 {
    top: 30%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    transform: rotate(-3deg);
}

.cta-line-2 {
    bottom: 30%;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.08), transparent);
    transform: rotate(2deg);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(74, 158, 255, 0.06) 0%, transparent 60%);
    filter: blur(40px);
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.section-services {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.15), transparent);
}

.section-services h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.4) 100%);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    background: rgba(74, 158, 255, 0.04);
    border-color: rgba(74, 158, 255, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(74, 158, 255, 0.05);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: var(--accent);
    background: rgba(74, 158, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    background: rgba(74, 158, 255, 0.15);
    transform: scale(1.05);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.section-technology {
    padding: 6rem 0;
    background: var(--bg-section);
    position: relative;
}

.section-technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.2), transparent);
}

.section-technology h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.section-contact-preview {
    padding: 6rem 0;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
}

.section-contact-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.15), transparent);
}

.section-contact-preview h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-contact-preview p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.section-contact-preview .company-name {
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.section-contact {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.15), transparent);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-email {
    margin-top: 1.5rem;
}

.contact-info .company-name {
    margin-top: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer {
    padding: 2.5rem 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-hero {
        padding: 8rem 2rem 3rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .cards-grid,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    blockquote {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    blockquote::before {
        font-size: 3.5rem;
        top: -0.25rem;
        left: 0.5rem;
    }

    .cta-banner h3 {
        font-size: 1.5rem;
    }

    .hero-glow-1 {
        width: 300px;
        height: 300px;
    }

    .hero-glow-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        padding: 8px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo span {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .particle,
    .hero-glow,
    .hero-glow-1,
    .hero-glow-2 {
        animation: none;
    }

    .particle {
        opacity: 0.3;
    }

    .hero-glow-1,
    .hero-glow-2 {
        opacity: 0.6;
    }
}
