/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1976d2;
    --secondary-color: #dc004e;
    --success-color: #2e7d32;
    --warning-color: #ed6c02;
    --error-color: #d32f2f;
    --info-color: #0288d1;
    
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1a1a1a;
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--info-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ff4081);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
    color: var(--text-primary);
    border-radius: 4px;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    min-height: 44px;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

/* Hero Section */
.hero {
    padding: clamp(5rem, 12vh, 8rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vh, 4rem);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
    width: clamp(320px, 80vw, 600px);
    height: clamp(240px, 60vw, 400px);
    max-width: 100%;
    aspect-ratio: 3/2;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.5rem, 2vw, 1rem);
}

.preview-header {
    background: var(--bg-secondary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28ca42; }

.preview-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.preview-content {
    display: flex;
    height: calc(100% - 60px);
}

.preview-sidebar {
    width: clamp(60px, 25%, 220px);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 0;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-width: 60px;
}

.sidebar-brand {
    padding: clamp(0.5rem, 2vw, 1rem);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    min-height: clamp(60px, 15%, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.client-logo, .blanq-logo {
    width: clamp(16px, 4vw, 32px);
    height: clamp(16px, 4vw, 32px);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(0.5rem, 1.5vw, 0.9rem);
    color: white;
}

.client-logo {
    background: #666;
}

.blanq-logo {
    background: var(--primary-color);
}

.brand-separator {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.admin-label {
    font-size: clamp(0.4rem, 1.2vw, 0.7rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-menu {
    padding: clamp(0.5rem, 2vw, 1rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.25rem, 1vw, 0.5rem);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1.5vw, 0.75rem);
    padding: clamp(0.4rem, 1.5vw, 0.75rem);
    border-radius: var(--border-radius);
    font-size: clamp(0.6rem, 1.8vw, 0.85rem);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    min-height: clamp(28px, 6vw, 40px);
    justify-content: flex-start;
}

.sidebar-item:hover {
    background: rgba(25, 118, 210, 0.08);
    color: var(--primary-color);
    transform: translateX(2px);
}

.sidebar-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.sidebar-item.active:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(2px);
}

.sidebar-item i {
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    width: clamp(12px, 3vw, 16px);
    text-align: center;
    flex-shrink: 0;
}

.preview-main {
    flex: 1;
    padding: 0;
    background: #fafbfc;
    overflow: hidden;
    position: relative;
}

.view-header {
    padding: clamp(0.5rem, 2vw, 1rem) clamp(0.75rem, 2.5vw, 1.25rem) clamp(0.375rem, 1.5vw, 0.75rem);
    border-bottom: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
    min-height: clamp(40px, 10vw, 60px);
}

.view-header h3 {
    font-size: clamp(0.7rem, 2vw, 0.95rem);
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    color: var(--text-primary);
    line-height: 1.2;
}

.view-header p {
    font-size: clamp(0.5rem, 1.4vw, 0.7rem);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(80px, 20vw, 120px), 1fr));
    gap: clamp(0.375rem, 1.5vw, 0.75rem);
    padding: clamp(0.5rem, 2vw, 1rem);
    background: white;
    flex-shrink: 0;
}

.metric-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: clamp(0.375rem, 1.5vw, 0.75rem);
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1vw, 0.5rem);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: clamp(40px, 10vw, 60px);
}

.metric-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.metric-icon {
    width: clamp(20px, 5vw, 28px);
    height: clamp(20px, 5vw, 28px);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(0.6rem, 1.6vw, 0.8rem);
    flex-shrink: 0;
}

