:root {
    /* --- ArPyme Design Tokens (palette) --- */
    /* Sky / Blue */
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;

    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;

    /* Amber / Yellow */
    --amber-400: #fbbf24;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --yellow-300: #fde047;
    --yellow-400: #facc15;
    --yellow-500: #eab308;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;

    /* States */
    --emerald-50: #ecfdf5;
    --emerald-600: #059669;
    --red-600: #dc2626;

    /* Colors - Dark Architecture Theme */
    --bg-dark: #0a0a0c;
    /* Deepest black/charcoal */
    --bg-card: #131318;
    /* Slightly lighter for cards */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    /* Accents (dark defaults; light overrides below) */
    --primary: #6366f1;
    --accent: #00f2ea;

    /* Gradients */
    --bg-page: radial-gradient(1200px 800px at 50% -20%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0b0b10 60%, var(--bg-dark) 100%);
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-text: linear-gradient(90deg, #ffffff 0%, #a1a1aa 100%);
    --gradient-text-accent: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-sun: linear-gradient(135deg, var(--amber-400) 0%, var(--yellow-300) 100%);
    --gradient-card-active: linear-gradient(90deg, rgba(99, 102, 241, 0.10) 0%, rgba(0, 242, 234, 0.06) 100%);
    --gradient-progress: linear-gradient(90deg, var(--amber-700) 0%, var(--amber-600) 45%, var(--yellow-400) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --ring: rgba(99, 102, 241, 0.45);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.20);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.35);
    --shadow-primary: 0 10px 24px rgba(99, 102, 241, 0.35);
    --border-radius: 12px;
    --transition: all 0.3s ease;

    /* Font */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Component Colors */
    --bg-header: rgba(10, 10, 12, 0.8);
    --bg-skeleton: rgba(255, 255, 255, 0.1);
    --bg-mock: #1a1a1e;
    --bg-preview: rgba(0, 0, 0, 0.3);
    --bg-featured: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(10, 10, 12, 0.9) 100%);
    --bg-banner: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(10, 10, 12, 0.8) 100%);
    --bg-demo-controls: rgba(0, 0, 0, 0.3);
    --bg-mock-premium: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(26, 26, 30, 1) 100%);
    --bg-avatar: linear-gradient(135deg, #333, #555);

    /* Component tokens */
    --logo-accent: var(--primary);
    --btn-primary-bg: var(--gradient-main);
    --btn-primary-bg-hover: linear-gradient(135deg, rgba(99, 102, 241, 1) 0%, rgba(168, 85, 247, 1) 100%);
    --btn-secondary-bg: var(--glass-bg);
    --btn-secondary-bg-hover: rgba(255, 255, 255, 0.08);
    --btn-secondary-fg: var(--white);
    --btn-secondary-border: var(--glass-border);
    --btn-secondary-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);

    --badge-bg: rgba(99, 102, 241, 0.20);
    --badge-border: rgba(99, 102, 241, 0.30);
    --badge-fg: #c7d2fe;

    --icon-box-bg: rgba(99, 102, 241, 0.10);
}

