  * { 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: #1f2937; background: #fff;
    }
    .container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
    }
    nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #e5e7eb; z-index: 1000;
    }
    nav .container { display: flex; justify-content: space-between; align-items: center; height: 64px;
    }
    .logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; color: #1f2937; text-decoration: none;
    }
    .logo-icon { width: 32px; height: 32px; color: #2563eb;
    }
    nav ul { display: flex; list-style: none; align-items: center; gap: 2rem;
    }
    nav a { color: #4b5563; text-decoration: none; transition: color 0.2s;
    }
    nav a:hover { color: #2563eb;
    }
    .btn-primary { background: #2563eb; color: white; padding: 0.5rem 1.5rem; border-radius: 0.5rem; border: none; cursor: pointer; font-size: 1rem; transition: background 0.2s; text-decoration: none; display: inline-block;
    }
    .btn-primary:hover { background: #1d4ed8;
    }
    .btn-secondary { background: white; color: #4b5563; padding: 1rem 2rem; border-radius: 0.5rem; border: 2px solid #d1d5db; cursor: pointer; font-size: 1.125rem; font-weight: 500; transition: background 0.2s; text-decoration: none; display: inline-block;
    }
    .btn-secondary:hover { background: #f9fafb;
    }
    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem;
    }
    .hero { padding: 8rem 1.5rem 5rem; background: linear-gradient(135deg, #eff6ff 0%, #fff 50%, #f9fafb 100%);
    }
    .hero-content { max-width: 56rem; margin: 0 auto; text-align: center;
    }
    .badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #dbeafe; color: #1d4ed8; padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem;
    }
    h1 { font-size: 3.75rem; font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
    }
    .hero h1 .highlight { color: #2563eb;
    }
    .hero p { font-size: 1.25rem; color: #4b5563; margin-bottom: 2rem;
    }
    .hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem;
    }
    .hero-buttons .btn-primary { padding: 1rem 2rem; font-size: 1.125rem; font-weight: 500; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); display: flex; align-items: center; gap: 0.5rem;
    }
    .hero-note { font-size: 0.875rem; color: #6b7280; margin-top: 1rem;
    }
    .dashboard-preview { margin-top: 4rem; position: relative;
    }
    .dashboard-preview::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, white, transparent, transparent); z-index: 10; pointer-events: none;
    }
    .dashboard { background: #111827; border-radius: 0.75rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); overflow: hidden; border: 1px solid #1f2937;
    }
    .dashboard-header { background: #1f2937; padding: 0.75rem 1rem; display: flex; gap: 0.5rem; border-bottom: 1px solid #374151;
    }
    .dashboard-dot { width: 12px; height: 12px; border-radius: 50%;
    }
    .dashboard-dot.red { background: #ef4444; } .dashboard-dot.yellow { background: #eab308; } .dashboard-dot.green { background: #22c55e; } .dashboard-content { padding: 2rem; background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem;
    }
    .stat-card { background: rgba(31, 41, 55, 0.5); border: 1px solid #374151; border-radius: 0.5rem; padding: 1.5rem;
    }
    .stat-label { color: #60a5fa; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem;
    }
    .stat-value { color: white; font-size: 2rem; font-weight: 700;
    }
    .stat-change { font-size: 0.875rem; margin-top: 0.5rem;
    }
    .stat-change.positive { color: #4ade80; } .stat-change.neutral { color: #9ca3af; } section { padding: 5rem 1.5rem;
    }
    .section-header { text-align: center; margin-bottom: 4rem;
    }
    h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem;
    }
    .section-header p { font-size: 1.25rem; color: #4b5563; max-width: 42rem; margin: 0 auto;
    }
    #features {
      background: white;
    }
    .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
    }
    .feature-card { padding: 2rem; border: 1px solid #e5e7eb; border-radius: 0.75rem; transition: all 0.3s; background: white;
    }
    .feature-card:hover { border-color: #93c5fd; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }
    .feature-icon { width: 48px; height: 48px; background: #dbeafe; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: #2563eb; transition: background 0.3s;
    }
    .feature-card:hover .feature-icon { background: #2563eb; color: white;
    }
    .feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem;
    }
    .feature-card p { color: #4b5563; line-height: 1.7;
    }
    #benefits {
      background: #f9fafb;
    }
    .benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
    }
    .benefits-list { list-style: none; margin: 2rem 0;
    }
    .benefits-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 1.125rem; color: #374151;
    }
    .check-icon { color: #22c55e; flex-shrink: 0; margin-top: 0.25rem;
    }
    .benefits-cards { display: flex; flex-direction: column; gap: 1.5rem;
    }
    .benefit-card { background: white; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .benefit-card-content { display: flex; gap: 1rem;
    }
    .benefit-icon { width: 48px; height: 48px; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .benefit-icon.green { background: #dcfce7; color: #16a34a; } .benefit-icon.blue { background: #dbeafe; color: #2563eb; } .benefit-icon.orange { background: #fed7aa; color: #ea580c; } .benefit-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem;
    }
    .benefit-card p { color: #4b5563;
    }
    #pricing {
      background: white;
    }
    .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 80rem; margin: 0 auto;
    }
    .pricing-card { border: 2px solid #e5e7eb; border-radius: 0.75rem; padding: 2rem; background: white; transition: transform 0.3s;
    }
    .pricing-card.popular { background: #2563eb; color: white; border: 4px solid #1d4ed8; transform: scale(1.05); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    .popular-badge { background: white; color: #2563eb; padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; display: inline-block; margin-bottom: 1rem;
    }
    .pricing-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem;
    }
    .price { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.25rem;
    }
    .price-period { opacity: 0.7;
    }
    .pricing-card.popular .price-period { color: #bfdbfe;
    }
    .device-count { margin-bottom: 1.5rem;
    }
    .pricing-card.popular .device-count { color: #bfdbfe;
    }
    .pricing-card:not(.popular) .device-count { color: #4b5563;
    }
    .features-list { list-style: none; margin-bottom: 2rem;
    }
    .features-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.75rem;
    }
    .pricing-card.popular .features-list li { color: #bfdbfe;
    }
    .pricing-card:not(.popular) .features-list li { color: #374151;
    }
    .pricing-card button { width: 100%; padding: 0.75rem; border-radius: 0.5rem; border: none; font-weight: 500; cursor: pointer; transition: all 0.2s; font-size: 1rem;
    }
    .pricing-card.popular button { background: white; color: #2563eb;
    }
    .pricing-card.popular button:hover { background: #eff6ff;
    }
    .pricing-card:not(.popular) button { background: #2563eb; color: white;
    }
    .pricing-card:not(.popular) button:hover { background: #1d4ed8;
    }
    .cta { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: white; text-align: center;
    }
    .cta h2 { color: white; margin-bottom: 1.5rem;
    }
    .cta p { font-size: 1.25rem; color: #bfdbfe; margin-bottom: 2rem; max-width: 56rem; margin-left: auto; margin-right: auto;
    }
    .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    }
    .cta-buttons .btn-primary { background: white; color: #2563eb; padding: 1rem 2rem; font-size: 1.125rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .cta-buttons .btn-primary:hover { background: #eff6ff;
    }
    .btn-transparent { background: transparent; color: white; padding: 1rem 2rem; border-radius: 0.5rem; border: 2px solid white; cursor: pointer; font-size: 1.125rem; font-weight: 500; transition: background 0.2s; text-decoration: none; display: inline-block;
    }
    .btn-transparent:hover { background: #1d4ed8;
    }
    footer { background: #111827; color: #9ca3af; padding: 3rem 1.5rem;
    }
    .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem;
    }
    .footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
    }
    .footer-brand .logo-icon { color: #3b82f6;
    }
    .footer-brand span { font-size: 1.25rem; font-weight: 700; color: white;
    }
    footer h4 { color: white; font-weight: 600; margin-bottom: 1rem;
    }
    footer ul { list-style: none;
    }
    footer ul li { margin-bottom: 0.5rem;
    }
    footer a { color: #9ca3af; text-decoration: none; font-size: 0.875rem; transition: color 0.2s;
    }
    footer a:hover { color: white;
    }
    .footer-bottom { border-top: 1px solid #1f2937; padding-top: 2rem; text-align: center; font-size: 0.875rem;
    }
    @media (max-width: 768px) { nav ul { display: none;
      }
      .mobile-menu-btn { display: block;
      }
      h1 { font-size: 2.5rem;
      }
      .hero { padding: 6rem 1.5rem 3rem;
      }
      .benefits-grid { grid-template-columns: 1fr;
      }
      .hero-buttons { flex-direction: column;
      }
      .hero-buttons .btn-primary, .hero-buttons .btn-secondary { width: 100%; justify-content: center;
      }
      section { padding: 3rem 1.5rem;
      }
    }

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    color: #334155;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-header p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-wrapper input {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px 8px 16px;
    color: #1e293b;
    font-size: 16px;
    transition: all 0.2s ease;
    width: 100%;
    outline: none;
}

