/* Gemini-Inspired Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&family=Space+Grotesk:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Core Colors - Light Mode */
  --bg-body: #ffffff;
  --bg-surface: #f0f4f9; /* Light grey-blue tint common in Google UIs */
  --text-primary: #1f1f1f;
  --text-secondary: #444746;
  --border-color: #e0e3e7;
  
  /* The "Gemini" Gradient */
  --gradient-primary: linear-gradient(90deg, #4285F4 0%, #9B72CB 50%, #D96570 100%);
  --gradient-hover: linear-gradient(90deg, #1967D2 0%, #7B46BD 50%, #C52233 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(66, 133, 244, 0.05) 0%, rgba(155, 114, 203, 0.05) 100%);

  /* Shapes & Spacing */
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 12px;
  --container-width: 1200px;
  
  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif; /* Technical but quirky */
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

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

/* Hero Section */
.hero {
  padding: 8rem 0;
  text-align: center;
  background: var(--gradient-subtle);
  position: relative;
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hero Stats - Pill Shaped */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--bg-body);
  padding: 1rem 2rem;
  border-radius: 100px; /* Pill shape */
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #4285F4;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* Profile Section - "Feature Card" Style */
.profile-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 4rem 0;
  border: 1px solid var(--border-color);
  align-items: center;
}

@media (min-width: 960px) {
  .profile-section {
    grid-template-columns: auto 1fr;
    padding: 4rem;
  }
}

.profile-image {
  width: 240px;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-image:hover img {
  transform: scale(1.05);
}

.profile-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.profile-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.profile-links a {
  background: var(--bg-body);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-links a i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-links a:hover {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.profile-links a:hover i {
  -webkit-text-fill-color: var(--bg-body);
}

/* Tool Cards - "Bento Box" Grid */
.tool-section {
  margin-bottom: 4rem;
}

.tool-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

/* Gradient Border Top for cards */
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tool-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-body);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tool-title {
  font-size: 2rem;
  margin: 0;
  background: linear-gradient(90deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tool-url {
  display: inline-block;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: #4285F4;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(66, 133, 244, 0.1);
  border-radius: 8px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--bg-body);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.feature-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

/* Images in cards */
.tool-card img {
  border-radius: var(--radius-md);
  width: 100%;
  margin-top: 2rem;
  border: 1px solid var(--border-color);
}

/* Footer */
.footer {
  padding: 6rem 0 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 6rem 0; }
  .tool-card, .profile-section { padding: 2rem; }
}
