﻿:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #172033;
    --text: #475569;
    --muted: #94a3b8;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
    font-weight: 500;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation > a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: color .2s;
}

.navigation > a:hover,
.navigation > a.active {
    color: var(--primary);
}

.nav-contact {
    padding: 10px 19px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: var(--primary) !important;
}

.languages {
    display: flex;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
}

.languages a {
    color: var(--muted);
}

.languages a.active,
.languages a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 25px;
    cursor: pointer;
}

/* HERO */

.hero {
    padding: 115px 0 105px;
    background: linear-gradient(120deg, #ffffff 50%, #f1f6ff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(39px, 5vw, 65px);
    line-height: 1.13;
    letter-spacing: -2.5px;
    margin: 22px 0;
    max-width: 650px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-text > p {
    max-width: 560px;
    color: var(--text);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

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

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid var(--border);
    color: var(--dark);
}

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

.hero-visual {
    padding: 20px;
}

.visual-card {
    min-height: 340px;
    padding: 38px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: 0 25px 65px rgba(37,99,235,.10);
}

.visual-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
}

.visual-label {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.visual-card h2 {
    font-size: 27px;
    line-height: 1.3;
    margin: 12px 0;
}

.visual-card p {
    color: var(--text);
    font-size: 13px;
}

.visual-line {
    height: 1px;
    background: var(--border);
    margin: 35px 0 15px;
}

.visual-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    font-size: 12px;
}

.status-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
}

/* TRUST */

.trust-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 25px 0;
}

.trust-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.trust-content span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

/* GENERAL SECTIONS */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.section-heading h2,
.about-content h2 {
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 12px 0;
}

.section-heading p {
    color: var(--text);
    font-size: 15px;
}

/* SERVICES */

.services-section {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 32px;
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15,23,42,.07);
}

.service-card.featured {
    border-color: #bfdbfe;
    background: #f5f9ff;
}

.service-number {
    position: absolute;
    top: 25px;
    right: 28px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    background: #eff6ff;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text);
    font-size: 14px;
    min-height: 80px;
}

.service-card a {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.service-card a span {
    margin-left: 5px;
}

/* ABOUT */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: start;
}

.about-text p {
    color: var(--text);
    margin-bottom: 18px;
    font-size: 15px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* PROJECTS */

.projects-section {
    background: var(--light);
}

.project-placeholder {
    padding: 65px 25px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: white;
}

.project-placeholder span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.project-placeholder h3 {
    font-size: 23px;
    margin: 12px 0;
}

.project-placeholder p {
    color: var(--text);
    font-size: 14px;
}

/* CONTACT */

.contact-section {
    background: #172033;
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 700px;
}

.contact-section .eyebrow {
    color: #93b8ff;
}

.contact-section h2 {
    font-size: clamp(34px, 5vw, 48px);
    margin: 15px 0;
}

.contact-section p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.button-light {
    background: white;
    color: var(--primary);
}

.contact-content small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-top: 18px;
}

/* FOOTER */

.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-content p,
.copyright {
    color: var(--muted);
    font-size: 12px;
}

/* MOBILE */

@media (max-width: 850px) {
    .navigation {
        gap: 15px;
    }

    .hero-content {
        gap: 25px;
    }

    .visual-card {
        padding: 25px;
    }
}

@media (max-width: 700px) {
    .nav-container {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 25px 5%;
        background: white;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .navigation.open {
        display: flex;
    }

    .hero {
        padding: 75px 0;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        padding: 0;
    }

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

    .trust-content {
        justify-content: center;
        text-align: center;
    }

    .trust-content span {
        width: 45%;
    }

    .section {
        padding: 70px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   AIBO SYSTEM - FULL SCREEN AI HERO
========================================== */

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    min-height: calc(100svh - 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #07152c url("../images/ai-background.png")
        center center / cover no-repeat;
}

/* Animated background zoom */

.hero::before {
    content: "";
    position: absolute;
    inset: -5%;
    z-index: -2;
    background: url("../images/ai-background.png")
        center center / cover no-repeat;
    animation: aiBackgroundZoom 24s ease-in-out infinite alternate;
    will-change: transform;
}

/* Dark overlay */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(5, 17, 39, 0.94) 0%,
        rgba(5, 17, 39, 0.78) 45%,
        rgba(5, 17, 39, 0.25) 100%
    );
}

/* Hero content */

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1160px, 90%);
    grid-template-columns: 1fr;
    padding-top: 65px;
    padding-bottom: 65px;
}