.input-wrapper select {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px 8px 16px;
    color: #1e293b;
    font-size: 16px;
    transition: all 0.2s ease;
    width: 100%;
    outline: none;
}

.input-wrapper input::placeholder {
    color: transparent;
}

.input-wrapper label {
    position: absolute;
    left: 16px;
    top: 12px;
    color: #64748b;
    font-size: 16px;
    transition: all 0.2s ease;
    pointer-events: none;
    transform-origin: left top;
}

.input-wrapper input:focus,
.input-wrapper input:valid,
.input-wrapper input.has-value {
    border-color: #6366f1;
}

.input-wrapper input:focus + label,
.input-wrapper input:valid + label,
.input-wrapper input.has-value + label {
    transform: translateY(-8px) scale(0.875);
    color: #6366f1;
    font-weight: 500;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #64748b;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #1e293b;
}

.eye-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.2s ease;
}

.eye-icon.show-password {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 11-4.243-4.243m4.242 4.242L9.88 9.88'/%3e%3c/svg%3e");
}

/* Error Messages */
.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 4px;
    margin-left: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

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

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.remember-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    color: #64748b;
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: white;
}

.remember-wrapper input[type="checkbox"]:checked ~ .checkbox-label .checkmark {
    background: #6366f1;
    border-color: #6366f1;
}

