/* =========================================================
   ZENVERIX — ABOUT PAGE
   Mobbin / Modern SaaS UI
   ========================================================= */

:root {
    --bg: #ffffff;
    --bg-soft: #f8f8f8;
    --bg-card: #ffffff;

    --text: #171717;
    --text-secondary: #666666;
    --text-muted: #8b8b8b;

    --border: #e9e9e9;
    --border-hover: #dcdcdc;

    --primary: #ff4d00;
    --primary-dark: #e63d00;
    --secondary: #ff1f3d;

    --gradient: linear-gradient(135deg, #ff6a00 0%, #ff1744 100%);
    --gradient-soft: linear-gradient(135deg,
            rgba(255, 106, 0, 0.1),
            rgba(255, 23, 68, 0.08));

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.1);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1180px;

    --transition: 0.25s ease;
}


/* =========================================================
   DARK MODE
   ========================================================= */

body.dark-theme {
    --bg: #0c0c0d;
    --bg-soft: #121214;
    --bg-card: #151517;

    --text: #f5f5f5;
    --text-secondary: #a5a5a5;
    --text-muted: #777777;

    --border: #262628;
    --border-hover: #38383b;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

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

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   SCROLL PROGRESS
   ========================================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.1s linear;
}

.scroll-percentage {
    position: fixed;
    right: 22px;
    bottom: 22px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--bg-card);
    color: var(--text);

    font-size: 11px;
    font-weight: 700;

    box-shadow: var(--shadow-md);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);

    z-index: 1000;
}

.scroll-percentage.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-percentage:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 77, 0, 0.35);
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 32px;

    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid transparent;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

body.dark-theme header {
    background: rgba(12, 12, 13, 0.88);
}

header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-name {
    color: var(--text);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#mainNav {
    display: flex;
    align-items: center;
    gap: 6px;
}

#mainNav a {
    position: relative;

    padding: 9px 14px;

    border-radius: 10px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;

    transition:
        color var(--transition),
        background var(--transition);
}

#mainNav a:hover {
    color: var(--text);
    background: var(--bg-soft);
}

#mainNav a.active {
    color: var(--text);
    background: var(--bg-soft);
}

#mainNav a.active::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -1px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--primary);

    transform: translateX(-50%);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle,
.hamburger {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--bg-card);
    color: var(--text-secondary);

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.theme-toggle:hover,
.hamburger:hover {
    color: var(--text);
    background: var(--bg-soft);
    border-color: var(--border-hover);

    transform: translateY(-1px);
}

.hamburger {
    display: none;
}


/* =========================================================
   GENERAL CONTAINER
   ========================================================= */

.section-container,
.content-section {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.about-hero {
    position: relative;

    min-height: 650px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 120px 24px 90px;

    text-align: center;

    overflow: hidden;
}

.about-hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    top: -280px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(circle,
            rgba(255, 91, 0, 0.1) 0%,
            rgba(255, 31, 61, 0.05) 40%,
            transparent 70%);

    pointer-events: none;
}

.badge-top {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border: 1px solid rgba(255, 77, 0, 0.15);
    border-radius: 999px;

    background: var(--gradient-soft);

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff5a00;

    box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1);
}

.about-hero h1 {
    position: relative;

    max-width: 850px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;

    letter-spacing: -3.5px;

    font-weight: 800;

    margin-bottom: 26px;
}

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

.subtitle {
    position: relative;

    max-width: 680px;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 34px;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 45px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;

    padding: 0 19px;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.primary-btn {
    background: var(--gradient);
    color: #fff;

    box-shadow:
        0 8px 25px rgba(255, 77, 0, 0.2);
}

.primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 32px rgba(255, 77, 0, 0.28);
}

.secondary-btn {
    border: 1px solid var(--border);

    background: var(--bg-card);
    color: var(--text);

    box-shadow: var(--shadow-sm);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    background: var(--bg-soft);
}


/* =========================================================
   HERO META
   ========================================================= */

.hero-meta {
    display: flex;
    align-items: center;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);

    overflow: hidden;
}