.metric-icon.blue { background: var(--primary-color); }
.metric-icon.green { background: var(--success-color); }
.metric-icon.orange { background: var(--warning-color); }
.metric-icon.red { background: var(--error-color); }
.metric-icon.purple { background: #9c27b0; }
.metric-icon.gray { background: #757575; }

.metric-content {
    flex: 1;
    min-width: 0;
}

.metric-value {
    font-size: clamp(0.65rem, 1.8vw, 0.9rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metric-label {
    font-size: clamp(0.5rem, 1.3vw, 0.65rem);
    color: var(--text-secondary);
    margin-top: 0.1rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-chart {
    height: 100px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    align-items: end;
}

.chart-bars {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    width: 100%;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 2px;
    min-height: 20px;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height); }
}

/* Dashboard Views */
.dashboard-view {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}

.dashboard-view.active {
    display: flex;
    flex-direction: column;
}

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

/* Instances Overview */
.instances-overview {
    margin: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.btn-new {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-new:hover {
    background: var(--primary-color);
    opacity: 0.9;
}

.instances-table {
    padding: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.7rem;
    align-items: center;
}

.table-row.header {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.table-row:last-child {
    border-bottom: none;
}

.status {
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 500;
    text-align: center;
}

.status.running {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success-color);
}

.status.stopped {
    background: rgba(211, 47, 47, 0.1);
    color: var(--error-color);
}

/* Software List */
.software-list {
    padding: 1rem;
    background: white;
    margin: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    overflow-y: auto;
}

.software-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
}

.software-item:last-child {
    border-bottom: none;
}

.software-item i {
    width: 20px;
    color: var(--primary-color);
    text-align: center;
}

.software-item span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.software-item .status {
    font-size: 1rem;
    padding: 0;
    background: none;
}

.software-item .status.running {
    color: var(--success-color);
}

.software-item .status.stopped {
    color: var(--error-color);
}

/* Users List */
.users-list {
    padding: 1rem;
    background: white;
    margin: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    overflow-y: auto;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.user-item:last-child {
    border-bottom: none;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
}

.user-role {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

/* Cost Breakdown */
.cost-breakdown {
    padding: 1rem;
    background: white;
    margin: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    overflow-y: auto;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.service-name {
    color: var(--text-primary);
    font-weight: 500;
}

.service-cost {
    color: var(--primary-color);
    font-weight: 600;
}



/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Apps Section */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.app-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.app-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.app-item small {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tech Stack */
.tech-stack {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

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

/* Contact */
.contact {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e1;
}

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

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand p {
    color: #cbd5e1;
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

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

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}

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

/* Focus States for Accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
.nav-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sidebar-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .dashboard-preview {
        transform: none !important;
    }
    
    .feature-card:hover,
    .pricing-card:hover,
    .tech-item:hover {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .hero-buttons,
    .contact-form,
    .footer-social {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .dashboard-preview {
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #000;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* Responsive Breakpoints - Mobile First Approach */

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .dashboard-preview {
        width: 650px;
        height: 420px;
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-content {
        gap: 3rem;
    }
    
    .dashboard-preview {
        width: 580px;
        height: 380px;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) and (min-width: 769px) {
    .hero-content {
        gap: 2.5rem;
    }
    
    .dashboard-preview {
        transform: none;
        width: 520px;
        height: 340px;
    }
    
    .preview-sidebar {
        width: 160px;
    }
    
    .sidebar-item {
        font-size: 0.75rem;
        padding: 0.5rem 0.4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    /* Navigation */
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
        padding: 0.5rem;
        border-radius: 4px;
        transition: var(--transition);
    }
    
    .nav-toggle:hover {
        background: var(--bg-secondary);
    }
    
    /* Hero Section */
    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }
    
    .hero-text p {
        font-size: 1.125rem;
        margin-bottom: 1.75rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-primary.large, .btn-secondary.large {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Dashboard Preview */
    .hero-visual {
        padding: 0;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .dashboard-preview {
        width: min(90vw, 480px);
        height: 300px;
        border-radius: 12px;
    }
    
    .preview-sidebar {
        width: 100px;
    }
    
    .sidebar-brand {
        padding: 0.5rem 0.25rem;
    }
    
    .client-logo, .blanq-logo {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .admin-label {
        font-size: 0.55rem;
    }
    
    .sidebar-menu {
        padding: 0.5rem 0.25rem;
    }
    
    .sidebar-item {
        font-size: 0.65rem;
        padding: 0.4rem 0.2rem;
        gap: 0.3rem;
        margin-bottom: 0.25rem;
    }
    
    .sidebar-item i {
        font-size: 0.85rem;
        width: 12px;
    }
    
    .sidebar-item span {
        display: none;
    }
    
    /* Sections */
    .container {
        padding: 0 1.5rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Features */
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1.25rem;
    }
    
    /* Apps & Tech */
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .app-item {
        padding: 1.5rem 1rem;
    }
    
    .app-item i {
        font-size: 2.25rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .tech-item {
        padding: 1.25rem;
    }
    
    /* Pricing */
    .pricing {
        padding: 4rem 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    /* Contact */
    .contact {
        padding: 4rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info h2 {
        font-size: 2.25rem;
    }
    
    .contact-form {
        padding: 1.75rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Navigation */
    .nav {
        padding: 0.875rem 1rem;
    }
    
    .nav-brand span {
        font-size: 1.125rem;
    }
    
    /* Hero */
    .hero {
        padding: 4rem 1rem 2.5rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary.large, .btn-secondary.large {
        width: 100%;
        max-width: none;
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 200px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Dashboard Preview */
    .hero-visual {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    
    .dashboard-preview {
        width: min(100%, 360px);
        height: 240px;
        border-radius: 8px;
    }
    
    .preview-sidebar {
        width: 50px;
    }
    
    .sidebar-brand {
        padding: 0.25rem 0.125rem;
        min-height: 40px;
    }
    
    .client-logo, .blanq-logo {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .brand-separator {
        font-size: 0.6rem;
    }
    
    .admin-label {
        font-size: 0.45rem;
    }
    
    .sidebar-menu {
        padding: 0.25rem 0.125rem;
        gap: 0.125rem;
    }
    
    .sidebar-item {
        font-size: 0.55rem;
        padding: 0.25rem 0.1rem;
        justify-content: center;
        min-height: 24px;
    }
    
    .sidebar-item span {
        display: none;
    }
    
    .sidebar-item i {
        font-size: 0.75rem;
        width: auto;
    }
    
    /* Tablas compactas para móvil */
    .table-row {
        font-size: 0.55rem !important;
        padding: 0.25rem 0.5rem !important;
        gap: 0.3rem !important;
        grid-template-columns: 2fr 1fr !important;
    }
    
    .table-row.header {
        font-size: 0.5rem !important;
        padding: 0.2rem 0.5rem !important;
    }
    
    .table-row span:last-child {
        display: none !important;
    }
    
    .status {
        font-size: 0.45rem !important;
        padding: 0.1rem 0.25rem !important;
    }
    
    .software-item {
        font-size: 0.6rem !important;
        padding: 0.3rem 0 !important;
        gap: 0.3rem !important;
    }
    
    .user-item {
        padding: 0.3rem 0 !important;
        gap: 0.3rem !important;
    }
    
    .user-name {
        font-size: 0.6rem !important;
    }
    
    .user-role {
        font-size: 0.5rem !important;
    }
    
    .breakdown-item {
        font-size: 0.6rem !important;
        padding: 0.3rem 0 !important;
    }
    
    .overview-header {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.5rem !important;
    }
    
    .btn-new {
        font-size: 0.6rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    /* Sections */
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.875rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* Features */
    .features {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Apps & Tech */
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .app-item {
        padding: 1.25rem;
    }
    
    .app-item i {
        font-size: 2rem;
    }
    
    .tech-stack {
        padding: 3rem 0;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1rem;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    /* Pricing */
    .pricing {
        padding: 3rem 0;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    /* Contact */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-info h2 {
        font-size: 1.875rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 0.875rem 1.125rem;
        font-size: 0.9rem;
    }
    
    /* Extras Grid */
    .extras-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .extra-item {
        min-width: auto;
        padding: 1.25rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card,
.tech-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}
/* Pricing Extras */
.pricing-extras {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

.pricing-extras h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-extras > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.extras-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.extra-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    min-width: 150px;
}

.extra-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.extra-name {
    font-weight: 600;
    color: var(--text-primary);
}

.extra-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.infrastructure-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.infrastructure-note i {
    color: var(--info-color);
}

