/*
Theme Name: Sync Technologies
Theme URI: https://syncautomations.ro
Author: Sync Technologies
Author URI: https://syncautomations.ro
Description: Corporate theme for Sync Technologies — RPA, AI & Quality Assurance
Version: 1.0.0
License: Proprietary
Text Domain: sync-tech
*/

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
    --bg-deep: #0b1120;
    --bg-primary: #0f1729;
    --bg-elevated: #151f35;
    --bg-card: #1a2540;
    --bg-card-hover: #1f2d4d;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #7ba8e4;
    --blue-400: #5b93d5;
    --blue-500: #3b7dd8;
    --blue-600: #2563a0;
    --blue-700: #1e4f80;
    --mint-300: #7bc4ad;
    --mint-400: #5db898;
    --text-primary: #e8ecf4;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-subtle: rgba(91, 147, 213, 0.08);
    --border-light: rgba(91, 147, 213, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── Utilities ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; position: relative; }
.section-label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-400);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--blue-500);
    border-radius: 1px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.7;
}
.accent {
    background: linear-gradient(135deg, var(--blue-200), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
}
.nav-logo img { height: 72px; width: auto; background: transparent; }
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--blue-400); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s;
    position: relative;
}
.nav-links a:hover { color: var(--blue-300); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-400);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1px;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400)) !important;
    color: var(--bg-deep) !important;
    padding: 0.5rem 1.4rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    transition: all 0.3s !important;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59, 125, 216, 0.25);
}
.nav-cta::after { display: none !important; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 96px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 125, 216, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 147, 213, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 147, 213, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 125, 216, 0.08);
    border: 1px solid rgba(59, 125, 216, 0.15);
    border-radius: 50px;
    padding: 0.35rem 1.1rem 0.35rem 0.65rem;
    font-size: 0.78rem;
    color: var(--blue-300);
    font-weight: 500;
    margin-bottom: 1.8rem;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--blue-400);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.4rem;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
    color: var(--bg-deep);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(59, 125, 216, 0.3);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.92rem;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
    border-color: var(--blue-400);
    color: var(--blue-300);
    background: rgba(59, 125, 216, 0.05);
}

/* ── Services ──────────────────────────────────────────────────── */
#services { background: var(--bg-primary); }
.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover {
    border-color: rgba(91, 147, 213, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 125, 216, 0.08);
    border: 1px solid rgba(59, 125, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tag {
    font-size: 0.72rem;
    color: var(--blue-300);
    background: rgba(59, 125, 216, 0.06);
    border: 1px solid rgba(59, 125, 216, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-weight: 500;
}

/* ROQA AI branded card */
.service-card-roqa {
    border-color: rgba(123, 196, 173, 0.15);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.service-card-roqa::before {
    background: linear-gradient(90deg, var(--mint-400), var(--mint-300));
}
.service-card-roqa:hover {
    border-color: rgba(123, 196, 173, 0.25);
}
.service-card-roqa .service-icon {
    background: rgba(123, 196, 173, 0.08);
    border-color: rgba(123, 196, 173, 0.12);
}
.service-card-roqa .service-tag {
    color: var(--mint-300);
    background: rgba(123, 196, 173, 0.06);
    border-color: rgba(123, 196, 173, 0.1);
}
.roqa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint-300);
    background: rgba(123, 196, 173, 0.08);
    border: 1px solid rgba(123, 196, 173, 0.15);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}
.roqa-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.roqa-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.roqa-feature svg { flex-shrink: 0; margin-top: 3px; }
.roqa-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mint-300);
    transition: gap 0.3s;
}
.roqa-cta:hover { gap: 0.7rem; }

/* ── About ─────────────────────────────────────────────────────── */
#about { background: var(--bg-deep); }
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}
.about-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    text-align: center;
}
.about-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-300);
    line-height: 1;
}
.about-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}
.about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.about-text p strong { color: var(--text-primary); font-weight: 600; }

/* ── Support ───────────────────────────────────────────────────── */
#support { background: var(--bg-primary); }
.support-header { text-align: center; margin-bottom: 3rem; }
.support-header .section-subtitle { margin: 0 auto; }
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.35s;
}
.support-card:hover {
    border-color: rgba(91, 147, 213, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.support-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(59, 125, 216, 0.08);
    border: 1px solid rgba(59, 125, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.support-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.support-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.support-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-300);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s;
}
.support-link:hover { gap: 0.6rem; }

/* ── Contact ───────────────────────────────────────────────────── */
#contact { background: var(--bg-deep); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info .section-title { margin-bottom: 1rem; }
.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.contact-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(59, 125, 216, 0.08);
    border: 1px solid rgba(59, 125, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.form-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue-400);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-submit {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
    color: var(--bg-deep);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s;
}
.form-submit:hover {
    box-shadow: 0 8px 24px rgba(59, 125, 216, 0.3);
    transform: translateY(-1px);
}
.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.form-status {
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: none;
}
.form-status-success {
    display: block;
    background: rgba(123, 196, 173, 0.1);
    border: 1px solid rgba(123, 196, 173, 0.2);
    color: var(--mint-300);
}
.form-status-error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 2.5rem 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.25s;
}
.footer-links a:hover { color: var(--blue-300); }

/* Hide reCAPTCHA v3 badge (attribution is in footer text) */
.grecaptcha-badge { visibility: hidden !important; }

/* ── Animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── Support Page ──────────────────────────────────────────────── */
.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: var(--bg-primary);
}
.page-hero .section-subtitle { margin: 0 auto; }
.support-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.support-topic {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.35s;
}
.support-topic:hover {
    border-color: rgba(91, 147, 213, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.support-topic h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.support-topic p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.support-contact-banner {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
}
.support-contact-banner h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.support-contact-banner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card-roqa { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .support-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .support-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    section { padding: 3rem 0; }
    .container { padding: 0 1.2rem; }
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 96px;
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, 0.97);
        backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-toggle { display: block; }
    .services-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}