.hero-meta div {
    min-width: 120px;

    padding: 14px 20px;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-meta div+div {
    border-left: 1px solid var(--border);
}

.hero-meta strong {
    font-size: 17px;
    font-weight: 800;
}

.hero-meta span {
    color: var(--text-muted);
    font-size: 11px;
}


/* =========================================================
   QUOTE
   ========================================================= */

.quote-rotator {
    margin-top: 48px;

    width: min(600px, 100%);

    padding: 18px 22px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);
}

.quote-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 500;
}

.quote-text i {
    color: var(--primary);
    font-size: 12px;
}

#quoteContent {
    transition: opacity 0.25s ease;
}

#quoteContent.fade-out {
    opacity: 0;
}

.quote-dots {
    display: flex;
    justify-content: center;
    gap: 5px;

    margin-top: 12px;
}

.quote-dots span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--border-hover);

    cursor: pointer;

    transition:
        width var(--transition),
        background var(--transition);
}

.quote-dots span.active {
    width: 16px;
    border-radius: 999px;
    background: var(--primary);
}


/* =========================================================
   STATS
   ========================================================= */

.stats-showcase {
    padding: 25px 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);

    overflow: hidden;
}

.stat-box {
    min-height: 180px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    transition: background var(--transition);
}

.stat-box+.stat-box {
    border-left: 1px solid var(--border);
}

.stat-box:hover {
    background: var(--bg-soft);
}

.stat-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--gradient-soft);
    color: var(--primary);

    margin-bottom: 18px;
}

.stat-box .number {
    font-size: 32px;
    line-height: 1;

    font-weight: 800;
    letter-spacing: -1px;

    margin-bottom: 7px;
}

.stat-box .label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.content-section {
    padding: 110px 0;
}

.section-heading {
    max-width: 650px;

    margin-bottom: 45px;
}

.section-heading .eyebrow,
.cta-box .eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 12px;
}

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


/* =========================================================
   MISSION
   ========================================================= */

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.modern-card {
    position: relative;

    padding: 27px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.modern-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 77, 0, 0.22);

    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--gradient-soft);
    color: var(--primary);

    margin-bottom: 22px;
}

.modern-card h3 {
    font-size: 16px;
    margin-bottom: 9px;
}

.modern-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   TEAM
   ========================================================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.team-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 77, 0, 0.22);

    box-shadow: var(--shadow-md);
}

.team-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.avatar {
    position: relative;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--gradient-soft);
    color: var(--primary);

    font-size: 18px;
}

.status {
    position: absolute;

    right: -2px;
    bottom: -2px;

    width: 11px;
    height: 11px;

    border: 2px solid var(--bg-card);
    border-radius: 50%;

    background: #24c76b;
}

.status.away {
    background: #f4a000;
}

.social-icons {
    display: flex;
    gap: 5px;
}

.social-icons a {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--text-muted);

    font-size: 12px;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
    background: var(--gradient-soft);
    border-color: rgba(255, 77, 0, 0.18);
}

.team-card h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.role {
    display: block;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    margin-bottom: 13px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   BACKEND
   ========================================================= */

.backend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.large-card {
    min-height: 310px;

    display: flex;
    flex-direction: column;
}

.large-card .tech-tags {
    margin-top: auto;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-bottom: 18px;
}

.tech-tags span {
    padding: 5px 8px;

    border: 1px solid var(--border);
    border-radius: 7px;

    color: var(--text-secondary);

    background: var(--bg-soft);

    font-size: 10px;
    font-weight: 600;
}

.status-badge {
    align-self: flex-start;

    padding: 6px 9px;

    border-radius: 7px;

    background: rgba(36, 199, 107, 0.08);
    color: #1da95b;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   API
   ========================================================= */

.api-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.api-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.api-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 0, 0.2);
    box-shadow: var(--shadow-md);
}

.api-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.api-card p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;

    margin-bottom: 20px;
}

.api-method {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 7px;

    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
}

.api-method.get {
    color: #16804b;
    background: rgba(22, 128, 75, 0.08);
}

.api-method.post {
    color: #c45c00;
    background: rgba(255, 106, 0, 0.09);
}

.api-method.put {
    color: #6c4bb8;
    background: rgba(108, 75, 184, 0.09);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 14px;
}

.contact-panel,
.online-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);
}

.contact-panel {
    padding: 30px;
}