.remember-wrapper input[type="checkbox"]:checked ~ .checkbox-label .checkmark::after {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.forgot-password {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #4f46e5;
}

/* Button */
.login-btn {
    width: 100%;
    background: #6366f1;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 24px;
}

.login-btn:hover {
    background: #4f46e5;
}

.login-btn:active {
    transform: translateY(1px);
}

/* Loading State */
.login-btn.loading {
    pointer-events: none;
    background: #a5a6f6;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    opacity: 0;
    animation: spin 1s linear infinite;
    transition: opacity 0.2s ease;
}

.login-btn.loading .btn-text {
    opacity: 0;
}

.login-btn.loading .btn-loader {
    opacity: 1;
}

/* Signup Link */
.signup-link {
    text-align: center;
}

.signup-link p {
    color: #64748b;
    font-size: 0.875rem;
}

.signup-link a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signup-link a:hover {
    color: #4f46e5;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 32px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.success-icon {
    width: 48px;
    height: 48px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin: 0 auto 16px;
    animation: successPulse 0.5s ease;
}

.success-message h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.success-message p {
    color: #64748b;
    font-size: 0.875rem;
}

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

.table-row {
  display: table-row;
}

.table-header .table-cell {
  background-color: #f2f2f2;
  font-weight: bold;
}

.table-cell {
  display: table-cell;
  padding: 1px;
  border: none;
  text-align: left;
  vertical-align: top;
}

/* Animations */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 24px;
        margin: 10px;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