[data-theme="light"] {
    /* --- ArPyme Light Theme (Argentina-inspired) --- */
    --bg-dark: var(--sky-50);
    --bg-card: var(--white);
    --text-main: var(--gray-900);
    --text-muted: var(--gray-600);

    /* Primary / accent per guía */
    --primary: var(--sky-600);
    --accent: var(--blue-700);
    --logo-accent: var(--amber-400);

    /* Page & gradients */
    --bg-page: radial-gradient(1000px 700px at 50% -20%, rgba(14, 165, 233, 0.18) 0%, transparent 62%),
        linear-gradient(135deg, var(--sky-50) 0%, var(--white) 45%, var(--blue-50) 100%);
    --gradient-main: linear-gradient(90deg, var(--sky-500) 0%, var(--blue-600) 100%);
    --gradient-text: linear-gradient(90deg, var(--gray-900) 0%, var(--gray-700) 100%);
    --gradient-text-accent: linear-gradient(90deg, var(--sky-700) 0%, var(--blue-900) 100%);
    --gradient-sun: linear-gradient(135deg, var(--amber-400) 0%, var(--yellow-300) 100%);
    --gradient-card-active: linear-gradient(90deg, var(--sky-50) 0%, var(--blue-50) 100%);
    --gradient-progress: linear-gradient(90deg, var(--amber-700) 0%, var(--amber-600) 45%, var(--yellow-400) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(14, 165, 233, 0.16) 0%, transparent 70%);

    /* Surfaces */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(17, 24, 39, 0.10);
    --ring: rgba(2, 132, 199, 0.35);
    --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 22px 60px rgba(17, 24, 39, 0.12);
    --shadow-primary: 0 14px 34px rgba(251, 191, 36, 0.25);

    /* Components */
    --bg-header: rgba(255, 255, 255, 0.70);
    --bg-skeleton: rgba(17, 24, 39, 0.08);
    --bg-mock: var(--white);
    --bg-preview: rgba(2, 132, 199, 0.06);
    --bg-featured: linear-gradient(145deg, rgba(14, 165, 233, 0.10) 0%, var(--white) 100%);
    --bg-banner: linear-gradient(135deg, rgba(14, 165, 233, 0.10) 0%, var(--white) 100%);
    --bg-demo-controls: rgba(2, 132, 199, 0.06);
    --bg-mock-premium: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, var(--white) 100%);
    --bg-avatar: linear-gradient(135deg, var(--gray-100), var(--gray-200));

    /* Buttons */
    --btn-primary-bg: var(--yellow-300);
    --btn-primary-bg-hover: var(--yellow-400);
    --btn-primary-fg: var(--gray-900);
    /* Secondary CTA (solid, no gradient) */
    --btn-secondary-bg: linear-gradient(90deg, var(--sky-500) 0%, var(--blue-600) 100%);
    --btn-secondary-bg-hover: linear-gradient(90deg, var(--sky-600) 0%, var(--blue-700) 100%);
    --btn-secondary-fg: var(--white);
    --btn-secondary-border: rgba(0, 0, 0, 0.0);
    --btn-secondary-shadow: 0 10px 22px rgba(14, 165, 233, 0.20);

    --badge-bg: linear-gradient(90deg, rgba(14, 165, 233, 0.10) 0%, rgba(37, 99, 235, 0.08) 100%);
    --badge-border: rgba(2, 132, 199, 0.20);
    --badge-fg: var(--sky-700);

    --icon-box-bg: rgba(14, 165, 233, 0.10);
    
    /* Premium Card Special Styling */
    --premium-card-bg: linear-gradient(135deg, rgba(253, 224, 71, 0.12) 0%, rgba(251, 191, 36, 0.08) 100%);
    --premium-card-border: var(--amber-400);
}

/* Theme Button */
.theme-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--glass-bg);
    color: var(--primary);
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background: var(--bg-page);
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-sm {
    padding: 10px 16px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-fg, white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--btn-primary-bg-hover);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    color: var(--btn-secondary-fg);
    box-shadow: var(--btn-secondary-shadow);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 100px;
    color: var(--badge-fg);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    box-sizing: border-box;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    padding: 20px 0;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    flex-shrink: 0;
    max-width: 100%;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1;
}

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

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

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a.btn-secondary {
    color: var(--btn-secondary-fg) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--glass-bg);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 100vw);
    max-width: 100vw;
    height: 800px;
    background: var(--gradient-glow);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

.social-proof-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #333;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Visual Content (Cards) */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.floating-card {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    min-width: 600px;
    max-width: 750px;
}

.floating-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.code-line {
    height: 10px;
    background: var(--bg-skeleton);
    border-radius: 4px;
    margin-bottom: 12px;
}

.w-80 {
    width: 80%;
}

.w-60 {
    width: 60%;
}

.w-90 {
    width: 90%;
}

.w-40 {
    width: 40%;
}

.generated-preview {
    margin-top: 24px;
    padding: 16px;
    background: var(--bg-preview);
    border-radius: 8px;
}

.generated-preview h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.generated-preview p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.btn-mock {
    width: 100%;
    padding: 8px;
    background: var(--primary);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 0.8rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-card));
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.credits-explanation {
    text-align: center;
    max-width: 650px;
    margin: 50px auto 0;
    padding: 16px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.credits-explanation strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Legal / Contact pages */
.legal-page {
    padding-top: 140px;
    padding-bottom: 90px;
}

.legal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.legal-header h1 {
    font-size: 2.25rem;
    margin-bottom: 8px;
}

.legal-meta {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-card h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: var(--text-main);
}

.legal-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-card a {
    color: var(--primary);
}

.legal-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.10);
    border: 1px solid rgba(2, 132, 199, 0.18);
    color: var(--text-muted);
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .contact-item {
    background: rgba(255, 255, 255, 0.70);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(2, 132, 199, 0.18);
    flex-shrink: 0;
}

.contact-title {
    margin: 0;
    font-weight: 700;
    color: var(--text-main);
}

.contact-value {
    margin: 2px 0 0;
    color: var(--text-muted);
}

.contact-form {
    margin-top: 14px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 12px;
}

