@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CONFIGURATION --- */
:root {
    --bg-primary: #050608;
    --bg-secondary: #0a0c10;
    --bg-card: rgba(19, 23, 32, 0.4);
    --bg-card-hover: rgba(44, 165, 195, 0.05);
    --accent-blue: #2ca5c3;
    --accent-blue-hover: #228b9e;
    --accent-blue-glow: rgba(44, 165, 195, 0.4);
    --accent-blue-light: rgba(44, 165, 195, 0.06);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-muted: #475569;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(44, 165, 195, 0.2);
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: -0.03em;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

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

/* --- SCROLL ANIMATIONS (HIGHLY CUSTOMIZED) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(35px) scale(0.97);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Delay modifiers for stagger waves */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Word stagger reveal in Hero */
.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title.animated .word {
    opacity: 1;
    transform: translateY(0);
}

/* --- AESTHETIC BACKGROUND ELEMENTS --- */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: space-around;
}

.bg-lines span {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.015) 50%, rgba(255, 255, 255, 0) 100%);
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

.blob-1 {
    top: 10%;
    left: 5%;
    width: 450px;
    height: 450px;
    background: var(--accent-blue);
}

.blob-2 {
    top: 40%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-blue-hover);
}

.blob-3 {
    bottom: 15%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-accent {
    color: var(--accent-blue);
}

.section-padding {
    padding: 130px 0;
    position: relative;
    z-index: 2;
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 4px 0;
    background: rgba(5, 6, 8, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

header.scrolled .nav-wrapper {
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    filter: brightness(1.2);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: var(--font-headings);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: var(--accent-blue-light);
    border: 1px solid var(--border-accent);
    color: var(--text-white);
    padding: 10px 22px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue-glow);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 130px;
    padding-bottom: 90px;
    background: radial-gradient(circle at center, rgba(15, 17, 21, 0.1) 0%, var(--bg-primary) 90%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-blue-light);
    border: 1px solid var(--border-accent);
    color: var(--accent-blue);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.08em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 165, 195, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(44, 165, 195, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 165, 195, 0);
    }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 28px;
}

.glow-text {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(44, 165, 195, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 44px;
    max-width: 620px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* --- HERO CARD FLOATING --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    z-index: 1;
}

.hero-main-card {
    background: linear-gradient(135deg, rgba(19, 23, 32, 0.6) 0%, rgba(23, 29, 39, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-accent);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.hero-main-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(to bottom, rgba(44, 165, 195, 0.08), transparent);
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hero-card-badge {
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.hero-card-icon {
    color: var(--accent-blue);
    font-size: 1.4rem;
}

.hero-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-card-body p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

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

.stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: var(--font-headings);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.04em;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(44, 165, 195, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover) !important;
    box-shadow: 0 8px 25px rgba(44, 165, 195, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--text-gray);
    transform: translateY(-2px);
}

/* --- SECTION GENERAL HEADINGS --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 10;
}

.section-tag {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    display: block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-blue);
    margin: 15px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 650px;
    margin: 20px auto 0 auto;
    display: block;
}

/* --- AGENCY / TEAM SECTION (SEGMENT CONTRAST) --- */
.agency-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    box-shadow: inset 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 -30px 60px rgba(0, 0, 0, 0.5);
}

.agency-section::before,
.agency-section::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.agency-section::before { top: 0; }
.agency-section::after { bottom: 0; }

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: flex-start;
}

.side-statement {
    font-size: 2.3rem;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-badge {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
}

.feature-badge:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    background-color: var(--bg-card-hover);
    box-shadow: 0 8px 24px rgba(44, 165, 195, 0.1);
}

.feature-badge i {
    color: var(--accent-blue);
    font-size: 1.35rem;
}

.feature-badge span {
    font-size: 0.9rem;
    font-weight: 700;
}

.team-structure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 28px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(44, 165, 195, 0.15);
    background-color: rgba(19, 23, 32, 0.6);
}

.team-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-blue-light);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* --- LOCALIZATION FOOTNOTE --- */
.localization-footnote {
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.localization-footnote i {
    color: var(--accent-blue);
    opacity: 0.7;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 54px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-white);
    border-color: var(--text-gray);
}

