:root {
  --primary: #1976D2;
  --primary-dark: #1565C0;
  --primary-light: #BBDEFB;
  --accent: #FF4081;
  --text-primary: #212121;
  --text-secondary: #757575;
  --divider: #BDBDBD;
  --background: #FAFAFA;
  --surface: #FFFFFF;
  --error: #F44336;
  --success: #4CAF50;
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

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

/* Material Cards */
.card {
  background: var(--surface);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-elevated {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.card-elevated:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-outlined {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Ripple Effect */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Header */
header {
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

@media (min-width: 769px) {
  header {
    position: sticky;
    top: 0;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1873CF;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Grid System */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Pricing Cards */
.pricing-card {
  padding: 32px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 3px solid var(--accent);
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}

.pricing-card .price span {
  font-size: 18px;
  color: var(--text-secondary);
}

.pricing-card ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
}

/* Section Spacing */
section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
}

/* Form Elements */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.badge-success {
  background: #C8E6C9;
  color: #2E7D32;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
}

.modal-content {
  background-color: var(--surface);
  padding: 32px;
  border-radius: 4px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  margin: 5% auto;
  max-height: 90vh;
  overflow-y: auto;
}

.close {
  color: var(--text-secondary);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 20px;
}

.close:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
  }
}
