:root {
    --bg-dark: #07110f;
    --bg-darker: #030706;
    --bg-band: #0b1714;
    --bg-card: rgba(13, 28, 24, 0.78);
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --accent: #f59e0b;
    --accent-soft: rgba(245, 158, 11, 0.14);
    --support: #38bdf8;
    --text-main: #f7fbf8;
    --text-muted: #a9bcb6;
    --border-color: rgba(255, 255, 255, 0.12);
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--accent));
    --transition: all 0.25s ease;
    --radius-card: 8px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body::selection {
    background: rgba(20, 184, 166, 0.35);
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    font-size: 4.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 2.65rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

p {
    color: var(--text-muted);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 820px;
}

.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--bg-darker);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-header p {
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.75rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.btn-large {
    min-height: 52px;
    padding: 0.9rem 1.65rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-brand);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.22);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.5);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(3, 7, 6, 0.86);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border-color);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.logo-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: var(--bg-darker);
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    padding: 8.5rem 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('assets/hero_bg.png');
    background-position: center;
    background-size: cover;
    opacity: 0.3;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 7, 6, 0.98) 0%, rgba(7, 17, 15, 0.88) 48%, rgba(3, 7, 6, 0.72) 100%),
        linear-gradient(180deg, rgba(3, 7, 6, 0.18) 0%, var(--bg-dark) 100%);
    content: '';
}

.hero-container {
    display: flex;
    justify-content: flex-start;
}

.hero-text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    max-width: 820px;
}

.hero-text p {
    max-width: 710px;
    margin-bottom: 2.1rem;
    color: #c4d6d1;
    font-size: 1.18rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(20, 184, 166, 0.32);
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.1);
    color: #8af0e4;
    font-size: 0.9rem;
    font-weight: 700;
}

.brand-badge {
    padding-right: 1rem;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.18rem 0.4rem;
    border-radius: 999px;
    background: rgba(3, 7, 6, 0.38);
    color: #f5faf8;
}

.brand-pill--footer {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
}

.brand-pill-logo,
.brand-title-logo,
.brand-link-logo {
    flex: 0 0 auto;
    object-fit: cover;
}

.brand-pill-logo--ids,
.brand-link-logo--ids {
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.brand-pill-logo--ids {
    width: 28px;
    height: 28px;
}

.brand-pill-logo--iurovox {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.badge-separator {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.58);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.58); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.cta-actions {
    justify-content: center;
    margin-top: 1.4rem;
}

.hero-stats {
    display: grid;
    width: min(100%, 760px);
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 2.4rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: var(--border-color);
}

.hero-stats div {
    min-height: 92px;
    padding: 1rem;
    background: rgba(3, 7, 6, 0.65);
}

.hero-stats strong {
    display: block;
    margin-bottom: 0.25rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.hero-stats span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.fusion-grid,
.features-grid,
.process-grid {
    display: grid;
    gap: 1.25rem;
}

.fusion-grid {
    grid-template-columns: repeat(3, 1fr);
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.fusion-panel,
.feature-card,
.pricing-card,
.process-step {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    transition: var(--transition);
}

.fusion-panel,
.feature-card {
    min-height: 250px;
    padding: 1.55rem;
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.brand-title h3 {
    margin-bottom: 0;
}

.brand-title-logo--ids {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.brand-title-logo--iurovox {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.fusion-panel:hover,
.feature-card:hover,
.pricing-card:hover,
.process-step:hover {
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(20, 184, 166, 0.24);
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary);
}

.feature-icon svg {
    width: 23px;
    height: 23px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-card {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: var(--bg-band);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-card::after {
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 6, 0.94) 72%);
    content: '';
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    padding: 1.25rem;
}

.portfolio-content span {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.portfolio-content p {
    color: #d2dfdc;
    font-size: 0.95rem;
}

.portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.brand-link-logo {
    width: 24px;
    height: 24px;
}

.tabs {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    padding: 0.35rem;
    gap: 0.35rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn {
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn:focus-visible {
    color: white;
}

.tab-btn.active {
    background: var(--gradient-brand);
    color: white;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.35s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
    display: grid;
    gap: 1.25rem;
}

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

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 2rem 1.5rem 1.5rem;
}

.pricing-card.popular {
    border-color: rgba(245, 158, 11, 0.62);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(13, 28, 24, 0.86));
}

.popular-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: var(--accent-soft);
    color: #ffd68a;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-header {
    margin-bottom: 0.25rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
}

.pricing-desc {
    min-height: 48px;
    margin-bottom: 1.35rem;
    font-size: 0.92rem;
}

.price {
    margin-bottom: 0.8rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.price span {
    margin-left: 0.3rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.pricing-features {
    flex-grow: 1;
    margin: 1.35rem 0 1.6rem;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    color: #d9e6e2;
    font-size: 0.94rem;
}

.pricing-features svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--primary);
    margin-top: 0.15rem;
}

.process-step {
    min-height: 220px;
    padding: 1.35rem;
}

.process-step span {
    display: inline-flex;
    margin-bottom: 1.2rem;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
}

.faq-list {
    display: grid;
    max-width: 900px;
    margin: 0 auto;
    gap: 0.8rem;
}

.faq-list details {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: var(--bg-card);
}

.faq-list summary {
    padding: 1.1rem 1.25rem;
    color: white;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
}

.faq-list p {
    padding: 0 1.25rem 1.2rem;
}

.cta-banner {
    padding: 5.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(245, 158, 11, 0.09)),
        var(--bg-band);
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darker);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.footer-col .logo {
    margin-bottom: 1rem;
}

.whatsapp-number {
    margin-top: 0.45rem;
    color: #9cf2e8;
    font-weight: 800;
}

.email-text {
    margin-top: 1rem;
}

.footer-bottom {
    padding-top: 1.4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.88rem;
}

.footer-partners {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1100px) {
    h1 {
        font-size: 3.5rem;
    }

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

@media (max-width: 900px) {
    .nav-links,
    .nav-btn {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 7.5rem 0 4rem;
    }

    .fusion-grid,
    .features-grid,
    .grid-3,
    .footer-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4.5rem 0;
    }

    h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-text p,
    .section-header p,
    .cta-banner p {
        font-size: 1rem;
    }

    .hero-cta,
    .hero-cta .btn {
        width: 100%;
    }

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

    .hero-stats div {
        min-height: 76px;
    }

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

    .portfolio-card,
    .portfolio-img {
        min-height: 330px;
    }

    .tabs {
        width: 100%;
        justify-content: flex-start;
    }

    .tab-btn {
        flex: 0 0 auto;
    }

    .brand-badge {
        border-radius: 22px;
    }

    .brand-title {
        align-items: flex-start;
    }

    .brand-title-logo--ids {
        width: 46px;
        height: 46px;
    }

    .brand-title-logo--iurovox {
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
