/* Hagen Power Technologies - Light Blue Theme */

:root {
  /* Light Background Palette */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-accent: #eff6ff;
  --bg-dark: #1e3a5f;
  
  /* Blue Accent Family */
  --blue-primary: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-pale: #dbeafe;
  --sky: #0ea5e9;
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #ffffff;
  --text-on-blue: #ffffff;
  
  /* Utility */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 8px;
  --green: #10b981;
  --red: #ef4444;
  --amber: #f59e0b;
}

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

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { color: var(--text-secondary); }

/* Navigation */
.navbar {
  background: var(--bg-secondary);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid #e2e8f0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-primary), var(--sky));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--blue-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 1px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 10rem 5% 6rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--blue-primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--text-on-blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Stats Bar */
.stats-bar {
  padding: 3rem 5%;
  background: var(--bg-secondary);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stats-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Sections */
section {
  padding: 5rem 5%;
}

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

.section-label {
  display: inline-block;
  color: var(--blue-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

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

/* Cards */
.card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 2;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Problem Section */
.problem-section {
  background: var(--bg-accent);
}

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

.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.problem-stat {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.problem-stat .number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue-primary);
}

.problem-stat .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.problem-list {
  list-style: none;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.problem-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-primary);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Technology Section */
.tech-highlight {
  background: linear-gradient(135deg, var(--blue-primary), var(--sky));
  color: white;
  padding: 3rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}

.tech-highlight h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.tech-highlight p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

.tech-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

.tech-stat .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.tech-stat .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* AFDD Section */
.afdd-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.afdd-content h3 {
  color: var(--blue-primary);
  margin-bottom: 1rem;
}

.afdd-features {
  list-style: none;
  margin-top: 1.5rem;
}

.afdd-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.afdd-features li svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: var(--bg-dark);
  color: white;
  font-weight: 600;
}

.comparison-table th.highlight {
  background: var(--blue-primary);
}

.comparison-table tr:hover {
  background: var(--bg-accent);
}

.comparison-table .check {
  color: var(--green);
  font-weight: bold;
}

.comparison-table .cross {
  color: var(--red);
}

.comparison-table .partial {
  color: var(--amber);
}

/* Investment Cards */
.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.investment-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.investment-card .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 0.5rem;
}

.investment-card .label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Use of Funds */
.funds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fund-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--blue-primary);
}

.fund-item .percentage {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-primary);
}

.fund-item h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: var(--text-primary);
}

.fund-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Market Stats */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.market-drivers {
  list-style: none;
}

.market-drivers li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.market-drivers .stat {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  min-width: 80px;
}

.market-drivers .desc {
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--blue-primary), var(--sky));
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.cta-section .btn-primary:hover {
  background: var(--bg-primary);
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.contact-detail svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue-primary);
  fill: none;
}

.contact-detail a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--blue-primary);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 5%;
  text-align: center;
}

.footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  padding: 8rem 5% 4rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.page-header .container {
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
}

/* Traction Section */
.traction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.traction-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--blue-primary);
}

.traction-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-primary);
}

.traction-card .label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.proof-points {
  list-style: none;
}

.proof-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.proof-points li svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .problem-grid,
  .contact-content,
  .afdd-section,
  .market-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .investment-grid {
    grid-template-columns: 1fr;
  }
  
  .funds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .traction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero {
    padding: 8rem 5% 4rem;
  }
  
  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .problem-stats {
    grid-template-columns: 1fr;
  }
  
  .funds-grid {
    grid-template-columns: 1fr;
  }
  
  .traction-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation */
.page-content {
  animation: fadeIn 0.4s ease-out;
}

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

/* Anne Section */
.anne-section {
  background: var(--bg-accent);
  padding: 5rem 5%;
}

.anne-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.anne-content h2 {
  margin-bottom: 1rem;
}

.anne-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.anne-tagline strong {
  color: var(--blue-primary);
}

.anne-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.anne-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.anne-feature svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue-primary);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.anne-feature h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.anne-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Anne Chat Mockup */
.anne-chat {
  background: var(--bg-secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.anne-chat-header {
  background: linear-gradient(135deg, var(--blue-primary), var(--sky));
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.anne-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anne-avatar svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.anne-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.anne-status {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-left: auto;
}

.anne-chat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anne-message {
  background: var(--bg-accent);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border-top-left-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.anne-message strong {
  color: var(--text-primary);
}

.anne-alert,
.anne-warning,
.anne-success {
  margin-right: 0.5rem;
}

.anne-chat-footer {
  background: var(--bg-primary);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
}

.anne-badge {
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.anne-roadmap {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .anne-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .anne-chat {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .anne-chat-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
