/**
 * 10Mail V2 - Dark Blue Theme (Goku.cloud inspired)
 * Based on goku.cloud design with deep blue colors
 */

:root {
  /* Primary Dark Blue Colors */
  --primary-dark: #1a1a2e;
  --primary-darker: #16213e;
  --primary-accent: #0f3460;

  /* Accent Colors */
  --accent-purple: #667eea;
  --accent-indigo: #764ba2;
  --accent-coral: #ff6b6b;
  --accent-success: #10b981;
  --accent-success-light: #6ee7b7;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-danger-light: #fca5a5;
  --accent-info: #3b82f6;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Borders & Shadows */
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
}

/* Global Styles */
body {
  background: var(--primary-dark);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

/* Cards */
.card-v2 {
  background: var(--primary-darker);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.card-v2 .card-body {
  padding: 1.5rem;
}

.card-v2 .card-body h6 {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-v2 .card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn-primary-v2 {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.btn-primary-v2:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn-outline-v2 {
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
  background: transparent;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-outline-v2:hover {
  background: var(--accent-purple);
  color: white;
}

/* Subscription Badges */
.subscription-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.subscription-badge.free {
  background: rgba(107, 114, 128, 0.2);
  color: var(--text-secondary);
}

.subscription-badge.basic {
  background: var(--gradient-primary);
  color: white;
}

.subscription-badge.advanced {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Email Cards */
.email-card-v2 {
  background: var(--primary-accent);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.email-card-v2:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.email-address-v2 {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: var(--accent-purple);
  font-weight: 600;
}

/* Countdown Timer */
.countdown-timer-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--accent-danger);
  border-radius: 0.5rem;
  color: var(--accent-danger);
  font-weight: 600;
}

.countdown-timer-v2 i {
  animation: pulse 1s ease-in-out infinite;
}

/* Pricing Cards */
.pricing-card-v2 {
  background: var(--primary-darker);
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card-v2.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.pricing-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.fade-in-v2 {
  animation: fadeIn 0.3s ease;
}

/* Utility Classes */
.gradient-text-v2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* Forms */
.form-control-v2 {
  background: var(--primary-accent);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
}

.form-control-v2:focus {
  background: var(--primary-accent);
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  color: var(--text-primary);
}

.form-control-v2::placeholder {
  color: var(--text-secondary);
  opacity: 0.8;
}

.form-control-v2:focus::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .card-v2 {
    border-radius: 0.5rem;
  }

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

/* Footer Link Hover Effect */
.hover-gradient {
    transition: all 0.3s ease;
}

.hover-gradient:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
