/* AWS-Inspired Hosting Platform Styles */
:root {
  --primary-navy: #232F3E;
  --primary-orange: #FF9900;
  --accent-blue: #4A90E2;
  --light-blue: #E8F4FD;
  --text-gray: #555555;
  --light-gray: #F7F9FA;
  --border-gray: #E1E8ED;
  --white: #FFFFFF;
  --success-green: #16A085;
  --font-family: 'Amazon Ember', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 300;
}

h2 {
  font-size: 2.5rem;
  font-weight: 400;
}

h3 {
  font-size: 1.875rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--light-gray);
}

/* Navigation */
.nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-gray);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-orange);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary,
a.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
  
  transition: all 0.3s ease;
  text-transform: uppercase;
  
}

.btn-primary:hover,
a.btn-primary:hover {
  background-color: #E68900;
  transform: translateY(-2px);
  
  color: var(--white);
}

.btn-secondary {
  background-color: #1ABC9C;
  color: var(--primary-navy);
}

.btn-secondary.bordered {
    background-color: transparent;
  border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
  background-color: #17A68A;
  transform: translateY(-2px);
}
.btn-secondary.bordered:hover {
  background-color: transparent;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #2C3E50 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.375rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Cards and Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.title-definition {
    position: relative;
}

.card {
  
  background: var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.card.white {
    background: var(--white);
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--light-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  font-size: 1.5rem;
}

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

.card p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* Features Section */
.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.features-header p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Performance Metrics */
.metrics {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-navy) 100%);
  color: var(--white);
  padding: 5rem 0;
}

.metrics h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 3rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.metric-item {
  padding: 2rem;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-orange);
  display: block;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.125rem;
  color: var(--white);
  opacity: 0.9;
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing-header {
  margin-bottom: 4rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 2px solid var(--border-gray);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--primary-orange);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.price-period {
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-gray);
  position: relative;
  padding-left: 2rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: 700;
}

/* Dashboard Preview */
.dashboard-preview {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.dashboard-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.dashboard-mockup {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-gray);
  margin-top: 3rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 2rem;
}

.dashboard-tabs {
  display: flex;
  gap: 2rem;
}

.dashboard-tab {
  padding: 0.75rem 1.5rem;
  background: var(--light-gray);
  border-radius: 6px;
  font-weight: 500;
  color: var(--text-gray);
}

.dashboard-tab.active {
  background: var(--primary-orange);
  color: var(--white);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-stat {
  background: var(--light-blue);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.dashboard-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.dashboard-stat-label {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-left: 110px;
  gap: 3rem;
  margin-bottom: 2rem;
  width: 100%;
}

/* Add this new rule for the footer columns: */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        margin-left: 9%;
    }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
 
  .footer-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-left: 2%;
  }
  
  /* On mobile, the footer-column gap remains the same */
  .footer-column {
    gap: 3rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-orange {
  color: var(--primary-orange);
}

.bg-navy {
  background-color: var(--primary-navy);
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }