/* ============================================
   aleff.digital - Main Stylesheet
   Design: Minimalist Corporate Futuristic
   Colors: White, Dark Gray (#0F172A), Electric Blue (#0EA5E9)
   Fonts: Poppins (headings), Inter (body)
   ============================================ */

:root {
  --primary: #0EA5E9;
  --primary-dark: #0891B2;
  --foreground: #0F172A;
  --background: #FFFFFF;
  --secondary: #F1F5F9;
  --muted: #E2E8F0;
  --muted-foreground: #64748B;
  --border: #E2E8F0;
  --destructive: #DC2626;
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* ============================================
   Global Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

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

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

button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

button:hover {
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

input, textarea, select {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 2.5rem;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--foreground);
  font-weight: 500;
  transition: var(--transition);
}

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

.cta-button {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--primary-dark);
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
  
  .cta-button {
    display: inline-block;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-align: center;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--secondary);
}

/* ============================================
   Statistics Section
   ============================================ */

.stats {
  background-color: var(--secondary);
  padding: 4rem 0;
}

.stats h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

/* ============================================
   Services Section
   ============================================ */

.services {
  padding: 6rem 0;
}

.services h2 {
  margin-bottom: 1rem;
}

.services > p {
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 32rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-benefits {
  list-style: none;
  space-y: 0.5rem;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-benefits li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* ============================================
   Process Section
   ============================================ */

.process {
  background-color: var(--secondary);
  padding: 6rem 0;
}

.process h2 {
  margin-bottom: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.process-step {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.95rem;
}

/* ============================================
   About Section
   ============================================ */

.about {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about h2 {
  margin-bottom: 1.5rem;
}

.about p {
  margin-bottom: 1rem;
}

.values-list {
  list-style: none;
  margin: 2rem 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-weight: 500;
}

.values-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-stats {
  background: linear-gradient(to bottom right, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-stat {
  margin-bottom: 2rem;
}

.about-stat:last-child {
  margin-bottom: 0;
}

.about-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-stat-label {
  color: var(--muted-foreground);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  background-color: var(--secondary);
  padding: 6rem 0;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact > p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 32rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.contact-form {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   CTA Final Section
   ============================================ */

.cta-final {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-final h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-final button {
  background-color: white;
  color: var(--primary);
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}

.cta-final button:hover {
  background-color: var(--secondary);
}

/* ============================================
   Footer
   ============================================ */

footer {
  background-color: var(--foreground);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-social a:hover {
  opacity: 1;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .services,
  .process,
  .about,
  .contact {
    padding: 4rem 0;
  }

  .stats {
    padding: 3rem 0;
  }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}
