/* Apple-Inspired Minimalist HoxLabs Landing Page Styles */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #fafafa;
  color: #111;
  scroll-behavior: smooth;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e5e5;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}
.logo img {
  height: 72px;
  filter: none;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.logo:hover img {
  transform: scale(1.05);
}
.nav {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  transition: color 0.2s, border-bottom 0.2s;
  position: relative;
  padding-bottom: 3px;
}
/* Remove nav-link hover effect */
/*
.nav-link:hover, .nav-link:focus {
  color: #111;
  border-bottom: 2px solid #111;
}
*/

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  text-align: center;
  position: relative;
  padding: 2rem 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.02) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  width: 100%;
  padding: 3.5rem 0 2.5rem 0;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  color: #111;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.subheadline {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 3rem;
  color: #555;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}
.btn {
  padding: 1.2rem 3rem;
  border: 2px solid #111;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  text-decoration: none;
  display: inline-block;
  background: #fff;
  color: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn.primary {
  background: #111;
  color: #fff;
  border: 2px solid #111;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn.primary:hover, .btn.primary:focus {
  background: #000;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.btn.secondary {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #f5f5f7;
  color: #111;
  border-color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* About / How It Works */
.about {
  background: #fff;
  padding: 6rem 0 5rem 0;
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
}
.about-cards {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 2rem;
}
/* Minimalist Card Style - No Colors, Uniform Size */
.card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  border: 1.5px solid #ececec;
  min-width: unset;
  max-width: unset;
  width: 300px;
  height: 180px;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1), transform 0.22s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
  color: inherit;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #222;
  letter-spacing: 0.01em;
}
.card p {
  color: #555;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
/* Remove old card top border gradient */
.card::before { display: none !important; }

/* Google Form Embed */
.submit-idea {
  background: #fff;
  padding: 4.5rem 0 3.5rem 0;
}
.submit-idea h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 2.2rem;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.submit-idea iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: 0 1px 8px #0001;
}

/* Follow the Journey */
.follow {
  background: #f8f9fa;
  padding: 4rem 0 3rem 0;
  position: relative;
}
.follow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
}
.follow-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.follow-content span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
}
.follow-icons {
  display: flex;
  gap: 1.5rem;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}
.icon-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.icon-link:hover::before {
  transform: translateX(100%);
}
.icon-link:hover, .icon-link:focus {
  background: #f8f9fa;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-3px) scale(1.05);
}
.icon-link svg {
  display: block;
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  background: #fff;
  padding: 3rem 0 2rem 0;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.footer-email {
  color: #111;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: #f8f9fa;
}
.footer-email:hover, .footer-email:focus {
  color: #000;
  background: #f0f0f0;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s, border-bottom 0.2s;
  padding-bottom: 2px;
}
.footer-link:hover, .footer-link:focus {
  color: #111;
  border-bottom: 2px solid #111;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 900px) {
  .container {
    width: 96%;
  }
  .about-cards {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .header-content {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0;
  }
  .nav {
    gap: 1.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .subheadline {
    font-size: 1.3rem;
  }
  .hero-buttons {
    gap: 1.5rem;
  }
  .btn {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
  }
  .follow-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .follow-icons {
    gap: 1.2rem;
  }
  .hero-content {
    padding: 2.5rem 0 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    width: 98%;
  }
  .hero h1 {
    font-size: 2.3rem;
    letter-spacing: -1px;
  }
  .subheadline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 300px;
    padding: 1.1rem 2rem;
  }
  .about {
    padding: 4rem 0 3rem 0;
  }
  .card {
    padding: 2rem 1.5rem 1.8rem 1.5rem;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .card h3 {
    font-size: 1.3rem;
  }
  .card p {
    font-size: 1.05rem;
  }
  .nav {
    gap: 1.2rem;
    font-size: 1rem;
  }
  .nav-link {
    font-size: 1rem;
  }
  .logo img {
    height: 65px;
  }
  .follow {
    padding: 3rem 0 2.5rem 0;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-email {
    margin: 0 0.8rem;
  }
  .footer-nav {
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: unset;
    height: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .subheadline {
    font-size: 1rem;
  }
  .hero-content {
    padding: 5rem 0 3rem 0;
  }
  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    max-width: 250px;
  }
  .card {
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.95rem;
  }
  .nav {
    gap: 0.8rem;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  .logo img {
    height: 50px;
  }
  .icon-link {
    width: 40px;
    height: 40px;
  }
  .footer-email {
    font-size: 0.9rem;
  }
  .footer-link {
    font-size: 0.9rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  .hero-content {
    padding: 4rem 0 3rem 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .subheadline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .header, .footer, .hero-buttons, .follow {
    display: none;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 2rem 0;
  }
  .about {
    padding: 2rem 0;
  }
}

/* Button Hover Animation */
.btn {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn:hover, .btn:focus {
  transform: scale(1.045);
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

/* Fade-in Animation for Sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero, .about, .follow, .footer {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.1s forwards;
}
.about { animation-delay: 0.2s; }
.follow { animation-delay: 0.3s; }
.footer { animation-delay: 0.4s; }
