/**
 * Biogas Betriebsservice Dashboard - Styles
 * Enthält Basis-Tailwind-CSS für Produktionsumgebung
 *
 * ⚠️ WARNUNG: Dies ist eine sehr begrenzte Tailwind-Implementierung!
 * Nur grundlegende Utility-Classes sind verfügbar.
 * Viele im Projekt verwendete Klassen fehlen möglicherweise.
 *
 * Für vollständige Produktionsbereitschaft:
 * 1. npm install -D tailwindcss postcss autoprefixer
 * 2. npx tailwindcss init -p
 * 3. Build-Script konfigurieren
 * 4. Oder CDN-Version in HTML zurück aktivieren
 */

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #87ceeb 100%);
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8f9fa;
}

.header .subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 1rem;
    color: #e8f5e8;
}

.header .description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Pricing Cards Container */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Section Headers */
.software-section, .operations-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.software-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 20%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
}

.operations-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 20%, #f0fdf4 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
}

/* Individual Pricing Card */
.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #22c55e;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.15);
}

.software-card {
    border-left: 4px solid #6366f1;
}

.operations-card {
    border-left: 4px solid #22c55e;
}

.operations-card.featured {
    border-color: #22c55e;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

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

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Service Info Section */
.service-info {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.service-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.service-badge.premium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.response-time {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.response-time.premium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

/* Included Services Section */
.included-services {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    border-left: 4px solid #22c55e;
}

.included-services h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.included-services p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Contact Info in Footer */
.contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
    text-align: center;
}

/* Care Selection Section */
.care-selection-section {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    padding: 0 2rem;
}

.care-header {
    text-align: center;
    margin-bottom: 3rem;
}

.care-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.care-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

.care-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.care-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.care-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.care-card.recommended {
    border-color: #22c55e;
    transform: scale(1.02);
}

.care-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.care-option-header {
    margin-bottom: 1rem;
}

.care-option-header input[type="radio"] {
    display: none;
}

.care-option-header label {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.care-option-header input[type="radio"]:checked + label {
    color: #22c55e;
}

.care-option-header input[type="radio"]:checked + label h3 {
    color: #22c55e;
}

.care-option-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

.care-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.care-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
}

.care-period {
    font-size: 0.9rem;
    color: #718096;
}

.care-info {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.care-type, .care-response {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.care-type.premium, .care-response.premium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.care-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.care-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #4a5568;
    display: flex;
    align-items: center;
}

/* Total Price Section */
.total-price-section {
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.total-price-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid #22c55e;
}

.total-price-card h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
}

.selected-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.selected-plan, .selected-care {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.selected-care {
    border-bottom: none;
}

.plan-name, .care-name {
    font-weight: 500;
    color: #4a5568;
}

.plan-price, .care-price-display {
    font-weight: 600;
    color: #22c55e;
}

.total-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    margin: 1rem 0;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
}

.final-selection-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.final-selection-button:disabled {
    background: #cbd5e0;
    color: #a0aec0;
    cursor: not-allowed;
    box-shadow: none;
}

.final-selection-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Community Explanation */
.community-explanation {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.explanation-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 4px solid #22c55e;
}

.explanation-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem 0;
}

.explanation-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.explanation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explanation-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Selection Confirmation */
.selection-confirmation {
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.confirmation-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid #22c55e;
    text-align: center;
}

.confirmation-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
}

