/* ============================================
   PACS4ME - Marketing Landing Page
   Dark Theme with Medical Background
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.15);
    --accent: #06b6d4;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --bg-dark: #0a0e1a;
    --bg-section-dark: #0d1224;
    --bg-section-medium: #111827;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(37, 99, 235, 0.5);
    --success: #10b981;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 64px;
}

.section-header.light h2 {
    color: var(--text-white);
}

.section-header.light p {
    color: var(--text-muted);
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--primary);
    color: white !important;
    border-radius: 10px;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
    padding: 12px 0;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* === HERO === */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/bg.webp') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 26, 0.92) 0%,
        rgba(10, 14, 26, 0.75) 50%,
        rgba(10, 14, 26, 0.60) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-item i { color: var(--success); }

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: min(100%, 680px);
    max-width: 680px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

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

/* === SECTIONS === */
.section-dark {
    padding: 100px 0;
    background-image:
        linear-gradient(135deg, rgba(13, 18, 36, 0.95) 0%, rgba(13, 18, 36, 0.92) 100%),
        url('../img/fondo.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.section-medium {
    padding: 100px 0;
    background-image:
        linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.92) 100%),
        url('../img/fondo2.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* === SCREENSHOTS === */
.shots-carousel {
    max-width: 1160px;
    margin: 0 auto;
}

.shots-stage {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    overflow: hidden;
}

.shots-main {
    margin: 0;
}

.shots-main img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: rgba(6, 12, 24, 0.88);
}

.shots-main figcaption {
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text);
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.75);
}

.shot-control {
    position: absolute;
    top: calc(50% - 26px);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(10, 14, 26, 0.78);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
}

.shot-control:hover {
    border-color: var(--border-hover);
    background: rgba(37, 99, 235, 0.24);
    color: #fff;
}

.shot-control-prev {
    left: 14px;
}

.shot-control-next {
    right: 14px;
}