.hero h1 {
    color: #ffffff;
    max-width: 760px;
}

.hero h1 span {
    color: #60a5fa;
}

.hero-text > p {
    color: #e2e8f0;
    max-width: 650px;
}

.hero .eyebrow {
    color: #93c5fd;
}

.hero .button-secondary {
    color: #ffffff;
    border-color: rgba(255,255,255,.55);
}

.hero .button-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: #ffffff;
}

.hero-visual {
    display: none;
}

@keyframes aiBackgroundZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.10);
    }
}

/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .hero {
        min-height: calc(100svh - 68px);
        background-position: 62% center;
    }

    .hero::before {
        background-position: 62% center;
        animation-duration: 30s;
    }

    .hero::after {
        background: linear-gradient(
            90deg,
            rgba(5,17,39,.88),
            rgba(5,17,39,.60)
        );
    }

    .hero-content {
        padding-top: 75px;
        padding-bottom: 75px;
    }
}


/* ==========================================
   AIBO SYSTEM - TRANSPARENT STICKY HEADER
========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.12);
    transition: background .3s ease, box-shadow .3s ease,
                border-color .3s ease;
}

.header .logo {
    color: #ffffff;
}

.header .logo span {
    color: #60a5fa;
}

.header .navigation > a {
    color: #ffffff;
}

.header .navigation > a:hover {
    color: #93c5fd;
}

.header .nav-contact {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.65);
}

.header .nav-contact:hover {
    background: rgba(255,255,255,.12);
}

.header .languages a {
    color: #cbd5e1;
}

.header .languages a.active,
.header .languages a:hover {
    color: #60a5fa;
}

.header .menu-toggle {
    color: #ffffff;
}

/* Header after scrolling */

.header.scrolled {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15,23,42,.07);
    backdrop-filter: blur(12px);
}

.header.scrolled .logo {
    color: #172033;
}

.header.scrolled .logo span {
    color: #2563eb;
}

.header.scrolled .navigation > a {
    color: #475569;
}

.header.scrolled .navigation > a:hover {
    color: #2563eb;
}

.header.scrolled .nav-contact {
    color: #2563eb !important;
    border-color: #2563eb;
}

.header.scrolled .languages a {
    color: #64748b;
}

.header.scrolled .languages a.active,
.header.scrolled .languages a:hover {
    color: #2563eb;
}

.header.scrolled .menu-toggle {
    color: #172033;
}

/* Mobile navigation */

@media (max-width: 700px) {
    .header .navigation {
        background: rgba(7,21,44,.97);
        border-bottom: 1px solid rgba(255,255,255,.15);
        backdrop-filter: blur(12px);
    }

    .header .navigation > a {
        color: #ffffff;
    }

    .header.scrolled .navigation {
        background: rgba(255,255,255,.98);
        border-bottom: 1px solid #e2e8f0;
    }

    .header.scrolled .navigation > a {
        color: #475569;
    }

    .header.scrolled .menu-toggle {
        color: #172033;
    }
}


/* ==========================================
   AIBO SYSTEM - SCROLL PARALLAX
========================================== */

.hero::before {
    transform: translate3d(0, var(--parallax-offset, 0px), 0);
    transition: transform .12s linear;
}

@media (prefers-reduced-motion: reduce) {
    .hero::before {
        transform: none;
        transition: none;
    }
}


/* Fixed header layout correction */

body {
    padding-top: 0;
}

.hero {
    margin-top: 0;
}

section[id],
main[id] {
    scroll-margin-top: 95px;
}

html {
    scroll-behavior: smooth;
}
/* =========================================
   PREMIUM SERVICE CARDS
========================================= */

.services-grid .service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 14px;

    opacity: 0;
    transform: translateY(30px) scale(0.985);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.services-grid .service-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.services-grid .service-card:hover {
    transform: translateY(-7px) scale(1.015);
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

/* Featured AI card */

.services-grid .service-card.featured {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(
        145deg,
        #f5f9ff,
        #ffffff
    );
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.07);
}

.services-grid .service-card.featured:hover {
    border-color: #2563eb;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.18);
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .services-grid .service-card,
    .services-grid .service-card.visible,
    .services-grid .service-card:hover {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   AIBO SYSTEM - SERVICES PAGE LAYOUT
========================================= */

.services-page .service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding: 75px 55px;
    margin-bottom: 35px;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.035);
}

.services-page .service-details:nth-child(even) .service-visual {
    order: 2;
}

.services-page .service-details:nth-child(even) .service-information {
    order: 1;
}

