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

:root{
  --primary:#3b82f6;
  --primary-dark:#1d4ed8;
  --bg:#ffffff;
  --text:#1a1a1a;
  --hero-bg:#0b1220;
  --contact-bg:#0b1220;
  --telegram:#2563eb;
  --whatsapp:#22c55e;
}

body {
    font-family: 'Cal Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.01em;
}

/* Page Management */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Landing Page Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: var(--hero-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-visual {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 800px;
}

.video-container {
    background: #111827;
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.45);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.check {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

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

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

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
}

.cta-primary:focus-visible,
.submit-btn:focus-visible { outline: 3px solid rgba(59,130,246,0.5); outline-offset: 3px; }

.cta-note {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-container {
    background: #1a1a1a;
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    text-align: center;
    color: white;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.testimonial-card {
    display: none;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.author {
    font-weight: 600;
    color: #666;
    margin-top: 1rem;
}

/* Form Section */
.form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: #1a1a1a;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.form-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.form-header p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #6b7280;
    line-height: 1.6;
}

.urgency-timer {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.timer-label {
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.timer {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.lead-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lead-form input {
    padding: 1.5rem 1.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    font-size: 1.1rem;
    background: #f9fafb;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    width: 100%;
}

.lead-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.75rem 2rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
}

.submit-btn small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.form-footer {
    margin-top: 2.5rem;
    color: #64748b;
}

.form-footer p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-section #embedded-mailchimp-wrap { margin-top: 1rem; }
#mc_embed_signup { background: transparent !important; clear: none !important; width: 100% !important; font-family: inherit !important; }
#mc_embed_signup_scroll h2 { font-size: 2rem !important; margin-bottom: 1rem !important; color: #111827 !important; }
#mc_embed_signup .indicates-required { color: #6b7280 !important; margin-bottom: .75rem !important; }
#mc_embed_signup .mc-field-group { margin-bottom: 1rem !important; }
#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"] { width: 100% !important; padding: 1rem 1.25rem !important; border: 2px solid #e5e7eb !important; border-radius: 12px !important; background: #f9fafb !important; font-size: 1rem !important; }
#mc_embed_signup input:focus { outline: none !important; border-color: var(--primary) !important; background: #fff !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent) !important; }
#mc_embed_signup .button,
#mc-embedded-subscribe { background: var(--primary) !important; border: none !important; padding: 1rem 1.25rem !important; border-radius: 12px !important; font-weight: 700 !important; font-size: 1.05rem !important; color: #fff !important; width: 100% !important; cursor: pointer !important; }
#mc_embed_signup .button:hover,
#mc-embedded-subscribe:hover { background: var(--primary-dark) !important; }
#mc_embed_signup .refferal_badge { display: none !important; }

/* Admin Page Styles */
.admin-page {
    min-height: 100vh;
    background: #f8fafc;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 101;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.admin-logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #dc2626;
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 80px);
}

.admin-sidebar {
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    overflow-y: auto;
    background: white;
    border-right: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.admin-nav {
    padding-right: .5rem;
    display: flex;
    flex-direction: column;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: 0 10px 10px 0;
    margin: .125rem 0;
    background: none;
    border: none;
    padding: 1rem 2rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    color: #666;
}

.nav-item.active::before,
.nav-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    height: 76%;
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-item:hover,
.nav-item.active {
    background: #f3f4f6;
    border-left-color: #3b82f6;
    color: #1a1a1a;
}

.admin-content {
    background: #f1f5f9;
    padding: 2rem;
    overflow-y: auto;
}

.admin-section {
    display: none;
    margin-bottom: 2rem;
}

.admin-section.active {
    display: block;
}

.admin-section h2 {
    margin-bottom: 1rem;
    letter-spacing: .2px;
    font-size: 2rem;
    color: #1a1a1a;
}

.section-subtitle {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: #6b7280;
    font-weight: 500;
}

.admin-form {
    border: 1px solid #e5e7eb;
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 14px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
    outline: none;
}

.form-group small {
    color: #6b7280;
    font-size: 0.875rem;
}

.save-btn,
.test-btn,
.export-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 1rem;
}

.save-btn:hover,
.test-btn:hover,
.export-btn:hover {
    background: #2563eb;
}

.test-btn {
    background: #10b981;
}

.test-btn:hover {
    background: #059669;
}

.export-btn {
    background: #8b5cf6;
}

.export-btn:hover {
    background: #7c3aed;
}

.admin-subsection {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    margin-bottom: -0.5rem;
    padding: 0.5rem 0.75rem;
    border-left: 4px solid #3b82f6;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    border-radius: 6px;
}

/* Stats and Tables */
.leads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.leads-stats,
.form-stats {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.stat-card {
    border-top-width: 0;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
}

.leads-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.leads-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.leads-table tbody tr:hover {
    background: #f1f5f9;
}

.leads-table th,
.leads-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.leads-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

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

.analytics-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: .3px;
}

.metric-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.chart-placeholder {
    height: 200px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.chart-canvas {
  width: 100%;
  height: 220px;
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-content h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.modal-content input {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: #3b82f6;
}

.modal-content button {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-content button:hover {
    background: #2563eb;
}

/* Admin Access Floating Button */
.admin-access-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.admin-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.admin-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.admin-floating-btn:active {
    transform: scale(0.95);
}

/* New Sections Styles */
.benefits-section,
.about-section,
.faq-section,
.contact-section {
    padding: 6rem 0;
}

.benefits-section {
    background: #f8fafc;
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-section {
    background: white;
}

.faq-section {
    background: #f8fafc;
}

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

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

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.25rem 1.75rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.about-text p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

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

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

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

.profile-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #3b82f6;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 2rem 0;
}

.faq-item.open .faq-answer { max-height: 260px; padding: 0 2rem 1.25rem; }

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

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

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form-wrapper {
    background: transparent;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    backdrop-filter: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: border-color 0.2s ease;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.contact-submit {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contact-btn { width: 100%; }
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    opacity: 0.95;
}

.contact-btn.telegram { background: linear-gradient(45deg, var(--primary), var(--telegram)); }
.contact-btn.whatsapp { background: var(--whatsapp); border: none; }
.contact-btn.email { background: #ffffff; color: #0f172a; border: 1px solid #e5e7eb; }
.contact-btn.email:hover { box-shadow: 0 10px 25px rgba(255,255,255,0.1); opacity: 0.98; }

.contact-toggle {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; padding: 0.9rem 1.25rem; border-radius: 12px;
  font-weight: 600; font-size: 1.05rem; cursor: pointer; margin-bottom: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(59,130,246,.4); }

/* Admin Styles */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, #e5e7eb, #3b82f6, #e5e7eb);
    margin: 3rem 0;
    border-radius: 1px;
}

.form-group label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.color-swatch {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  margin-left: 8px;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .form-header h2 {
        font-size: 2.2rem;
    }

    .lead-form {
        padding: 2rem;
    }

    .cta-primary {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        order: 2;
        padding: 1rem 0;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem;
    }

    .nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        min-width: 120px;
    }

    .nav-item:hover,
    .nav-item.active {
        border-left: none;
        border-bottom-color: #3b82f6;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

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

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

    .benefit-card {
        padding: 2rem 1.5rem;
    }

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

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s ease; }
.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal,.revealed { transition: none; transform: none; opacity: 1; }
}

@media (max-width: 768px) {
  .admin-content { padding: 1rem; }
  .admin-form { padding: 1rem; border-radius: 12px; }
  .leads-table th, .leads-table td { padding: .75rem; }
}

/* Mejoras para la sección de estadísticas */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.analytics-card h3 {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 600;
}

.metric {
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary, #3b82f6);
    display: block;
}

.metric-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.metric-small {
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.metric-value-small {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    display: block;
}

.metric-label-small {
    font-size: 0.8rem;
    color: #9ca3af;
}

.analytics-chart-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-container {
    margin: 1.5rem 0;
    height: 300px;
}

.chart-canvas {
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

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

    .chart-legend {
        gap: 1rem;
    }

    .metric-value {
        font-size: 2rem;
    }
}
