/* ============================================
   SynergyX | Precision Digital Engineering
   Vanilla CSS (no Tailwind)
   ============================================ */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --background-dark: #0a0c10;
    --surface-dark: #12151c;
    --accent-muted: #1e293b;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-dark);
    color: var(--slate-200);
    margin: 0;
    line-height: 1.5;
}

body::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(16px);
}

.header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

@media (min-width: 1024px) {
    .header__inner {
        padding: 0 3rem;
    }
}

.logo-img {
    width: 165.6px;
    height: 46px;
}

.nav--desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav--desktop {
        display: flex;
        gap: 2.5rem;
    }
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--white);
}

.nav-toggle .material-symbols-outlined {
    font-size: 40px;
}

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

.nav--mobile {
    display: none;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    background: var(--surface-dark);
    padding: 2rem;
    flex-direction: column;
    gap: 14px;
    z-index: 49;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: flex-start;
    align-items: flex-end;
    font-size: 20px;
    text-align: right;
    vertical-align: middle;
}

.nav--mobile.is-open {
    display: flex;
}

.nav__link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

#mobile-nav .nav__link {
    font-size: 14px;
    color: var(--slate-200);
    text-align: right;
}

.nav__link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.75rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

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

.btn--white {
    background-color: var(--white);
    color: var(--background-dark);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.btn--white:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background-image: radial-gradient(circle at 2px 2px, rgba(14, 165, 233, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero__glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(160px);
}

.hero__glow--1 {
    top: 25%;
    right: -25%;
    background: rgba(14, 165, 233, 0.1);
}

.hero__glow--2 {
    bottom: -25%;
    left: -25%;
    background: rgba(14, 165, 233, 0.05);
}

.hero__content {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero__content {
        max-width: none;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero__badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.hero__badge-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__badge-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 2rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 6.875rem;
    }
}

.hero__title-accent {
    color: var(--primary);
    font-style: italic;
}

.hero__desc {
    font-size: 1.125rem;
    color: var(--slate-400);
    margin: 0 0 3rem;
    max-width: 56rem;
    line-height: 1.6;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero__desc {
        font-size: 1.5rem;
    }
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        gap: 2rem;
    }
}

.hero__link-methodology {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (min-width: 640px) {
    .hero__link-methodology {
        justify-content: flex-start;
    }
}

.hero__link-methodology:hover {
    color: var(--primary);
}

.hero__link-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.hero__link-methodology:hover .hero__link-icon {
    border-color: var(--primary);
}

.hero__link-methodology .material-symbols-outlined {
    font-size: 18px;
}

.hero__link-methodology:hover .material-symbols-outlined {
    color: var(--primary);
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services__pattern {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(14, 165, 233, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.3;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 10;
}

.services__header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .services__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.services__header-left {
    max-width: 40rem;
}

.services__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--primary);
    margin: 0 0 1.5rem;
}

.services__title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
}

@media (min-width: 768px) {
    .services__title {
        font-size: 3.75rem;
    }
}

.services__title-accent {
    color: var(--primary);
    font-style: italic;
    font-size: 1.875rem;
}

@media (min-width: 768px) {
    .services__title-accent {
        font-size: 3rem;
    }
}

.services__desc {
    font-size: 14px;
    color: var(--slate-400);
    font-weight: 300;
    max-width: 20rem;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.glass-panel {
    background: rgba(18, 21, 28, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card {
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.5s;
}

@media (min-width: 768px) {
    .service-card {
        padding: 2.5rem;
    }
}

.service-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: background 0.3s;
}

.service-card:hover .service-card__icon {
    background: rgba(14, 165, 233, 0.2);
}

.service-card__icon .material-symbols-outlined {
    font-size: 1.875rem;
    color: var(--primary);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1rem;
}

.service-card__desc {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

/* ============================================
   Methodology Section
   ============================================ */
.methodology {
    padding: 6rem 0;
}

.methodology__grid {
    display: grid;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .methodology__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.methodology__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--primary);
    margin: 0 0 1.5rem;
}

.methodology__title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 2rem;
}

@media (min-width: 768px) {
    .methodology__title {
        font-size: 3.75rem;
    }
}

.methodology__desc {
    font-size: 1.125rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin: 0 0 2.5rem;
    font-weight: 300;
}

.methodology__features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.methodology__feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.methodology__feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--accent-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.methodology__feature-icon .material-symbols-outlined {
    color: var(--primary);
}

.methodology__feature-title {
    color: var(--white);
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.methodology__feature-desc {
    font-size: 14px;
    color: var(--slate-500);
    margin: 0;
}

.methodology__panel-wrap {
    position: relative;
}

.methodology__panel-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 165, 233, 0.05);
    filter: blur(48px);
    border-radius: 50%;
}

.methodology__panel {
    padding: 2.5rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .methodology__panel {
        padding: 3rem;
    }
}

.methodology__panel-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

@media (min-width: 1024px) {
    .methodology__panel-content {
        text-align: left;
    }
}

.methodology__panel-value {
    font-size: 3.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .methodology__panel-value {
        font-size: 5rem;
    }
}

.methodology__panel-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 2rem;
}

