/*
Theme Name: Clinova
Theme URI: https://clinova.co
Author: Clinova Inc.
Author URI: https://clinova.co
Description: Infraestructura de Salud Impulsada por IA — Custom WordPress theme for Clinova landing and product pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clinova
Tags: one-column, custom-menu, translation-ready
*/

/* ============================================
   ORIGINAL STATIC CSS — PRESERVED EXACTLY
   ============================================ */

:root {
    --primary: #3E6BF7;
    --primary-hover: #2952CC;
    --dark: #0F172A;
    --dark-accent: #1E293B;
    --text-main: #111827;
    --text-muted: #6B7280;
    --bg-main: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-accent: #F1F5F9;
    --border: #E2E8F0;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(62, 107, 247, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: 100px 0;
}

.bg-subtle {
    background-color: var(--bg-subtle);
}

.bg-dark {
    background-color: var(--dark);
    color: white;
}

.bg-gradient {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-subtle) 100%);
}

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

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

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

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(62, 107, 247, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 107, 247, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px 0 rgba(62, 107, 247, 0.39);
}

.btn-secondary {
    background-color: white;
    color: var(--dark);
    border-color: var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
}

.btn-text:hover {
    color: var(--dark);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--bg-accent);
    color: var(--text-muted);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.badge.sm {
    font-size: 11px;
    padding: 2px 8px;
    margin-bottom: 0;
    background: #DBEAFE;
    color: #1E40AF;
    border-color: #BFDBFE;
}

.badge.sm-success {
    background: #DCFCE7;
    color: #166534;
    border-color: #BBF7D0;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), #8B5CF6);
    border-radius: 6px;
    display: block;
}

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

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

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

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.dropdown-trigger:hover {
    color: var(--dark);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-subtle);
}

.drop-icon {
    font-size: 20px;
}

.dropdown-item div {
    display: flex;
    flex-direction: column;
}

.dropdown-item strong {
    font-size: 14px;
    color: var(--dark);
}

.dropdown-item span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 24px;
    z-index: 49;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-group {
    margin-bottom: 24px;
}

