/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
}

.footer-logo-text {
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3b82f6;
}

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
  padding: 110px 0 40px;
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #1e1b4b 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #3b82f6;
  transform: translateY(-2px);
}

.google-play-btn {
  color: #1e40af !important;
  border-color: #1e40af !important;
}

.google-play-btn:hover {
  background: #1e40af !important;
  color: white !important;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 0 0 auto;
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Simple Image Cycler */
.image-cycler {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  padding: 20px 0;
}

.cycler-images-container {
  width: 300px;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.cycler-image {
  width: 300px;
  height: auto;
  max-height: 400px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: 20px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

.cycler-image.active {
  opacity: 1;
}

.cycler-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 15;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #3b82f6;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #666;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  background: #f8fafc;
}

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

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3b82f6;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  background: white;
}

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

.step {
  text-align: center;
  padding: 40px 20px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 30px;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3b82f6;
}

.step p {
  color: #666;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  background: #f8fafc;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Society App Card */
.society-app {
  border-top: 4px solid #3b82f6;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.society-app .pricing-header h3 {
  color: #1e40af;
}

.society-app .price-amount {
  color: #1e40af;
}

/* Burn Up Golf Card */
.burnup-golf {
  border-top: 4px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.burnup-golf .pricing-header h3 {
  color: #047857;
}

.burnup-golf .price-amount {
  color: #047857;
}

/* WSSC Connect Card */
.wssc-connect {
  border-top: 4px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.wssc-connect .pricing-header h3 {
  color: #6b21a8;
}

.wssc-connect .price-amount {
  color: #6b21a8;
}

/* Project Icons */
.project-icon {
  margin-bottom: 15px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.project-icon img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-icon img:hover {
  transform: scale(1.1);
}

.portfolio-cta {
  text-align: center;
  margin-top: 30px;
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 10px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #3b82f6;
}

.price-period {
  font-size: 1.2rem;
  color: #666;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  color: #666;
  font-size: 1.1rem;
}

.pricing-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.pricing-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #1e1b4b 100%);
  color: white;
  text-align: center;
}

.download .section-title,
.download .section-subtitle {
  color: white;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tech-category {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
  transition: all 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tech-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-icon svg {
  width: 48px;
  height: 48px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.tech-category:hover .tech-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.tech-category h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.tech-category p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.download-btn {
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-5px);
}

.download-btn img {
  height: 60px;
  width: auto;
}

.download-note {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.legal-links {
  margin-top: 20px;
  text-align: center;
}

.legal-links .legal-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-links .legal-link:hover {
  color: white;
}

.legal-links .separator {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 15px;
  font-size: 0.8rem;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-logo-img {
  width: 90px;
  height: 90px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3b82f6;
}

.contact-info p {
  margin-bottom: 15px;
  color: #666;
}

.contact-info a {
  color: #3b82f6;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #f8fafc;
  padding: 40px;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #e2e8f0;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    width: 100%;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    color: #1e40af;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    display: block;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: 18px;
  }
  .hero {
    padding: 100px 0 20px;
    min-height: auto;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 15px;
  }
  .hero-content {
    max-width: 100%;
    order: 1;
  }
  .hero-image {
    width: 100%;
    max-width: 300px;
    order: 2;
  }
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
  }
  .hero-stats {
    justify-content: center;
    gap: 30px;
  }
  .image-cycler {
    width: 100%;
    max-width: 300px;
    padding: 15px 0;
  }
  .cycler-images-container {
    width: 100%;
    max-width: 300px;
    height: 350px;
    padding: 15px 0;
  }
  .cycler-image {
    width: 100%;
    max-width: 300px;
    max-height: 350px;
    padding: 15px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .project-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tech-category {
    min-width: 100%;
    margin-bottom: 20px;
  }

  .legal-links {
    margin-top: 15px;
  }

  .legal-links .separator {
    margin: 0 10px;
  }
  .section-title {
    font-size: 2rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

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

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .step h3 {
    font-size: 1.3rem;
  }

  .pricing-header h3 {
    font-size: 1.2rem;
  }

  .contact-info h3 {
    font-size: 1.3rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero {
    padding: 90px 0 15px;
  }
  .hero-container {
    gap: 25px;
    padding: 0 10px;
  }
  .hero-content {
    order: 1;
  }
  .hero-image {
    width: 100%;
    max-width: 280px;
    order: 2;
  }
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .hero-buttons {
    gap: 12px;
    margin-bottom: 25px;
  }
  .hero-buttons .btn {
    max-width: 260px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .hero-stats {
    gap: 25px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .image-cycler {
    width: 100%;
    max-width: 280px;
    padding: 12px 0;
  }
  .cycler-images-container {
    width: 100%;
    max-width: 280px;
    height: 300px;
    padding: 12px 0;
  }
  .cycler-image {
    width: 100%;
    max-width: 280px;
    max-height: 300px;
    padding: 12px;
  }
  .feature-card {
    padding: 25px 15px;
  }
  .pricing-card {
    padding: 25px 15px;
  }

  .pricing-cta {
    gap: 12px;
  }
  .contact-form {
    padding: 25px 15px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .step h3 {
    font-size: 1.2rem;
  }

  .pricing-header h3 {
    font-size: 1.1rem;
  }

  .contact-info h3 {
    font-size: 1.2rem;
  }

  .price-amount {
    font-size: 1.8rem;
  }
}

@media (max-width: 360px) {
  .hero {
    padding: 80px 0 20px;
  }
  .hero-container {
    padding: 0 8px;
    gap: 20px;
  }
  .hero-content {
    order: 1;
  }
  .hero-image {
    width: 100%;
    max-width: 240px;
    order: 2;
  }
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .hero-buttons {
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    max-width: 240px;
    padding: 8px 16px;
    font-size: 0.85rem;
    width: 100%;
  }
  .hero-stats {
    gap: 20px;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .image-cycler {
    width: 100%;
    max-width: 240px;
    padding: 10px 0;
  }
  .cycler-images-container {
    width: 100%;
    max-width: 240px;
    height: 250px;
    padding: 10px 0;
  }
  .cycler-image {
    width: 100%;
    max-width: 240px;
    max-height: 250px;
    padding: 10px;
  }
  .cycler-dots {
    gap: 6px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .step h3 {
    font-size: 1.1rem;
  }

  .pricing-header h3 {
    font-size: 1rem;
  }

  .contact-info h3 {
    font-size: 1.1rem;
  }

  .price-amount {
    font-size: 1.5rem;
  }
}
/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dot {
    min-width: 16px;
    min-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

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

.feature-card,
.step,
.pricing-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Success/Error States */
.form-group.success input,
.form-group.success textarea {
  border-color: #10b981;
}
.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
}
.error-message {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 5px;
}
.success-message {
  color: #10b981;
  font-size: 0.9rem;
  margin-top: 5px;
}