.services-page .service-visual {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eff6ff, #f8fafc);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.services-page .service-visual span {
    font-size: 76px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: -5px;
}

.services-page .service-information {
    min-width: 0;
}

.services-page .service-information .service-number {
    margin-bottom: 25px;
}

.services-page .service-information h2 {
    font-size: 32px;
    margin: 12px 0 18px;
    line-height: 1.2;
}

.services-page .service-information h3 {
    font-size: 19px;
    margin: 28px 0 14px;
}

.services-page .service-information p,
.services-page .service-information li {
    line-height: 1.8;
    color: #475569;
}

.services-page .service-information ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.services-page .service-information a {
    display: inline-block;
    margin-top: 20px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.services-page .service-information a:hover {
    color: #1d4ed8;
}

/* Responsive layout */

@media (max-width: 900px) {
    .services-page .service-details {
        gap: 35px;
        padding: 40px 30px;
    }

    .services-page .service-information h2 {
        font-size: 27px;
    }
}

@media (max-width: 700px) {
    .services-page .service-details {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .services-page .service-details:nth-child(even) .service-visual,
    .services-page .service-details:nth-child(even) .service-information {
        order: initial;
    }

    .services-page .service-visual {
        min-height: 190px;
    }

    .services-page .service-visual span {
        font-size: 58px;
    }

    .services-page .service-information h2 {
        font-size: 25px;
    }
}
/* Services page images */

.services-page .service-visual {
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
}

.services-page .service-visual img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.services-page .service-visual:hover img {
    transform: scale(1.04);
}
/* ABOUT PAGE - TEXT ONLY */

.about-page .about-text-only {
    width: 100%;
    max-width: 850px;
    margin: 0;
    padding: 35px 0;
}

.about-page .about-text-only .service-information {
    width: 100%;
    margin: 0;
}

.about-page .about-text-only h2 {
    margin-bottom: 20px;
}

.about-page .about-text-only p {
    line-height: 1.8;
    margin-bottom: 18px;
}
/* =========================================
   CONTACT PAGE – AIBO SYSTEM
========================================= */

.contact-page .contact-details-section {
    padding: 90px 0;
}

.contact-page .contact-details-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

/* CONTACT INFORMATION */

.contact-page .contact-information {
    padding: 35px 0;
}

.contact-page .contact-information h2,
.contact-page .contact-form-container h2 {
    font-size: 32px;
    line-height: 1.25;
    margin: 15px 0 20px;
}

.contact-page .contact-information > p,
.contact-page .contact-form-container > p {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 30px;
}

.contact-page .contact-info-item {
    padding: 22px 0;
    border-bottom: 1px solid #e5eaf1;
}

.contact-page .contact-info-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2563eb;
    margin-bottom: 10px;
}

.contact-page .contact-info-item a {
    display: inline-block;
    color: #172554;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-page .contact-info-item a:hover {
    color: #2563eb;
}

.contact-page .contact-info-item p {
    color: #475569;
    font-size: 16px;
    line-height: 2;
    margin: 0;
}


/* CONTACT FORM PANEL */

.contact-page .contact-form-container {
    background: #ffffff;
    padding: 45px;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.07);
}

.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.contact-page .form-group label {
    color: #172554;
    font-size: 14px;
    font-weight: 600;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #f8fafc;
    color: #172554;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-page .form-group input {
    min-height: 50px;
}

.contact-page .form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder {
    color: #94a3b8;
}

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.contact-page .form-notice {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

.contact-page .contact-form button {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    opacity: 0.75;
}

.contact-page .form-status {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}


/* CONTACT PAGE RESPONSIVE */

@media (max-width: 900px) {

    .contact-page .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-page .contact-information {
        padding: 0;
    }

    .contact-page .contact-form-container {
        padding: 35px;
    }

}

@media (max-width: 600px) {

    .contact-page .contact-details-section {
        padding: 55px 0;
    }

    .contact-page .contact-information h2,
    .contact-page .contact-form-container h2 {
        font-size: 26px;
    }

    .contact-page .contact-form-container {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .contact-page .contact-form {
        gap: 17px;
    }

}
/* =========================================
   HONEYPOT ANTI-SPAM FIELD
========================================= */

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================
   FIX - SERVICE NUMBERS POSITIONING
========================================= */

.services-page .service-information .service-number {
    position: static;
    top: auto;
    right: auto;
    display: block;
    margin-bottom: 25px;
}

/* ABOUT PAGE - HERO TITLE WIDTH FIX */

.about-page .hero h1 {
    max-width: 900px;
}