/* Custom styles for IlmoPro.fi */

:root {
  --primary: #0A4CFF;
  --primary-dark: #0838CC;
  --secondary: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
}

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

/* Body defaults */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
}

/* Header sticky navigation */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
.btn-primary {
  background: var(--primary);
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 76, 255, 0.3);
}

/* Card hover effects */
.feature-card {
  transition: all 0.3s ease;
}

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

/* Hero gradient background */
.hero-gradient {
  background: linear-gradient(135deg, #0A4CFF 0%, #0838CC 100%);
}

/* Price card */
.price-card {
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(10, 76, 255, 0.15);
}

/* Form inputs */
.form-input {
  border: 2px solid var(--border);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 76, 255, 0.1);
}

/* Form input error state */
.form-input.border-red-500 {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

.form-input.border-red-500:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

input.border-red-500,
textarea.border-red-500,
select.border-red-500 {
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Success/Error messages */
.message-success {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}

.message-error {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.6s linear infinite;
}

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

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

/* Checkmark icon */
.checkmark {
  color: var(--secondary);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