.tab-btn.active {
    background: var(--accent-blue);
    color: var(--text-white);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px var(--accent-blue-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
    display: none;
}

.portfolio-item.show {
    display: block;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.portfolio-img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #020304;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.1) rotate(1deg);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 8, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 24px;
    text-align: center;
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-zoom-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.35rem;
    margin-bottom: 18px;
    transform: translateY(25px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-zoom-icon {
    transform: translateY(0);
}

.portfolio-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.portfolio-item-category {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portfolio-card-info {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-card-title {
    font-size: 1rem;
    font-weight: 600;
}

.portfolio-card-tag {
    font-size: 0.75rem;
    background: var(--accent-blue-light);
    border: 1px solid var(--border-accent);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
}

/* --- THE PLAN & PRICING SECTION --- */
.plan-container {
    max-width: 850px;
    margin: 0 auto;
}

.plan-card {
    background: linear-gradient(135deg, rgba(19, 23, 32, 0.5) 0%, rgba(13, 16, 22, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--border-accent);
    border-radius: var(--border-radius-lg);
    padding: 55px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(44, 165, 195, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.8), 0 0 60px rgba(44, 165, 195, 0.25);
    border-color: var(--accent-blue);
}

.plan-card::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.plan-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--accent-blue);
    color: var(--text-white);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-header {
    margin-bottom: 44px;
    position: relative;
    z-index: 1;
}

.plan-name {
    font-size: 2.1rem;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.plan-desc {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 580px;
}

.plan-features-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-white);
    position: relative;
    z-index: 1;
}

.plan-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.plan-feature-icon {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-feature-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.plan-pricing-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 36px;
    position: relative;
    z-index: 1;
}

.price-currency {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-headings);
}

.price-amount {
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    font-family: var(--font-headings);
}

.price-period {
    font-size: 1.15rem;
    color: var(--text-gray);
}

.price-conditions {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: auto;
}

/* --- CENTERED PLAN CTA BUTTON STYLE --- */
.plan-cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.plan-cta-wrapper .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--accent-blue) !important;
    color: #ffffff !important;
    width: auto !important;
    min-width: 280px !important;
    padding: 18px 48px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: var(--border-radius-sm) !important;
    box-shadow: 0 4px 20px rgba(44, 165, 195, 0.35) !important;
    text-align: center !important;
    border: none !important;
    text-decoration: none !important;
}

.plan-cta-wrapper .btn:hover {
    background-color: var(--accent-blue-hover) !important;
    box-shadow: 0 8px 25px rgba(44, 165, 195, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* --- COOPERATIVE SECTION "IMPULSEMOS TU NEGOCIO" --- */
.cooperative-section {
    background: radial-gradient(circle at center, rgba(44, 165, 195, 0.12) 0%, var(--bg-primary) 70%);
    position: relative;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding: 140px 0;
}

.cooperative-content {
    max-width: 700px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.cooperative-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.cooperative-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin: 0;
}

/* --- FOOTER --- */
footer {
    background-color: #030405;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-copy {
    max-width: 600px;
    margin: 0 auto;
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 6, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    object-fit: contain;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-info {
    margin-top: 24px;
    text-align: center;
    color: var(--text-white);
}

.lightbox-title {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.lightbox-category {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
}

/* Controls */
.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--text-white);
    font-size: 2rem;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--accent-blue);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-white);
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition-smooth);
    z-index: 2010;
}

.lightbox-nav:hover {
    opacity: 1;
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.lightbox-prev {
    left: -90px;
}

.lightbox-next {
    right: -90px;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- RESPONSIVE & MOBILE DESIGN --- */
@media (max-width: 992px) {
    .section-padding {
        padding: 90px 0;
    }
    
    .hero {
        padding-top: 130px;
        padding-bottom: 70px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 40px auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .lightbox-prev {
        left: 10px;
        background: rgba(7, 8, 10, 0.7);
    }
    
    .lightbox-next {
        right: 10px;
        background: rgba(7, 8, 10, 0.7);
    }
    
    .lightbox-close {
        right: 10px;
        top: -60px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 75px 0;
    }
    
    /* REMOVE NAVIGATION MENU ON MOBILE */
    .nav-menu {
        display: none !important;
    }
    
    /* CENTER ALIGN MOBILE HEADER */
    .nav-wrapper {
        justify-content: center;
        height: 70px;
    }
    
    .logo-container {
        margin: 0 auto;
    }
    
    /* MOBILE HERO OPTIMIZATION - PRO FORMAT */
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 50px;
    }
    
    .hero-tag {
        margin-bottom: 20px;
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.25;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 14px;
        padding: 0 10px;
    }
    
    .hero-cta-group .btn {
        width: 100%;
        padding: 16px;
    }
    
    .hero-main-card {
        padding: 24px;
        max-width: 100%;
    }
    
    /* ABOUT / TEAM */
    .about-content {
        text-align: center;
    }
    
    .about-content h3 {
        font-size: 1.7rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-badge {
        justify-content: center;
    }
    
    .team-structure {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .team-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 24px;
    }
    
    .team-icon {
        margin-bottom: 16px;
    }
    
    .localization-footnote {
        margin-top: 40px;
        font-size: 0.8rem;
        padding: 0 10px;
        line-height: 1.4;
    }
    
    /* PORTFOLIO FILTER & GRID */
    .portfolio-tabs {
        gap: 10px;
        margin-bottom: 36px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* THE PLAN CARD */
    .plan-card {
        padding: 36px 20px;
        border-radius: var(--border-radius-md);
    }
    
    .plan-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 24px;
    }
    
    .plan-name {
        font-size: 1.6rem;
    }
    
    .plan-desc {
        font-size: 0.95rem;
    }
    
    .plan-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }
    
    .plan-pricing-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding-top: 28px;
    }
    
    .price-amount {
        font-size: 3.8rem;
    }
    
    .price-conditions {
        margin-left: 0;
        margin-top: 6px;
    }
    
    /* FORCE FULL WIDTH ONLY ON MOBILE FOR TOUCH TARGETS */
    .plan-cta-wrapper .btn {
        width: 100% !important;
        min-width: 100% !important;
        padding: 18px !important;
    }
    
    /* COOPERATIVE CTA */
    .cooperative-section {
        padding: 90px 0;
    }
    
    .cooperative-title {
        font-size: 2.1rem;
        line-height: 1.3;
    }
    
    .cooperative-desc {
        font-size: 1rem;
    }
}

/* Correcciones para celular */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.price-main {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 4px;
}

.price-currency,
.price-amount,
.price-period {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-conditions {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}
