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

:root {
  --fit-blue: #007AFF;
  --fit-blue-dark: #0056b3;
  --fit-blue-light: #e8f2ff;
  --text-dark: #1d1d1f;
  --text-gray: #86868b;
  --bg-white: #ffffff;
  --bg-light: #f5f5f7;
  --bg-dark: #1d1d1f;
  --gradient-hero: linear-gradient(135deg, #007AFF 0%, #5856d6 100%);
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fit-blue);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fit-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--fit-blue);
}

.btn-login {
  background: var(--fit-blue);
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px;
  font-weight: 600;
}

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

.btn-login:hover {
  background: var(--fit-blue-dark);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--fit-blue-light);
  color: var(--fit-blue);
}

.mobile-login {
  background: var(--fit-blue);
  color: white !important;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 10px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: white;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/gym_bg_1.png') center/cover;
  opacity: 0.15;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--fit-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
}

/* Section Styles */
section {
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--fit-blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Two Column Section */
.two-col-section {
  background: var(--bg-light);
}

.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.two-col-content.reverse {
  direction: rtl;
}

.two-col-content.reverse > * {
  direction: ltr;
}

.col-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.col-text p {
  color: var(--text-gray);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.col-text ul {
  list-style: none;
  margin-top: 25px;
}

.col-text li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
}

.col-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--fit-blue);
  font-weight: 700;
}

.col-image {
  display: flex;
  justify-content: center;
}

.col-image img {
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-email {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.cta-email input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
}

.cta-email button {
  padding: 18px 35px;
  background: var(--text-dark);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-email button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Target Sections */
.target-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.target-card {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.target-card.dark {
  background: var(--bg-dark);
  color: white;
}

.target-card.light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.target-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.target-card p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.target-card.dark p {
  opacity: 0.7;
}

.target-features {
  list-style: none;
}

.target-features li {
  padding: 12px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.target-features li::before {
  content: '→';
  color: var(--fit-blue);
  font-weight: 700;
}

/* Contact Page */
.contact-section {
  padding-top: 140px;
  min-height: 100vh;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: 50px;
}

.contact-info h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.2rem;
  color: var(--text-gray);
}

.contact-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 35px;
  background: var(--fit-blue);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.email-link:hover {
  background: var(--fit-blue-dark);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 40px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--fit-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-text p {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .two-col-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .two-col-content.reverse > * {
    direction: ltr;
  }

  .col-text {
    order: 1;
  }

  .col-image {
    order: 0;
    width: 100%;
  }

  .col-image img {
    width: 100%;
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
  }

  .target-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    order: 1;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    justify-content: center;
  }

  .hero-image {
    order: 0;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-image img {
    max-width: 100%;
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
  }

  section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

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

  .feature-card {
    padding: 25px;
  }

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

  .feature-card p {
    font-size: 0.9rem;
  }

  .col-text h3 {
    font-size: 1.5rem;
  }

  .col-text p {
    font-size: 0.95rem;
  }

  .col-text li {
    font-size: 0.9rem;
    padding: 8px 0;
    padding-left: 25px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-email {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .cta-email input,
  .cta-email button {
    width: 100%;
  }

  .target-card {
    padding: 40px 25px;
  }

  .target-card h3 {
    font-size: 1.5rem;
  }

  .target-card p {
    font-size: 1rem;
  }

  .target-features li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .contact-section {
    padding-top: 120px;
  }

  .contact-info h1 {
    font-size: 2rem;
  }

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

  .email-link {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
