/* College Tools Website Styles */

:root {
  /* Colors - Google Material Design inspired */
  --primary: #4285F4;
  --primary-dark: #1565C0;
  --secondary: #34A853;
  --accent: #EA4335;
  --warning: #FBBC04;
  
  /* Grays */
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F4;
  --gray-200: #E8EAED;
  --gray-300: #DADCE0;
  --gray-400: #BDC1C6;
  --gray-500: #9AA0A6;
  --gray-600: #80868B;
  --gray-700: #5F6368;
  --gray-800: #3C4043;
  --gray-900: #202124;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.2s ease;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: white;
}

/* Skip to main content - Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  font-weight: var(--font-weight-medium);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Header */
.header {
  background: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  color: var(--gray-900);
}

.logo {
  border-radius: var(--border-radius);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu a {
  font-weight: var(--font-weight-medium);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--gray-100);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-200);
  color: var(--gray-900);
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--gray-600);
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: var(--space-xl);
  text-align: center;
}

.hero-image .screenshot {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: var(--space-2xl) 0;
}

.features h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
}

/* Trust Signals */
.trust-signals {
  padding: var(--space-2xl) 0;
  background: var(--gray-50);
}

.trust-content {
  text-align: center;
}

.trust-content h2 {
  margin-bottom: var(--space-xl);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.trust-badge {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.trust-badge strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

/* Guide Styles */
.guide-content,
.screenshots-content,
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
}

.step-content h3 {
  margin-bottom: var(--space-sm);
}

.step-content ol,
.step-content ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.step-content li {
  margin-bottom: var(--space-xs);
}

/* Screenshots */
.screenshot-section {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.screenshot-section h2 {
  margin-bottom: var(--space-sm);
}

.screenshot-section p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.screenshot {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Legal content */
.legal-content h1 {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.legal-content h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.last-updated {
  text-align: center;
  font-style: italic;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: var(--space-sm);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-xs);
}

.footer-section a {
  color: var(--gray-300);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-700);
  color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    gap: var(--space-sm);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
  
  .features h2 {
    font-size: 2rem;
  }
}
/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4285F4;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border: none;
  font-size: 20px;
}

#back-to-top:hover {
  background: #1565C0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

html {
  scroll-behavior: smooth;
}