.contact-form span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    outline: none;
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(17, 24, 39, 0.12);
    color: var(--text-main);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 120px;
    }

    .legal-card {
        padding: 22px;
    }

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 18px 50px rgba(2, 132, 199, 0.14);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: var(--icon-box-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Styles Grid */
.styles {
    padding: 80px 0;
}

.styles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.style-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    min-width: 200px;
}

.style-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
}

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
}

.glass-banner {
    background: var(--bg-banner);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-banner h2 {
    font-size: 2.5rem;
    margin-top: 3.5rem;
    margin-bottom: 16px;
}

.glass-banner p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Footer */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: 8px;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    overflow: hidden;
}

.demo-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    background: var(--bg-demo-controls);
    padding: 8px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.btn-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-toggle.active {
    background: var(--glass-bg);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
}

.btn-toggle[data-mode="after"].active {
    background: rgba(14, 165, 233, 0.14);
    color: var(--sky-700);
    border-color: rgba(2, 132, 199, 0.25);
}

.demo-content {
    position: relative;
    min-height: 300px;
}

.demo-view {
    position: absolute;
    /* Stack them */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.demo-view.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    /* Let it take space */
    pointer-events: auto;
}

/* Mock Post Styles */
.mock-post {
    background: var(--bg-mock);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--glass-border);
}

.mock-post.premium {
    background: var(--bg-mock-premium);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar-sm {
    width: 40px;
    height: 40px;
    background: var(--bg-avatar);
    border-radius: 50%;
}

.user-text .name {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.user-text .time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.post-content ul {
    list-style: none;
    margin: 12px 0;
    padding-left: 0;
}

.post-content li {
    margin-bottom: 6px;
}

.hashtags {
    color: var(--primary);
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
}

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

.author strong {
    display: block;
    font-size: 0.95rem;
}

.author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding: 80px 0 120px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
    /* Cards same height */
    max-width: 1200px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Evita overflow horizontal en móvil: la card destacada escalada supera el 100% */
    .pricing-card.featured,
    .pricing-card.featured:hover {
        transform: none;
    }
}

.pricing-card {
    width: 100%;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: var(--bg-featured);
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

/* Plan Specific Colors */
.pricing-card.plan-free:hover {
    border-color: #94a3b8;
}

.pricing-card.plan-free .card-icon-plan {
    color: #94a3b8;
}

.pricing-card.plan-plus:hover {
    border-color: #818cf8;
    /* Indigo 400 */
}

.pricing-card.plan-plus .card-icon-plan {
    color: #818cf8;
}

.pricing-card.plan-premium {
    background: var(--premium-card-bg, var(--glass-bg));
    border-color: var(--premium-card-border, var(--amber-400));
    box-shadow: 0 10px 30px -5px rgba(251, 191, 36, 0.15);
}

.pricing-card.plan-premium .card-icon-plan {
    color: var(--amber-400);
}

.pricing-card.plan-lumon:hover {
    border-color: #a855f7;
}

.pricing-card.plan-lumon .card-icon-plan {
    color: #a855f7;
}

.card-icon-plan {
    margin-bottom: 16px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

.feature-disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    /* Solid accent (no gradient) */
    background: var(--amber-400);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Focus & accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.pricing-card h3 {
    margin-bottom: 16px;
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 2.5rem;
    padding-top: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.price-ars {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.savings {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.features-list {
    text-align: left;
    margin: 24px 0 32px;
    padding: 0 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.features-list li strong {
    color: var(--text-main);
}

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

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
        width: 100%;
        max-width: 100vw;
        overflow: visible;
    }

    .navbar {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .logo {
        max-width: calc(100% - 50px);
        overflow: hidden;
    }

    .logo-img {
        height: 40px;
        max-width: 100%;
    }

    .logo-text {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-bg-glow {
        width: min(600px, 100vw);
        height: 600px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .visual-content {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .floating-card {
        min-width: 100%;
        max-width: 100%;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 100%;
    }

    .social-proof-mini {
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100%;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-md);
        z-index: 1001;
        box-sizing: border-box;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        min-height: fit-content;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        text-align: left;
        transition: var(--transition);
        box-sizing: border-box;
    }

    .nav-links a:hover {
        background: var(--glass-bg);
    }

    .nav-links a.btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 0;
        width: 100%;
        max-width: 100vw;
        overflow: visible;
    }

    .navbar {
        width: 100%;
        max-width: 100%;
    }

    .logo {
        max-width: calc(100% - 50px);
    }

    .logo-img {
        height: 36px;
        max-width: 100%;
    }

    .logo-text {
        font-size: 1.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .container {
        padding: 0 16px;
    }

    .nav-links {
        top: 60px;
        padding: 16px;
        max-height: calc(100vh - 60px);
    }

    .nav-links a {
        padding: 10px 12px;
    }

    /* Evita que los CTAs queden en una fila más ancha que la pantalla */
    .cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .hero-bg-glow {
        width: min(400px, 90vw);
        height: 400px;
    }
}

/* Growth Section */
.growth-section {
    padding: 100px 0;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.growth-card {
    padding: 40px;
    height: 100%;
}

.growth-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.growth-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.features-list.compact {
    margin: 0;
    padding: 0;
}

.features-list.compact li {
    font-size: 0.9rem;
    margin-bottom: 8px;

}

/* Community Managers Section */
.cm-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg-dark));
}

.cm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.cm-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    max-width: none;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
    overflow: hidden;
}

.cm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Columna Izquierda: Visual de Gestión */
.cm-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cm-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
    border-radius: 12px;
}

.cm-image {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
    max-width: 100%;
    box-sizing: border-box;
}

.cm-image-wrapper:hover .cm-image {
    filter: drop-shadow(0 15px 40px rgba(99, 102, 241, 0.2));
    transform: scale(1.02);
}

.cm-image-overlay {
    display: none;
}

.cm-text {
    flex: 1;
}

.cm-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cm-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cm-cta {
    margin-top: 8px;
}

/* Responsive CM Section */
@media (max-width: 968px) {
    .cm-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cm-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cm-content {
        gap: 30px;
    }

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

    .cm-text h2 {
        font-size: 2rem;
    }

    .cm-container {
        padding: 40px 24px;
    }

    .cm-image-wrapper {
        max-width: 100%;
    }

    .cm-container::before,
    .economia-container::before {
        width: 150%;
        height: 150%;
    }
}

/* Economía Section */
.economia-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg-dark));
}

.economia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.economia-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    max-width: none;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
    overflow: hidden;
}

