/* style.css - Modern SaaS Theme */
:root {
  --primary: #FC5200; /* Strava Orange for accents */
  --dark: #1F1F1F;
  --light: #F7F7F7;
  --white: #FFFFFF;
  --text-main: #333333;
  --text-muted: #666666;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--white);
}

/* Typography */
h1, h2, h3 { color: var(--dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; text-align: center; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.bg-light { background-color: var(--light); }

/* Components */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

/* Contact Button */
.btn-contact {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-contact:hover {
  background-color: #e04800;
  color: var(--white) !important; /* Override nav link hover color */
  transform: translateY(-1px);
}

.btn-contact:active {
  transform: translateY(1px);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eaeaea;
}
.brand { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.nav-links a { margin-left: 2rem; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  gap: 4rem;
}
.hero-content { flex: 1; }
.hero-image { flex: 1; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.hero-image img { width: 100%; height: auto; display: block; }

/* Connect Button - Official Strava Style */
.btn-connect {
  display: inline-block;
  background: transparent;
  padding: 0;
  border: none;
}
.btn-connect img { height: 48px; }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid #eee;
}

/* Steps/Screenshots */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step-card { text-align: center; }
.step-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  border: 1px solid #eee;
}

/* Footer */
footer {
  background: var(--dark);
  color: #888;
  padding: 4rem 2rem;
  text-align: center;
  font-size: 0.9rem;
}
footer a { color: #aaa; text-decoration: underline; }
footer .legal-links { margin-bottom: 2rem; }
footer .legal-links a { margin: 0 1rem; text-decoration: none; }

/* --- Contact Page Specific Styles --- */

/* 1. Navbar Adjustments for Contact Page */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: #111;
}

.badge {
    background: #0070f3;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
}

/* 2. Focused Contact Grid (2 Columns, Centered) */
.contact-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Equal Columns */
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid-simple {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/* 3. Action Cards */
.contact-card {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 300px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* 4. Action Buttons */
.action-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    background-color: #0070f3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.action-button:hover {
    background-color: #0051a2;
    transform: translateY(-2px);
}

.action-button.outline {
    background-color: transparent;
    border: 2px solid #0070f3;
    color: #0070f3;
}

.action-button.outline:hover {
    background-color: #eff6ff;
}

/* Branding */
.brand-code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: #f1f1f1;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #333;
}
