/* Lightweight responsive styling for the cloud accounting landing page */

:root {
    --bg: #eef4fb;
    --surface: #ffffff;
    --surface-alt: #f8fbff;
    --border: rgba(15, 23, 42, 0.12);
    --text: #0f172a;
    --muted: #475569;
    --brand: #0f3d63;
    --brand-strong: #0b2545;
    --accent: #16a34a;
    --accent-2: #0ea5e9;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --radius: 22px;
    --radius-sm: 16px;
    --container-width: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 26%),
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.08), transparent 24%),
        var(--bg);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-strong);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.45);
    outline-offset: 3px;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container-width), calc(100% - 2rem));
}

.narrow {
    width: min(860px, calc(100% - 2rem));
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text);
}

.brand:hover {
    color: var(--text);
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-strong), var(--brand));
    box-shadow: var(--shadow-soft);
}

.brand-text {
    font-size: 1.02rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.nav-toggle-lines {
    width: 20px;
    display: grid;
    gap: 4px;
}

.nav-toggle-lines span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-panel a {
    color: var(--muted);
    font-weight: 600;
}

.nav-panel a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 4.5rem 0 3rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.28), transparent 22%),
        radial-gradient(circle at 80% 0%, rgba(22, 163, 74, 0.20), transparent 18%),
        linear-gradient(135deg, #071521 0%, #0b2545 48%, #0f3d63 100%);
    color: #fff;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -45% auto;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(20px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 11ch;
}

.hero-lead {
    margin: 1.1rem 0 0;
    max-width: 60ch;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-2), #1d4ed8);
    box-shadow: 0 16px 28px rgba(14, 165, 233, 0.24);
}

.button--primary:hover {
    color: #fff;
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.30);
}

.button--secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover,
.button--ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: transparent;
}

.button--full {
    width: 100%;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
    padding: 0;
    margin: 1.7rem 0 0;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.88);
}

.point-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #7dd3fc, #34d399);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.hero-panel {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: calc(var(--radius) + 8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(2, 8, 23, 0.30);
}

.panel-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.panel-title {
    margin: 0.7rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.panel-copy {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.stat-card,
.feature-card,
.pricing-card,
.contact-card,
.link-card,
.faq-item,
.form-control {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    display: grid;
    gap: 0.45rem;
    align-content: start;
    padding: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    color: var(--brand);
    flex: 0 0 auto;
}

.stat-card .feature-icon {
    color: #fff;
}

.stat-card strong {
    font-size: 0.98rem;
}

.stat-card span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.panel-links a {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.panel-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.breadcrumb-wrap {
    padding: 1rem 0 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    margin: 0;
    padding: 0.85rem 0;
    list-style: none;
    color: var(--muted);
}

.breadcrumbs li + li::before {
    content: '/';
    margin-right: 0.55rem;
    color: rgba(71, 85, 105, 0.55);
}

.breadcrumbs a {
    color: var(--brand);
    font-weight: 600;
}

.section {
    padding: 4.5rem 0;
    scroll-margin-top: 95px;
}

.section-alt {
    background: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading h2,
.contact-card h3,
.feature-card h3,
.pricing-card h3 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.section-heading p {
    margin: 0.8rem auto 0;
    max-width: 68ch;
    color: var(--muted);
}

.section .narrow > p,
.section .narrow ul,
.section .narrow ol {
    color: var(--muted);
}

.section .narrow p {
    margin-top: 1rem;
}

.section .narrow h3 {
    margin-top: 2rem;
    font-size: 1.2rem;
}

.section .narrow ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.section .narrow li + li {
    margin-top: 0.55rem;
}

.card-grid,
.pricing-grid,
.link-grid,
.contact-grid {
    row-gap: 1.4rem;
}

.feature-card,
.pricing-card,
.contact-card,
.link-card,
.faq-item {
    padding: 1.35rem;
}

.feature-card {
    height: 100%;
}

.feature-card .feature-icon {
    margin-bottom: 0.95rem;
}

.feature-card p,
.pricing-card p,
.contact-card p {
    color: var(--muted);
}

.feature-card h3 {
    font-size: 1.15rem;
}

.pricing-card {
    height: 100%;
    display: grid;
    gap: 0.95rem;
}

.pricing-card--featured {
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 22px 60px rgba(14, 165, 233, 0.12);
}

.pricing-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pricing-card ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.pricing-card li + li {
    margin-top: 0.45rem;
}

.link-card {
    display: flex;
    align-items: center;
    min-height: 100%;
    color: var(--text);
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover {
    color: var(--brand);
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.28);
    box-shadow: var(--shadow);
}

.faq-list {
    display: grid;
    gap: 0.95rem;
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 800;
    color: var(--text);
    cursor: pointer;
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 61, 99, 0.08);
    color: var(--brand);
    font-size: 1.15rem;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-item > div {
    padding-top: 0.95rem;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
}

.contact-card {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.contact-card h3 {
    font-size: 1.3rem;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
    color: var(--muted);
}

.contact-line a,
.contact-line span {
    color: var(--text);
    word-break: break-word;
}

.contact-icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.18rem;
    fill: currentColor;
    color: var(--brand);
    flex: 0 0 auto;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.social-button span[aria-hidden="true"] {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.social-button--facebook { background: linear-gradient(135deg, #1d4ed8, #0f3d63); }
.social-button--instagram { background: linear-gradient(135deg, #db2777, #7c3aed); }
.social-button--tiktok { background: linear-gradient(135deg, #111827, #374151); }
.social-button--linkedin { background: linear-gradient(135deg, #0a66c2, #0f3d63); }

.contact-form {
    padding: 1.45rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.form-grid {
    row-gap: 1rem;
    margin-bottom: 1rem;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    color: var(--text);
    background: #fff;
    box-shadow: none;
}

.form-control:focus {
    border-color: rgba(14, 165, 233, 0.55);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

textarea.form-control {
    min-height: 164px;
    resize: vertical;
}

.form-alert {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-weight: 600;
}

.form-alert--success {
    color: #14532d;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.22);
}

.form-alert--error {
    color: #7f1d1d;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.site-footer {
    padding: 1.7rem 0;
    color: #fff;
    background: #071521;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-footer a {
    color: #b8dbff;
}

.site-footer a:hover {
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.36);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-panel a {
        width: 100%;
        padding: 0.85rem 0.15rem;
    }

    .site-nav {
        position: relative;
    }

    .hero {
        padding-top: 3.25rem;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .stat-grid,
    .social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero h1 {
        max-width: 12ch;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button,
    .panel-links a,
    .social-button {
        width: 100%;
    }

    .contact-form,
    .hero-panel,
    .feature-card,
    .pricing-card,
    .contact-card,
    .faq-item,
    .link-card {
        border-radius: 18px;
    }

    .footer-grid {
        flex-direction: column;
    }
}

@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;
        scroll-behavior: auto !important;
    }
}