.shots-thumbs {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.shot-thumb {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    color: var(--text-muted);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.shot-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.shot-thumb span {
    display: block;
    padding: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.35;
}

.shot-thumb:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.shot-thumb.is-active {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.45) inset;
    color: var(--text);
}

/* === VALUE GRID (Que es) === */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.value-card h3, .value-card h2.h3-replaced {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === STEPS (Como funciona) === */
.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.step-card {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 4px;
    margin-top: 60px;
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.5;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 16px;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.step-card h3, .step-card h2.h3-replaced {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.workflow-timeline {
    margin-top: 34px;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
}

.workflow-timeline h3, .workflow-timeline h2.h3-replaced {
    margin-bottom: 6px;
    color: white;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
}

.workflow-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.workflow-stack {
    position: relative;
    padding-left: 54px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.workflow-axis {
    position: absolute;
    left: 22px;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        rgba(148, 163, 184, 0.38) 0%,
        rgba(148, 163, 184, 0.28) 100%
    );
}

.workflow-step {
    position: relative;
}

.workflow-dot {
    position: absolute;
    left: -36px;
    top: 26px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.78);
    border: 2px solid rgba(10, 14, 26, 0.95);
    z-index: 2;
}

.workflow-step.is-open .workflow-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.workflow-head {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.workflow-head:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow);
}

.workflow-step.is-open .workflow-head {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.workflow-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.workflow-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.workflow-title-wrap strong {
    display: block;
    color: var(--text-white);
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.workflow-title-wrap small {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.workflow-head-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.workflow-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: 999px;
    padding: 5px 10px;
}

.workflow-chevron {
    color: var(--text);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.workflow-step.is-open .workflow-chevron {
    transform: rotate(180deg);
}

.workflow-body {
    display: none;
    margin-top: 10px;
    background: rgba(10, 14, 26, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    animation: workflowBodyFade 0.22s ease;
}

.workflow-step.is-open .workflow-body {
    display: block;
}

.workflow-thread-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.workflow-thread-list li {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.workflow-thread-list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 0.52em;
    left: 0;
    background: var(--accent);
}

@keyframes workflowBodyFade {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steps-cta {
    margin-top: 48px;
    text-align: center;
}

.prepaid-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 12px;
    padding: 16px 28px;
    color: var(--text);
    font-size: 0.95rem;
}

.prepaid-highlight i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* === AUDIENCE === */
/* === PROFESSIONALS === */
.prof-block {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.prof-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.prof-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.prof-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prof-icon i {
    font-size: 1.4rem;
    color: white;
}

.prof-header h3, .prof-header h2.h3-replaced {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.prof-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.prof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.prof-item {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.prof-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.prof-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prof-item-icon i {
    font-size: 1rem;
    color: var(--primary);
}

.prof-item h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.prof-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--bg-card);
}

.feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-card);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    padding: 32px 32px 16px;
    text-align: center;
}

.pricing-header h3, .pricing-header h2.h3-replaced {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-body {
    padding: 0 32px 32px;
    text-align: center;
}

.pricing-amount {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.pricing-qty {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pricing-label {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-profile {
    font-size: 0.82rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: rgba(6,182,212,0.08);
    border-radius: 8px;
    line-height: 1.4;
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text);
}

.pricing-features i {
    color: var(--success);
    font-size: 0.85rem;
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-note i {
    margin-right: 6px;
    color: var(--primary);
}

.pricing-note a {
    color: var(--primary);
    font-weight: 600;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* === ALMACENAMIENTO HISTORICO === */
.storage-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.storage-header {
    text-align: center;
    margin-bottom: 48px;
}

.storage-header .section-tag.accent {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.storage-header .section-tag i {
    margin-right: 6px;
}

.storage-header h3, .storage-header h2.h3-replaced {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-top: 16px;
    margin-bottom: 12px;
}

.storage-header p {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.storage-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.storage-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.storage-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.15);
    transform: scale(1.05);
}

.storage-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.storage-badge {
    background: var(--accent);
    color: #0a0e1a;
    text-align: center;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.storage-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.storage-size {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.storage-size span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 2px;
}

.storage-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.storage-features {
    text-align: left;
    margin-bottom: 28px;
}

.storage-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.88rem;
    color: var(--text);
}

.storage-features i {
    color: var(--accent);
    font-size: 0.8rem;
}

.btn-accent {
    background: var(--accent);
    color: #0a0e1a;
    font-weight: 700;
}

.btn-accent:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
    font-weight: 600;
}

.btn-outline-accent:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.storage-note {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.storage-note i {
    margin-right: 6px;
    color: var(--accent);
}

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--bg-card);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-align: left;
    font-family: inherit;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === CTA === */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1224 0%, #162042 50%, #0d1224 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    font-style: italic;
}

.cta-content > p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder { color: var(--text-muted); }

.form-group select {
    color: var(--text-muted);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    color: #1e293b;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 0.85rem;
    color: #64748b;
}

.cta-note i { margin-right: 4px; }

.cta-contact {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cta-contact a {
    color: var(--primary);
    font-weight: 600;
}

.cta-contact a:hover {
    text-decoration: underline;
}

/* === PORTAL LOGIN MODAL === */
body.modal-open {
    overflow: hidden;
}

.portal-login-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.portal-login-modal.open {
    display: flex;
}

.portal-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 20, 0.75);
    backdrop-filter: blur(4px);
}

.portal-login-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(22, 32, 66, 0.96) 0%, rgba(13, 18, 36, 0.98) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 28px;
}

.portal-login-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.portal-login-modal__close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.portal-login-modal h3, .portal-login-modal h2.h3-replaced {
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.portal-login-modal > .portal-login-modal__dialog > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.portal-login-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 16px;
}

.portal-login-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.portal-login-row .form-group {
    margin: 0;
}

.portal-login-row .btn {
    height: 50px;
    justify-content: center;
}

.portal-login-hint {
    margin-top: 12px;
    font-size: 0.86rem;
    color: #8ea6cb;
}

.portal-login-hint i {
    margin-right: 6px;
    color: var(--success);
}

/* === FOOTER === */
.footer {
    padding: 64px 0 30px;
    background:
        radial-gradient(1200px 320px at 10% -20%, rgba(37, 99, 235, 0.14), transparent 55%),
        radial-gradient(900px 260px at 90% -15%, rgba(6, 182, 212, 0.10), transparent 60%),
        var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer .container {
    max-width: 1240px;
    padding: 0 clamp(28px, 5vw, 80px);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: start;
    gap: 48px;
    padding: 6px 0 38px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 470px;
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover { color: white; }

.footer-contact {
    text-align: right;
    justify-self: end;
    padding-left: 32px;
    border-left: 1px solid var(--border);
}

.footer-contact ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer-contact li {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2rem; }

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

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

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

    .audience-featured {
        grid-template-columns: 1fr;
    }

    .audience-featured .audience-icon {
        grid-row: auto;
    }

    .audience-featured .audience-subtitle {
        grid-column: 1;
    }

    .steps-grid {
        flex-wrap: wrap;
        gap: 16px;
    }

    .step-connector { display: none; }
    .step-card { max-width: none; flex: 1 1 calc(50% - 8px); }

    .workflow-thread-list {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

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

    .storage-card.featured {
        transform: scale(1);
    }

    .storage-card.featured:hover {
        transform: translateY(-4px);
    }

    .portal-login-row {
        grid-template-columns: 1fr 1fr;
    }

    .portal-login-row .btn {
        grid-column: 1 / -1;
    }

    .footer .container {
        padding: 0 clamp(24px, 4vw, 56px);
    }

    .footer-grid { gap: 32px; }
}

@media (max-width: 768px) {
    .hero {
        padding: 108px 0 84px;
        min-height: auto;
    }

    .hero-bg,
    .section-dark,
    .section-medium {
        background-attachment: scroll;
    }

    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active { display: flex; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero-ctas { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image { max-width: 500px; margin: 0 auto; }

    .value-grid,
    .features-grid,
    .audience-grid,
    .audience-grid-bottom,
    .pricing-grid,
    .storage-grid {
        grid-template-columns: 1fr;
    }

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

    .prof-item {
        width: 100%;
        min-width: 0;
        padding: 18px 16px;
    }

    .prof-item > div:last-child {
        min-width: 0;
    }

    .prof-item h4,
    .prof-item p {
        overflow-wrap: anywhere;
    }

    .shots-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shot-control {
        width: 40px;
        height: 40px;
        top: calc(50% - 22px);
    }

    .shot-control-prev { left: 10px; }
    .shot-control-next { right: 10px; }

    .audience-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid { flex-direction: column; }
    .step-card { flex: 1 1 100%; }

    .workflow-stack {
        padding-left: 40px;
        gap: 14px;
    }

    .workflow-axis {
        left: 16px;
    }

    .workflow-dot {
        left: -30px;
        top: 22px;
    }

    .workflow-head {
        padding: 14px;
        align-items: flex-start;
        gap: 10px;
    }

    .workflow-head-left {
        flex: 1;
        align-items: flex-start;
        gap: 10px;
    }

    .workflow-head-meta {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 8px;
        min-width: 54px;
        margin-top: 2px;
    }

    .workflow-badge {
        padding: 4px 9px;
        font-size: 0.62rem;
    }

    .workflow-chevron {
        font-size: 1.05rem;
        line-height: 1;
    }

    .workflow-timeline {
        padding: 14px;
    }

    .workflow-timeline h3, .workflow-timeline h2.h3-replaced {
        font-size: 1.4rem;
    }

    .workflow-icon {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .workflow-title-wrap strong {
        font-size: 1.1rem;
    }

    .workflow-title-wrap small {
        font-size: 0.8rem;
    }

    .workflow-body {
        padding: 14px;
    }

    .form-row { grid-template-columns: 1fr; }
    .portal-login-row { grid-template-columns: 1fr; }

    .portal-login-modal {
        padding: 14px;
    }

    .portal-login-modal__dialog {
        padding: 22px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 26px;
    }

    .footer-contact {
        text-align: left;
        justify-self: start;
        padding-left: 0;
        padding-top: 16px;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .footer-contact ul {
        align-items: flex-start;
    }

    .cta-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-header h2 { font-size: 1.6rem; }
    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }

    .shots-thumbs {
        grid-template-columns: 1fr;
    }

    .shots-main figcaption {
        font-size: 0.92rem;
    }
}
