/* 
  Galibrand - Main Stylesheet 
  Theme: Blue (Trust) & Green (Growth)
  No frameworks used.
*/

:root {
  --primary-blue: #0056b3;
  --primary-green: #16a34a;
  --dark-text: #1e293b;
  --light-text: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --container-width: 1200px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.text-green { color: var(--primary-green); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #004494;
}

.btn-secondary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #15803d;
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.logo span {
  color: var(--primary-green);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark-text);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-blue);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  user-select: none;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-text);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections General */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--light-text);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

/* Cards */
.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.card p {
  color: var(--light-text);
}

/* Features / Problems */
.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: inline-block;
}

/* Pricing */
.pricing-card {
  text-align: center;
  border-top: 5px solid var(--primary-blue);
  display: flex;
  flex-direction: column;
}

.pricing-card.highlight {
  border-top: 5px solid var(--primary-green);
  transform: scale(1.05);
  z-index: 1;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
  color: var(--dark-text);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--light-text);
}

.features-list {
  text-align: left;
  margin: 20px 0;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features-list li::before {
  content: "✓";
  color: var(--primary-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Contact Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.error-msg {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--primary-green);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .pricing-card.highlight {
    transform: scale(1);
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
