@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-green: #4A7C59;
  --secondary-green: #6B8E5A;
  --accent-brown: #8B6F47;
  --water-blue: #5C8A8A;
  --light-bg: #F8F6F0;
  --dark-bg: #2C3E2D;
  --card-bg: #E8E6E0;
  --text-dark: #2C3E2D;
  --text: #2C3E2D;
  --muted: #5A6B47;
  --border: #D4D2C8;
  --bg-light: #F8F6F0;
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  --gradient-accent: linear-gradient(135deg, var(--accent-brown), var(--water-blue));
  --gradient-hero: linear-gradient(135deg, #4A7C59 0%, #6B8E5A 25%, #8B6F47 50%, #5C8A8A 75%, #4A7C59 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: white;
  background: #000000;
  overflow-x: hidden;
}

/* Main content wrapper */
main {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: var(--gradient-hero);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.floating-fish {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.floating-fish:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-fish:nth-child(2) { top: 20%; left: 80%; animation-delay: 5s; }
.floating-fish:nth-child(3) { top: 60%; left: 20%; animation-delay: 10s; }
.floating-fish:nth-child(4) { top: 80%; left: 70%; animation-delay: 15s; }
.floating-fish:nth-child(5) { top: 40%; left: 90%; animation-delay: 8s; }

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(0px) rotate(0deg); }
  75% { transform: translateY(20px) rotate(-5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  padding: 20px 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: white;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.brand-text h1 {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.brand-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.nav-links a:hover::before {
  left: 0;
}

.nav-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button {
  background: white;
  color: var(--primary-green) !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-green);
  text-shadow: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('images/hero-background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Feature Hero Backgrounds */
.hero-bg-2 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('images/hero-background-2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-bg-3 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('images/hero-background-3.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  animation: slideInUp 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.4s both;
}

.btn-primary {
  background: white;
  color: var(--primary-green);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid white;
  text-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-green);
  transform: translateY(-3px);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #000000;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
  background: #000000;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.screenshot-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid #333333;
}

.screenshot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  padding: 20px;
  text-align: center;
}

.screenshot-caption h3 {
  color: var(--primary-green);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.screenshot-caption p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-card {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  display: inline;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

/* Changelog section titles - green color and smaller size */
.features#changelog .feature-card h3 {
  color: var(--primary-green);
  font-size: 1rem;
}

/* Changelog section text - smaller size */
.features#changelog .feature-card p {
  font-size: 0.9rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.feature-link:hover {
  color: var(--secondary-green);
  text-decoration: underline;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: #000000;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pricing-card {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-green);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features li::before {
  content: '✅';
  margin-right: 10px;
}

.pricing-button {
  background: var(--gradient-primary);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  width: 100%;
}

.pricing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: white;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section p, .footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.7;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mobile-nav .cta-button {
  background: white;
  color: var(--primary-green) !important;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-green);
  text-shadow: none;
  font-size: 1.2rem;
}

.mobile-nav .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .forms-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-card {
    padding: 30px;
  }
  
  .form-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Contact Forms Section */
.contact-forms {
  padding: 100px 0;
  background: #000000;
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.form-card {
  background: #1a1a1a;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid #333333;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.form-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-green);
}

.form-card:hover::before {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.form-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.form-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #2a2a2a;
  border: 2px solid #444444;
  border-radius: 15px;
  padding: 16px 20px;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.3);
  background: #333333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #2a2a2a;
  color: white;
}

.form-button {
  background: var(--gradient-primary);
  color: white;
  padding: 18px 40px;
  border-radius: 30px;
  border: none;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(74, 124, 89, 0.2);
}

.form-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(74, 124, 89, 0.4);
  background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
}

.form-button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

/* Responsive design for forms */
@media (max-width: 768px) {
  .forms-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-card {
    padding: 30px;
  }
  
  .form-card h3 {
    font-size: 1.5rem;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
