/* Social Media AutoPost - Main Styles */

:root {
  --primary: #6C63FF;
  --cyan: #00D2FF;
  --yellow: #FFD93D;
  --dark: #2D3436;
  --gray: #636E72;
  --light-gray: #DFE6E9;
  --off-white: #F9F9F9;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(108, 99, 255, 0.15);
  --shadow-hover: 0 8px 30px rgba(108, 99, 255, 0.25);
}

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

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.25rem;
  color: var(--dark);
}

h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

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

/* Navigation */
nav {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

nav .logo-with-text .brand-name {
  font-size: 1.25rem;
}

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

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

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

.btn-login {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

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

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

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

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

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

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

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--white);
}

.features h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.features .section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.125rem;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: var(--white);
}

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

.stat-item h3 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* Social Proof */
.social-proof {
  padding: 6rem 0;
  background: var(--off-white);
}

.social-proof h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.stars {
  color: var(--yellow);
  font-size: 1.5rem;
}

.rating-text {
  font-size: 1.125rem;
  color: var(--dark);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1e272e 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

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

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

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

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

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

.footer-section a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  nav .nav-links {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .features,
  .social-proof,
  .cta-section {
    padding: 4rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}
