/* AI Budget Coach Website Styles - Matching Logo Design */

:root {
  /* Colors from logo */
  --primary-teal: #4ECDC4;
  --secondary-teal: #17A2B8;
  --primary-orange: #FFB347;
  --secondary-orange: #FFA500;
  --background-cream: #F8F6F0;
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --white: #FFFFFF;
  --shadow: rgba(76, 205, 196, 0.15);
  --shadow-dark: rgba(44, 62, 80, 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background-cream);
}

/* 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-teal), var(--secondary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

h3 {
  font-size: 1.8rem;
  color: var(--secondary-teal);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

/* Main Content */
main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-cream) 0%, rgba(248, 246, 240, 0.8) 100%);
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.hero .subtitle {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

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

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn i {
  width: 1rem;
  height: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
  color: var(--white);
  box-shadow: 0 4px 15px var(--shadow);
}

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

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 179, 71, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 179, 71, 0.4);
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-dark);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 4px 15px rgba(76, 205, 196, 0.3);
}

.feature-icon i {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-teal);
}

/* Trust Section */
.trust {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
  color: var(--white);
  text-align: center;
}

.trust h2 {
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 700;
}

.trust p {
  color: var(--white);
  font-weight: 500;
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trust-item h3 {
  color: var(--white);
  font-weight: 700;
}

.trust-item p {
  color: var(--white);
  font-weight: 400;
}

.trust-icon {
  font-size: 2.5rem;
  color: var(--primary-orange);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.trust-icon i {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-orange);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-section h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: #BDC3C7;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 1rem;
  text-align: center;
  color: #BDC3C7;
}

/* Legal Pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--shadow-dark);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.legal-page h1 {
  color: var(--secondary-teal);
  border-bottom: 3px solid var(--primary-teal);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  color: var(--secondary-teal);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-page p, .legal-page li {
  color: var(--text-dark);
  line-height: 1.7;
}

.legal-page ul, .legal-page ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px var(--shadow-dark);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--background-cream);
  border-radius: 10px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-teal);
}

.contact-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-teal);
}

/* Heading icons */
h2 i, h3 i {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .hero .subtitle {
    font-size: 1.2rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
  }

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

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

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Loading Animation for Robot */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}