.selected-package {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.package-price {
    font-weight: 700;
    color: #22c55e;
    font-size: 1.3rem;
}

.proceed-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.proceed-button:disabled {
    background: #cbd5e0;
    color: #a0aec0;
    cursor: not-allowed;
    box-shadow: none;
}

.proceed-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.power-range {
    font-size: 0.9rem;
    color: #22c55e;
    font-weight: 600;
    background: #f0fdf4;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1rem;
}

.plan-scope {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.5rem;
}

.included-software {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 500;
    background: #ecfdf5;
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    text-align: center;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0.2rem;
}

.price .period {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.yearly-price {
    font-size: 0.9rem;
    color: #38a169;
    font-weight: 600;
    background: #f0fff4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.toggle-label:hover {
    background: #e9ecef;
}

.toggle-label input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: #4a7c59;
}

.toggle-label input[type="radio"]:checked + span {
    color: #4a7c59;
    font-weight: 600;
}

/* Plan Features */
.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

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

.feature-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.limitation {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #dc2626;
}

.limitation-icon {
    font-size: 0.75rem;
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #38a169;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Plan Button */
.plan-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #6366f1, #4f46e5);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    margin-top: auto;
}

.operations-button {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.operations-button:hover {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

.plan-button:active {
    transform: translateY(0);
}

.featured .plan-button {
    background: linear-gradient(45deg, #48bb78, #38a169);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.featured .plan-button:hover {
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Plan Confirmation Modal */
.plan-confirmation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-confirmation.show {
    opacity: 1;
}

.confirmation-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.plan-confirmation.show .confirmation-content {
    transform: scale(1);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: #38a169;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    font-weight: bold;
}

.confirmation-content h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.confirmation-content p {
    color: #718096;
    font-size: 1rem;
}

/* Registration Form Styles */
.plan-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.summary-header {
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    color: white;
    padding: 1rem 1.5rem;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-content {
    padding: 1.5rem;
}

.plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.plan-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a7c59;
}

.billing-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f0fff4;
    border-radius: 8px;
    border-left: 4px solid #38a169;
}

.billing-cycle {
    font-size: 0.95rem;
    color: #2d3748;
}

.savings {
    font-size: 0.9rem;
    font-weight: 600;
    color: #38a169;
}

/* Form Styles */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.form-group label.required::after {
    content: ' *';
    color: #e53e3e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-group input.error {
    border-color: #e53e3e;
}

.error-message {
    display: none;
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-fill.weak {
    background: #e53e3e;
}

.strength-fill.medium {
    background: #dd6b20;
}

.strength-fill.strong {
    background: #38a169;
}

.strength-text {
    font-size: 0.875rem;
    color: #718096;
}

.password-requirements {
    margin-top: 0.5rem;
}

.password-requirements small {
    color: #718096;
    font-size: 0.8rem;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    accent-color: #4a7c59;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: #4a7c59;
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: #2c5530;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.secondary-button {
    padding: 0.75rem 1.5rem;
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.secondary-button:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.submit-button {
    padding: 0.75rem 2rem;
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-spinner {
    display: none;
    align-items: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #4a7c59;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

/* Success/Error Modals */
.success-modal,
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.modal-content p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.modal-button {
    padding: 0.75rem 2rem;
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header h2 {
        font-size: 1.5rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .confirmation-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    /* Registration Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .secondary-button,
    .submit-button {
        width: 100%;
        justify-content: center;
    }
    
    .plan-summary {
        margin-bottom: 1.5rem;
    }
    
    .billing-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .explanation-cards {
        grid-template-columns: 1fr;
    }

    .explanation-card {
        min-width: auto;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .feature-group h4 {
        font-size: 0.8rem;
    }

    .plan-features li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .limitation {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .price .amount {
        font-size: 2rem;
    }

    .plan-button, .operations-button, .proceed-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .included-software {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

/* Demo Toggle Styles */
.demo-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.demo-toggle-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.demo-toggle-button:hover {
    border-color: #4a7c59;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.demo-toggle-button.active {
    background: linear-gradient(45deg, #4a7c59, #2c5530);
    color: white;
    border-color: #4a7c59;
}

.toggle-icon {
    font-size: 1.1rem;
}

.toggle-status {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.toggle-status.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Demo Mode Notification */
.demo-mode-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #4a7c59;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 320px;
}

.demo-mode-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-text strong {
    display: block;
    color: #2d3748;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.notification-text p {
    color: #718096;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Demo Toggle Mobile */
@media (max-width: 768px) {
    .demo-toggle-container {
        top: 10px;
        right: 10px;
    }
    
    .demo-toggle-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .toggle-text {
        display: none;
    }
    
    .demo-mode-notification {
        right: 10px;
        top: 60px;
        max-width: calc(100vw - 20px);
    }
    
    .notification-content {
        padding: 0.75rem;
    }
}
