@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500&display=swap');

:root {
  /* Brand Colors - Light & Professional */
  --primary: #2563eb;       /* Royal Blue - Trust & Clarity */
  --primary-dark: #1e40af;  /* Darker Blue for hover */
  --primary-light: #eff6ff; /* Very light blue for backgrounds */
  
  --accent: #f59e0b;        /* Amber - Highlights/Attention */
  
  /* Neutral Colors */
  --text-main: #0f172a;     /* Slate 900 - High Contrast Text */
  --text-body: #334155;     /* Slate 700 - Body Text */
  --text-muted: #64748b;    /* Slate 500 - Secondary Text */
  
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-alt: #f8fafc;        /* Slate 50 - Subtle alternating background */
  --border-color: #e2e8f0;  /* Slate 200 */

  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Shadows (Soft & Modern) */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; /* Modern, geometric sans */
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout Utilities --- */
.container {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--text-main) 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); /* Blue glow */
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: #cbd5e1;
  color: var(--primary);
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

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

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 70%);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 580px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-main);
}

.icon-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #dbeafe; /* Light Blue */
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Hero Card (Floating Card Effect) */
.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  right: 20px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: -1;
  border: 1px solid rgba(0,0,0,0.05);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.process-steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
  border-left: 2px solid #e2e8f0;
}

.process-steps li:last-child {
  margin-bottom: 0;
  border-left-color: transparent;
}

.process-steps li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
}

.process-steps strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.process-steps span {
  color: var(--text-muted);
}

/* --- Standard Sections --- */
.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.25rem;
}

/* --- Feature Cards --- */
.feature-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.card-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background-color: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.card-list {
  list-style: none;
  padding: 0;
  margin-top: auto; /* Pushes list to bottom if needed */
  padding-top: 1.5rem;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-body);
}

.card-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* --- Portfolio Grid --- */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 2rem;
  border-radius: var(--radius-md);
  color: white;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

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

/* Gradients that look good on light theme (bold, distinct) */
.bg-gradient-1 { background: linear-gradient(135deg, #2563eb, #1e40af); } /* Blue */
.bg-gradient-2 { background: linear-gradient(135deg, #059669, #047857); } /* Emerald */
.bg-gradient-3 { background: linear-gradient(135deg, #db2777, #be185d); } /* Pink */
.bg-gradient-4 { background: linear-gradient(135deg, #475569, #1e293b); } /* Slate */

.project-content {
  position: relative;
  z-index: 10;
}

.project-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: white;
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: background 0.2s;
}

.project-link:hover {
  background: #f8fafc;
}

/* --- CTA Section --- */
.cta-section {
  background-color: var(--primary);
  /* Gentle pattern overlay */
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%);
  color: white;
  text-align: center;
  padding: 6rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 4rem 1.5rem;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.4);
}

.cta-section h2 {
  color: white;
}

.cta-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.input-field {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: white;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.input-field::placeholder {
  color: #94a3b8;
}

.input-field:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

textarea.input-field {
  resize: vertical;
  min-height: 120px;
}

/* Button inside CTA (Needs to contrast with Primary bg) */
.cta-section .btn-primary {
  background-color: white;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
}

/* --- Footer --- */
.site-footer {
  background-color: white;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p, .checklist {
    margin-inline: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .nav-menu {
    display: none; /* In a real project, we'd add a JS toggle */
  }
}

@media (max-width: 640px) {
  .grid.two, .grid.three {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .cta-section {
    margin: 2rem 1rem;
    padding: 3rem 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}