.economia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Columna Izquierda: Texto */
.economia-text {
    flex: 1;
}

.economia-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.economia-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.economia-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.economia-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.economia-feature .feature-icon {
    width: 24px;
    height: 24px;
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 4px;
}

.economia-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.economia-feature p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Columna Derecha: Imagen */
.economia-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.economia-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
    border-radius: 12px;
}

.economia-image {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
    max-width: 100%;
    box-sizing: border-box;
}

.economia-image-wrapper:hover .economia-image {
    filter: drop-shadow(0 15px 40px rgba(99, 102, 241, 0.2));
    transform: scale(1.02);
}

.economia-image-overlay {
    display: none;
}

/* Responsive Economía Section */
@media (max-width: 968px) {
    .economia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .economia-visual {
        order: -1;
    }

    .economia-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .economia-section {
        padding: 60px 0;
    }

    .economia-content {
        gap: 30px;
    }

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

    .economia-text h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .economia-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .economia-container {
        padding: 32px 20px;
    }

    .economia-image-wrapper {
        max-width: 100%;
    }

    .economia-features {
        gap: 20px;
    }

    .economia-feature {
        text-align: left;
        gap: 14px;
    }

    .economia-feature .feature-icon {
        width: 22px;
        height: 22px;
        margin-top: 2px;
    }

    .economia-feature h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .economia-feature p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .economia-container {
        padding: 24px 16px;
    }

    .economia-text h2 {
        font-size: 1.75rem;
    }

    .economia-subtitle {
        font-size: 0.95rem;
    }

    .economia-feature h3 {
        font-size: 1rem;
    }

    .economia-feature p {
        font-size: 0.9rem;
    }
}

/* Inventory Section */
.inventory-section {
    padding: 100px 0;
    background: linear-gradient(to top, var(--bg-dark), var(--bg-card));
}

/* Inventory Carousel */
.inventory-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
    /* Space for the card */
}

.inventory-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    display: flex;
    /* Centering */
    justify-content: center;
}

.inventory-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 10;
}

.inventory-card.large {
    width: 100%;
    max-width: 700px;
    padding: 60px 40px;
    /* Bigger padding */
    text-align: left;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid var(--glass-border);
}

.card-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 32px;
}

.large-icon {
    width: 120px;
    height: 120px;
    font-size: 3rem;
    flex-shrink: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-icon i {
    width: 48px;
    height: 48px;
}

.inventory-icon {
    width: 180px;
    height: 180px;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    box-sizing: border-box;
}

.inventory-card.large h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.inventory-card.large p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

/* Responsive for Carousel */
@media (max-width: 768px) {
    .inventory-carousel {
        min-height: 500px;
    }

    .card-content {
        gap: 24px;
    }

    .inventory-card.large {
        text-align: center;
        padding: 40px 20px;
    }

    .large-icon {
        margin: 0 auto;
    }
}