.contact-panel h3,
.online-panel h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.contact-panel>p,
.online-panel>p {
    color: var(--text-secondary);
    font-size: 13px;
}

.contact-list {
    margin-top: 25px;

    display: flex;
    flex-direction: column;
}

.contact-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;

    padding: 16px 0;

    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item>i {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--gradient-soft);
    color: var(--primary);

    font-size: 13px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item div span {
    color: var(--text-muted);
    font-size: 10px;
    margin-bottom: 2px;
}

.contact-item div strong {
    font-size: 12px;
}

.call-btn {
    min-height: 32px;

    padding: 0 11px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--bg-soft);
    color: var(--text);

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.call-btn:hover {
    color: var(--primary);
    border-color: rgba(255, 77, 0, 0.2);
    background: var(--gradient-soft);
}

.online-panel {
    min-height: 100%;

    padding: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(circle at top right,
            rgba(255, 77, 0, 0.08),
            transparent 45%),
        var(--bg-card);
}

.online-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: var(--gradient-soft);
    color: var(--primary);

    font-size: 28px;

    margin-bottom: 20px;
}

.online-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 22px;

    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(36, 199, 107, 0.08);
    color: #1da95b;

    font-size: 10px;
    font-weight: 700;
}

.online-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #24c76b;

    box-shadow: 0 0 0 4px rgba(36, 199, 107, 0.1);
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--bg-card);

    overflow: hidden;
}

.process-step {
    position: relative;

    padding: 32px;

    min-height: 220px;

    transition: background var(--transition);
}

.process-step+.process-step {
    border-left: 1px solid var(--border);
}

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

.step-number {
    display: block;

    margin-bottom: 40px;

    color: var(--primary);

    font-family: monospace;
    font-size: 12px;
    font-weight: 800;
}

.process-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   TOOLS
   ========================================================= */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.tool-item {
    min-height: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--bg-card);

    color: var(--text-secondary);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.tool-item i {
    font-size: 25px;
}

.tool-item span {
    font-size: 11px;
    font-weight: 600;
}

.tool-item:hover {
    transform: translateY(-4px);

    color: var(--primary);

    border-color: rgba(255, 77, 0, 0.2);

    background: var(--gradient-soft);
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.testimonial-card {
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 77, 0, 0.18);
}

.stars {
    display: flex;
    gap: 3px;

    margin-bottom: 20px;

    color: #ff9f00;

    font-size: 11px;
}

.testimonial-card blockquote {
    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.8;

    margin-bottom: 25px;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-small {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--gradient-soft);
    color: var(--primary);

    font-size: 10px;
    font-weight: 800;
}

.author strong {
    display: block;
    font-size: 11px;
}

.author span {
    display: block;

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    width: min(var(--container), calc(100% - 48px));

    margin: 30px auto 100px;
}

.cta-box {
    position: relative;

    padding: 80px 30px;

    border: 1px solid rgba(255, 77, 0, 0.15);
    border-radius: 28px;

    background:
        radial-gradient(circle at 15% 20%,
            rgba(255, 106, 0, 0.12),
            transparent 35%),
        radial-gradient(circle at 85% 80%,
            rgba(255, 23, 68, 0.1),
            transparent 35%),
        var(--bg-soft);

    text-align: center;

    overflow: hidden;
}

.cta-box h2 {
    max-width: 700px;

    margin: 0 auto 14px;

    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.1;

    letter-spacing: -2.5px;
}

.cta-box p {
    max-width: 500px;

    margin: 0 auto 28px;

    color: var(--text-secondary);

    font-size: 14px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top: 1px solid var(--border);

    padding: 35px 32px;

    background: var(--bg);
}

.footer-main {
    width: min(var(--container), 100%);

    margin: auto;

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

.footer-logo {
    margin-bottom: 8px;
}

.footer-main>div:first-child>p {
    color: var(--text-muted);
    font-size: 11px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 11px;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 22px;
    bottom: 82px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;
    color: #fff;

    font-size: 21px;

    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);

    z-index: 999;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 16px 35px rgba(37, 211, 102, 0.35);
}


/* =========================================================
   DARK MODE REFINEMENTS
   ========================================================= */