.methodology__panel-line {
    width: 5rem;
    height: 1px;
    background: var(--primary);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .methodology__panel-line {
        margin-left: 0;
        margin-right: 0;
    }
}

.methodology__panel-quote {
    font-size: 1.125rem;
    color: var(--slate-300);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Specialized Domains
   ============================================ */
.domains {
    padding: 6rem 0;
    background: rgba(18, 21, 28, 0.3);
}

.domains__header {
    text-align: center;
    margin-bottom: 4rem;
}

.domains__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--primary);
    margin: 0 0 1rem;
}

.domains__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

@media (min-width: 768px) {
    .domains__title {
        font-size: 3rem;
    }
}

.domains__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .domains__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.domain-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.5s;
}

.domain-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
}

.domain-card__icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.domain-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1rem;
}

.domain-card__desc {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.6;
    margin: 0 0 2rem;
}

.domain-card__link {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.domain-card:hover .domain-card__link {
    color: var(--primary);
}

.domain-card__link .material-symbols-outlined {
    font-size: 14px;
    margin-left: 0.5rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 6rem 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__form-order {
    order: 2;
}

.contact__details-order {
    order: 1;
}

@media (min-width: 1024px) {
    .contact__form-order {
        order: 1;
    }
    .contact__details-order {
        order: 2;
    }
}

.contact__form-wrap {
    padding: 2rem;
    border-radius: 2.5rem;
}

@media (min-width: 768px) {
    .contact__form-wrap {
        padding: 3.5rem;
    }
}

.contact__success {
    padding: 1rem;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact__error {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    border-radius: 0.5rem;
    color: #f87171;
    margin-bottom: 1.5rem;
}

.contact__form-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 2rem;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}

.contact__input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact__input::placeholder {
    color: var(--slate-500);
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.contact__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.contact__textarea {
    min-height: 8rem;
    resize: vertical;
}

.contact__submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.5);
}

.contact__submit:hover {
    background: var(--primary-dark);
}

.contact__details {
    padding-left: 0;
}

@media (min-width: 1024px) {
    .contact__details {
        padding-left: 2.5rem;
    }
}

.contact__title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
    .contact__title {
        font-size: 3rem;
    }
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact__info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__info-icon .material-symbols-outlined {
    color: var(--primary);
}

.contact__info-text {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.6;
    margin: 0;
}

.contact__email {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.contact__email:hover {
    color: var(--primary);
}

.contact__note {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__note p {
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    color: var(--slate-500);
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--background-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer__logo {
    height: 2.5rem;
    margin-bottom: 2rem;
}

.footer__copyright {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(156, 156, 156, 1);
    margin: 20px 0 0 0;
    border: 1px solid rgba(0, 0, 0, 1);
    background: unset;
    background-color: unset;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
}
