/* ========================================
   Easey AI — Complete Stylesheet
   Blue/White theme | v1.0.0
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #4a90d9;
  --dark-blue: #0d47a1;
  --light-blue: #e3f2fd;
  --dark: #1a1a2e;
  --text: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --accent: #00bcd4;
  --border-radius-card: 8px;
  --border-radius-input: 4px;
  --shadow-card: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-card-hover: 0 8px 25px rgba(0,0,0,0.15);
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --max-width: 1200px;
  --header-height: 70px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--border-radius-card);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26,115,232,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(26,115,232,0.4);
  transform: translateY(-2px);
  color: var(--white);
}

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

.btn-secondary:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,188,212,0.3);
}

.btn-accent:hover {
  background: #00acc1;
  transform: translateY(-2px);
  color: var(--white);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: background var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo img {
  height: 36px;
  width: auto;
}

.logo span {
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #4a90d9 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero .btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Hero wave divider */
.hero-wave {
  display: block;
  width: 100%;
  height: 80px;
  margin-top: -5px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-light);
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 35px 30px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- How It Works Preview --- */
.how-preview {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.step {
  position: relative;
  padding: 30px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- About Page --- */
.about-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  color: var(--white);
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-content {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-card);
  padding: 25px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.team-section {
  padding: 60px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light-blue);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.team-card span {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* --- How It Works Page --- */
.hiw-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  color: var(--white);
  text-align: center;
}

.hiw-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hiw-section {
  padding: 60px 0;
}

.hiw-section:nth-child(even) {
  background: var(--bg-light);
}

.hiw-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hiw-icon {
  font-size: 3.5rem;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hiw-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.hiw-text p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hiw-visual {
  background: var(--light-blue);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
}

.hiw-visual .icon-large {
  font-size: 6rem;
  margin-bottom: 15px;
}

.use-case {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-card);
}

.use-case h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.use-case p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Pricing Page --- */
.pricing-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  color: var(--white);
  text-align: center;
}

.pricing-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 35px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
}

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

.pricing-header {
  padding: 35px 30px 25px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-body {
  padding: 25px 30px;
  flex: 1;
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: 25px 30px;
  text-align: center;
}

/* --- Contact Page --- */
.contact-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  color: var(--white);
  text-align: center;
}

.contact-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius-input);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .error-text {
  display: none;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error .error-text {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 14px;
}

.form-feedback {
  display: none;
  padding: 15px 20px;
  border-radius: var(--border-radius-card);
  margin-top: 20px;
  font-weight: 500;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-feedback.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

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

.spinner.show {
  display: inline-block;
}

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

.btn.loading .btn-text {
  display: none;
}

.btn.loading .spinner {
  display: inline-block;
}

/* Contact Info */
.contact-info {
  padding: 40px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-item span {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.footer-brand h3 span {
  color: var(--primary);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.featured {
    transform: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hiw-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hiw-visual {
    order: -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero .btn {
    width: 100%;
  }

  .contact-form {
    padding: 25px 20px;
  }
}
