/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700;800&family=Roboto+Slab:wght@400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

/* Color Variables - Modern Professional */
:root {
  --primary-color: #ff6d4d;
  --secondary-color: #23272a;
  --accent-yellow: #ffd166;
  --light-gray: #f5f6fa;
  --emerald-green: #43b581;
  --white: #ffffff;
  --text-color: #23272a;
  --text-light: #6c757d;
  --border-light: #e1e5e9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  font-weight: 400;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

p {
  font-family: 'Inter', sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight: 400;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Header and Navigation */
.header {
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(35, 39, 42, 0.08);
  backdrop-filter: blur(10px);
}

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

.nav-brand a {
  display: block;
  transition: opacity 0.3s ease;
}

.nav-brand a:hover {
  opacity: 0.8;
}

.nav-brand .logo {
  height: 60px;
  width: auto;
  filter: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 216px;
  height: 216px;
  margin-bottom: -1.5rem;
  filter: none;
}

.hero h1 {
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 4rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 109, 77, 0.25);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: #e55a42;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 109, 77, 0.35);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 109, 77, 0.25);
}

.cta-button.accent {
  background: var(--accent-yellow);
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(255, 209, 102, 0.25);
}

.cta-button.accent:hover {
  background: #e6bc5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.35);
}

.cta-button.success {
  background: var(--emerald-green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(67, 181, 129, 0.25);
}

.cta-button.success:hover {
  background: #3aa371;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 181, 129, 0.35);
}

/* Sections */
section {
  padding: 6rem 0;
}

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

.platform {
  background: var(--light-gray);
}

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

.join {
  background: var(--secondary-color);
  color: var(--white);
}

.join h2 {
  color: var(--white);
}

.join p {
  color: rgba(255, 255, 255, 0.85);
}

.join .cta-button {
  background: var(--emerald-green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(67, 181, 129, 0.25);
}

.join .cta-button:hover {
  background: #3aa371;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 181, 129, 0.35);
}

/* Content sections */
.idea-content,
.platform-content,
.join-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Features Grid */
.features-intro {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.feature-card {
  background: var(--white);
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(35, 39, 42, 0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-yellow) 50%, var(--emerald-green) 100%);
}

.feature-card-content {
  padding: 2.5rem;
}

.feature-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(35, 39, 42, 0.12);
  border-color: var(--primary-color);
}

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

.feature-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text-color);
}

.features-note {
  text-align: center;
  font-style: italic;
  color: var(--text-color);
  opacity: 0.8;
  margin: 3rem 0 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features .cta-button {
  display: block;
  margin: 2rem auto 0;
  text-align: center;
  max-width: 200px;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(255, 109, 77, 0.2);
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    padding: 1rem;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(35, 39, 42, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-logo {
    width: 80px;
    height: 80px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

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

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

/* Focus states for accessibility */
.cta-button:focus,
.footer-links a:focus {
  outline: 2px solid #ff6d4d;
  outline-offset: 2px;
}

.nav-menu a:focus {
  outline: none;
}

/* Login Page Layout */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.login-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.login-hero {
  text-align: center;
  padding: 2rem;
}

.login-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
  filter: none;
}

.login-hero h1 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-family: 'Roboto Slab', serif;
}

.login-hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Mobile responsive for login layout */
@media (max-width: 968px) {
  .login-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .login-hero {
    order: 2;
    padding: 1rem;
  }
  
  .login-hero h1 {
    font-size: 2rem;
  }
  
  .login-logo {
    width: 80px;
    height: 80px;
  }
}

/* Authentication Styles */
.nav-login {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-login:hover {
  background: #e55a42 !important;
  color: var(--white) !important;
  transform: translateY(-1px) !important;
}

.nav-login::after {
  display: none !important;
}

.auth-container {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(35, 39, 42, 0.1);
  padding: 3rem;
  border: 1px solid var(--border-light);
}

.auth-toggle {
  display: flex;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 0.25rem;
  margin-bottom: 2rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.auth-tab.active {
  background: var(--white);
  color: var(--text-color);
  box-shadow: 0 2px 8px rgba(35, 39, 42, 0.08);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.auth-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.trial-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 109, 77, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.forgot-password {
  margin-left: auto;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.auth-divider span {
  background: var(--white);
  padding: 0 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.google-signin-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-light);
  background: var(--white);
  color: var(--text-color);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-signin-btn:hover {
  border-color: var(--text-light);
  background: var(--light-gray);
}

/* Mobile responsiveness for auth */
@media (max-width: 768px) {
  .auth-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .forgot-password {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* Legal page styles */
.legal-content {
  padding: 2rem 0 4rem;
  background: var(--white);
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.legal-section h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

.info-item,
.contact-item {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.info-item h3,
.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.info-item p,
.contact-item p {
  margin: 0;
  line-height: 1.5;
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--light-gray);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.legal-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .legal-links {
    flex-direction: column;
  }
  
  .legal-link {
    text-align: center;
  }
}

/* Scroll indicator styles */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  animation: bounce 2s infinite;
}

.scroll-arrow:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 1rem;
  }
  
  .scroll-arrow {
    width: 50px;
    height: 50px;
  }
}

/* Print styles */
@media print {
  .header,
  .nav-toggle,
  .cta-button {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}