.mobile-group h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.mobile-group a {
    display: block;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-group a:last-child {
    border-bottom: none;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Nav Setup */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(62, 107, 247, 0.08) 0%, rgba(139, 92, 246, 0.05) 40%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

/* Dashboard Mockup (Linear/Stripe style) */
.dashboard-preview {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 24px 64px -12px rgba(62, 107, 247, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
}

.mac-header {
    height: 48px;
    background-color: #FAFAFA;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
}

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

.dot.close {
    background-color: #FF5F56;
}

.dot.minimize {
    background-color: #FFBD2E;
}

.dot.maximize {
    background-color: #27C93F;
}

.dashboard-body {
    display: flex;
    flex: 1;
    background-color: var(--bg-subtle);
}

.dashboard-sidebar {
    width: 240px;
    background-color: #FFFFFF;
    border-right: 1px solid var(--border);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-item {
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-accent);
    opacity: 0.6;
}

.dash-item.active {
    background-color: rgba(62, 107, 247, 0.1);
    opacity: 1;
}

.mt-auto {
    margin-top: auto;
}

.dashboard-main {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dash-header .dash-title-skeleton {
    width: 200px;
    height: 24px;
    background-color: var(--border);
    border-radius: 4px;
}

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

.dash-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    height: 160px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.dash-card.span-2 {
    grid-column: span 2;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(62, 107, 247, 0.2) 0%, rgba(62, 107, 247, 0) 100%);
    border-top: 2px solid var(--primary);
    /* Just a visual pseudo-curve */
    clip-path: polygon(0 40%, 20% 60%, 40% 30%, 60% 80%, 80% 20%, 100% 50%, 100% 100%, 0 100%);
}

.ai-waveform {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ai-waveform::before,
.ai-waveform::after {
    content: '';
    width: 8px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 4px;
    animation: pulse 1s infinite alternate;
}

.ai-waveform::after {
    height: 60px;
    animation-delay: 0.2s;
}

@keyframes pulse {
    0% {
        transform: scaleY(0.5);
    }

    100% {
        transform: scaleY(1);
    }
}

.dash-list {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.list-item {
    height: 16px;
    background-color: var(--bg-accent);
    border-radius: 4px;
    width: 100%;
}

.list-item:nth-child(2) {
    width: 80%;
}

.list-item:nth-child(3) {
    width: 90%;
}

/* What is Clinova */
.section-header {
    margin-bottom: 64px;
}

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

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.modular-ecosystem {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.module-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    cursor: default;
}

.module-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
    border-color: var(--primary);
}

.module-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.module-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.module-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* How it Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    position: relative;
    padding: 32px;
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* Ecosystem Sidebar Layout */
.ecosystem-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 64px;
}

.ecosystem-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ecosystem-sidebar.sticky {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.eco-nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.eco-nav-link:hover {
    background-color: var(--bg-main);
    color: var(--dark);
}

.eco-nav-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background-color: rgba(62, 107, 247, 0.05);
}

.eco-section {
    display: block;
    /* Handled via scroll but simple stack for vanilla setup */
    margin-bottom: 120px;
}

.eco-section h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.eco-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-main);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.mockup-img {
    width: 100%;
    height: 400px;
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 12px 32px -8px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    margin-bottom: 24px;
    background-image: linear-gradient(135deg, var(--bg-subtle) 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-section:hover .mockup-img {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 24px 48px -12px rgba(62, 107, 247, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.mockup-img::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 60%;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
    .ecosystem-layout {
        grid-template-columns: 1fr;
    }

    .ecosystem-sidebar {
        display: none;
    }

    .eco-section {
        padding-top: 40px;
        margin-bottom: 80px;
    }
}

/* Switch UI */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.w-full {
    width: 100%;
}

/* Pricing Section */

.billing-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    font-weight: 500;
}

.billing-label {
    color: var(--text-muted);
    transition: color 0.3s ease;
    cursor: pointer;
}

.billing-label.active {
    color: var(--dark);
    font-weight: 600;
}

.doctor-slider-bar {
    max-width: 480px;
    margin: 0 auto 48px;
    text-align: center;
}

.doctor-slider-bar label {
    font-weight: 500;
    font-size: 15px;
    display: block;
    margin-bottom: 12px;
    color: var(--text-main);
}

.doctor-slider-bar strong {
    color: var(--primary);
    font-size: 18px;
}

.doctor-slider-bar input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
    height: 6px;
    border-radius: 3px;
    background: var(--bg-accent);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.doctor-slider-bar input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(62, 107, 247, 0.3);
}

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

.plan-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
    border: 2px solid var(--primary);
    box-shadow:
        0 20px 48px -12px rgba(62, 107, 247, 0.15),
        0 0 0 1px rgba(62, 107, 247, 0.05);
    padding-top: 48px;
}

.plan-card.popular:hover {
    box-shadow: 0 24px 56px -12px rgba(62, 107, 247, 0.25);
}

.plan-popular-tag {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #8B5CF6);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 0 0 12px 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.plan-badge-row {
    margin-bottom: 20px;
}

.plan-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.starter-badge {
    background: #DBEAFE;
    color: #1D4ED8;
}

.pro-badge {
    background: #EDE9FE;
    color: #7C3AED;
}

.enterprise-badge {
    background: #D1FAE5;
    color: #059669;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 16px;
}

.plan-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.plan-amount {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
    line-height: 1;
}

.plan-period {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 44px;
}

.plan-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-features li {
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-left: 28px;
    color: var(--text-main);
}

.plan-features li.included::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #10B981;
}

.plan-features li.excluded {
    color: #CBD5E1;
    text-decoration: line-through;
    text-decoration-color: #E2E8F0;
}

.plan-features li.excluded::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #CBD5E1;
    font-weight: 400;
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .plan-card.popular {
        order: -1;
    }
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sec-item {
    background: var(--dark-accent);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gray {
    color: #94A3B8;
}

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

/* Display Titles */
.display-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-grid h4 {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--dark);
}

.footer-grid a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    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: opacity, transform;
}

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

.hero-actions .btn {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions .btn:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Split Hero */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 24px 100px;
    position: relative;
    z-index: 1;
}

.hero-split-content {
    text-align: left;
}

.hero-split-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Floating animated elements */
.float-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: absolute;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
    animation: floatAnim 6s ease-in-out infinite;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.float-card:hover {
    transform: scale(1.02) !important;
    z-index: 10 !important;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.float-card.primary {
    width: 360px;
    height: 240px;
    z-index: 3;
    animation-delay: 0s;
}

.float-card.secondary {
    width: 260px;
    height: 160px;
    top: 50px;
    right: -20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    animation-delay: -2s;
}

.float-card.tertiary {
    width: 280px;
    height: 100px;
    bottom: 60px;
    left: -40px;
    z-index: 4;
    animation-delay: -4s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1.5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        padding-top: 120px;
        gap: 40px;
    }

    .hero-split-content {
        text-align: center;
    }

    .hero-split-content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
    }

    .hero-split-content .hero-actions {
        justify-content: center !important;
    }

    .hero-split-content .product-title {
        text-align: center !important;
    }

    .hero-split-visual {
        height: 350px;
    }

    .float-card.secondary,
    .float-card.tertiary {
        display: none;
    }

    .float-card.primary {
        position: relative;
        width: 100%;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
    }
}