body.dark-theme .modern-card,
body.dark-theme .team-card,
body.dark-theme .api-card,
body.dark-theme .testimonial-card,
body.dark-theme .tool-item,
body.dark-theme .stat-box,
body.dark-theme .contact-panel,
body.dark-theme .online-panel,
body.dark-theme .quote-rotator,
body.dark-theme .hero-meta {
    background: var(--bg-card);
}

body.dark-theme .primary-btn {
    box-shadow:
        0 10px 30px rgba(255, 77, 0, 0.18);
}

body.dark-theme .cta-box {
    background:
        radial-gradient(circle at 15% 20%,
            rgba(255, 106, 0, 0.13),
            transparent 35%),
        radial-gradient(circle at 85% 80%,
            rgba(255, 23, 68, 0.12),
            transparent 35%),
        #111113;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    header {
        padding: 0 22px;
    }

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

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

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

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

    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .stat-box+.stat-box {
        border-left: none;
    }

    .stat-box:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .stat-box:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

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

    .process-step:nth-child(3),
    .process-step:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .process-step:nth-child(odd) {
        border-left: none;
    }

    .process-step:nth-child(even) {
        border-left: 1px solid var(--border);
    }

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


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    header {
        height: 68px;
        padding: 0 16px;
    }

    .logo-name {
        font-size: 16px;
    }

    .logo-img {
        width: 29px;
        height: 29px;
    }

    .hamburger {
        display: flex;
    }

    #mainNav {
        position: absolute;

        top: calc(100% + 8px);
        left: 16px;
        right: 16px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 8px;

        border: 1px solid var(--border);
        border-radius: 14px;

        background: var(--bg-card);

        box-shadow: var(--shadow-lg);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    #mainNav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #mainNav a {
        width: 100%;
        padding: 12px 13px;
    }

    #mainNav a.active::after {
        display: none;
    }

    .about-hero {
        min-height: auto;

        padding: 90px 20px 70px;
    }

    .about-hero h1 {
        font-size: clamp(39px, 12vw, 58px);

        letter-spacing: -2.5px;
    }

    .subtitle {
        font-size: 14px;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;

        margin-bottom: 32px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-meta {
        width: 100%;
        max-width: 390px;
    }

    .hero-meta div {
        min-width: 0;
        flex: 1;

        padding: 12px 8px;
    }

    .hero-meta strong {
        font-size: 15px;
    }

    .hero-meta span {
        font-size: 9px;
    }

    .quote-rotator {
        margin-top: 35px;
    }

    .section-container,
    .content-section,
    .cta-section {
        width: min(100% - 32px, var(--container));
    }

    .content-section {
        padding: 75px 0;
    }

    .stats-showcase {
        padding-bottom: 35px;
    }

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

        border-radius: 18px;
    }

    .stat-box {
        min-height: 150px;
        padding: 20px;
    }

    .stat-box .number {
        font-size: 27px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }

    .mission-grid,
    .team-grid,
    .backend-grid,
    .api-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .large-card {
        min-height: auto;
    }

    .contact-panel {
        padding: 22px;
    }

    .contact-item {
        grid-template-columns: 36px 1fr auto;
        gap: 8px;
    }

    .contact-item div strong {
        font-size: 10px;
    }

    .online-panel {
        min-height: 300px;
    }

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

    .process-step {
        min-height: auto;
        padding: 25px;
    }

    .process-step+.process-step {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .process-step:nth-child(even) {
        border-left: none;
    }

    .step-number {
        margin-bottom: 25px;
    }

    .cta-section {
        margin-bottom: 65px;
    }

    .cta-box {
        padding: 60px 20px;
        border-radius: 22px;
    }

    .cta-box h2 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 72px;
    }

    .scroll-percentage {
        right: 16px;
        bottom: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .about-hero h1 {
        font-size: 38px;
    }

    .hero-meta div {
        padding: 11px 5px;
    }

    .hero-meta strong {
        font-size: 14px;
    }

    .hero-meta span {
        font-size: 8px;
    }

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

    .stat-box:nth-child(odd) {
        border-right: none;
    }

    .stat-box+.stat-box {
        border-top: 1px solid var(--border);
    }

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

    .contact-item {
        grid-template-columns: 34px 1fr;
    }

    .contact-item .call-btn {
        grid-column: 2;
        justify-self: start;
        margin-top: 5px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}