/* ============================================
   NETMAX - Page-Specific Styles
   About, Services, Contact, FAQ, Legal Pages
   ============================================ */

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  padding: calc(var(--space-32) + 60px) 0 var(--space-24);
  background: var(--gradient-secondary);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(0, 96, 245, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-hero-text h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .about-hero-text h1 {
    font-size: var(--text-5xl);
  }
}

.about-hero-text p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.about-hero-image {
  position: relative;
}

.about-hero-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

/* Mission & Vision */
.mission-section {
  background: var(--bg-primary);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-card {
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.mission-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.mission-card-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.mission-card-primary:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.mission-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: var(--space-6);
}

.mission-card:not(.mission-card-primary) .mission-icon {
  background: var(--primary-50);
  color: var(--primary-600);
}

.mission-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.mission-card:not(.mission-card-primary) h3 {
  color: var(--text-primary);
}

.mission-card p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  opacity: 0.9;
}

.mission-card:not(.mission-card-primary) p {
  color: var(--text-secondary);
  opacity: 1;
}

/* Team Section */
.team-section {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.team-card-content {
  padding: var(--space-6);
}

.team-card-name {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.team-card-role {
  font-size: var(--text-sm);
  color: var(--primary-600);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.team-card-bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Values Section */
.values-section {
  background: var(--bg-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.value-card {
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 96, 245, 0.3);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto var(--space-6);
  transition: all var(--transition-base);
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.value-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-light);
  margin-bottom: var(--space-3);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-hero {
  padding: calc(var(--space-32) + 60px) 0 var(--space-24);
  background: var(--gradient-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 96, 245, 0.1) 0%, transparent 50%);
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .services-hero h1 {
    font-size: var(--text-5xl);
  }
}

.services-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* Service Detail Cards */
.service-detail-section {
  background: var(--bg-primary);
}

.service-detail-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .service-detail-item {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-item:nth-child(even) .service-detail-image {
    order: 2;
  }

  .service-detail-item:nth-child(even) .service-detail-content {
    order: 1;
  }
}

.service-detail-image {
  position: relative;
}

.service-detail-image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.service-detail-badge {
  position: absolute;
  top: -16px;
  left: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.service-detail-content h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.service-detail-content > p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.service-feature-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
  padding: calc(var(--space-32) + 60px) 0 var(--space-16);
  background: var(--gradient-secondary);
  text-align: center;
  position: relative;
}

.contact-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .contact-hero h1 {
    font-size: var(--text-5xl);
  }
}

.contact-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Info Cards */
.contact-info-section {
  background: var(--bg-secondary);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.contact-info-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto var(--space-6);
  transition: all var(--transition-base);
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.contact-info-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.contact-info-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.contact-info-card a {
  color: var(--primary-600);
  font-weight: var(--font-medium);
  transition: color var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--primary-700);
}

/* Contact Form */
.contact-form-container {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.contact-form-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: #ef4444;
  margin-left: var(--space-1);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 96, 245, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: var(--space-12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-error {
  font-size: var(--text-sm);
  color: #ef4444;
  margin-top: var(--space-1);
  display: none;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: #ef4444;
}

.form-input.error + .form-error,
.form-textarea.error + .form-error,
.form-select.error + .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-lg);
}

/* Map Section */
.map-section {
  background: var(--bg-primary);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.map-placeholder-icon {
  width: 64px;
  height: 64px;
  color: var(--primary-400);
  margin: 0 auto var(--space-4);
}

.map-placeholder h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.map-placeholder p {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* ============================================
   FAQ PAGE
   ============================================ */

.faq-hero {
  padding: calc(var(--space-32) + 60px) 0 var(--space-16);
  background: var(--gradient-secondary);
  text-align: center;
}

.faq-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .faq-hero h1 {
    font-size: var(--text-5xl);
  }
}

.faq-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.faq-category-btn {
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background: var(--primary-500);
  color: var(--white);
  border-color: var(--primary-500);
}

/* FAQ Page specific styles */
.faq-page-section .faq-item {
  background: var(--white);
}

.faq-page-section .faq-question {
  padding: var(--space-6);
  font-size: var(--text-lg);
}

.faq-page-section .faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-base);
}

.faq-cta {
  text-align: center;
  margin-top: var(--space-16);
  padding: var(--space-12);
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
}

.faq-cta h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.faq-cta p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

/* ============================================
   LEGAL PAGES (Privacy Policy, Terms)
   ============================================ */

.legal-hero {
  padding: calc(var(--space-32) + 60px) 0 var(--space-16);
  background: var(--gradient-secondary);
  text-align: center;
}

.legal-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .legal-hero h1 {
    font-size: var(--text-5xl);
  }
}

.legal-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
}

.legal-content {
  background: var(--bg-primary);
  padding: var(--space-16) 0;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--space-12);
}

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

.legal-section h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--border-light);
}

.legal-section h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.legal-section p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.legal-section ul,
.legal-section ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-section li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
}

.legal-section ul li {
  list-style-type: disc;
}

.legal-section ol li {
  list-style-type: decimal;
}

.legal-section a {
  color: var(--primary-600);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--primary-700);
}

.legal-last-updated {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-500);
}

/* Table of Contents for Legal Pages */
.legal-toc {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-12);
  border: 1px solid var(--border-light);
}

.legal-toc h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.legal-toc ul {
  list-style: none;
  margin: 0;
}

.legal-toc li {
  margin-bottom: var(--space-2);
}

.legal-toc a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-fast);
  padding: var(--space-1) 0;
}

.legal-toc a:hover {
  color: var(--primary-600);
  padding-left: var(--space-2);
}

.legal-toc a::before {
  content: '→';
  color: var(--primary-400);
  font-size: var(--text-xs);
}

/* ============================================
   PROJECT METHODOLOGY SECTION
   ============================================ */

.methodology-section {
  background: var(--bg-secondary);
}

.methodology-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.methodology-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

@media (min-width: 768px) {
  .methodology-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.methodology-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .methodology-step {
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
  }

  .methodology-step:nth-child(even) .methodology-step-content {
    order: 2;
    text-align: left;
  }

  .methodology-step:nth-child(even) .methodology-step-visual {
    order: 1;
  }

  .methodology-step:nth-child(odd) .methodology-step-content {
    text-align: right;
  }
}

.methodology-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  box-shadow: var(--shadow-glow);
  z-index: 1;
}

@media (min-width: 768px) {
  .methodology-step-number {
    left: 50%;
    transform: translateX(-50%);
  }
}

.methodology-step-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.methodology-step-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.methodology-step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CUSTOMER BENEFITS SECTION
   ============================================ */

.benefits-section {
  background: var(--bg-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.benefit-card {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.benefit-card:hover .benefit-icon {
  background: var(--gradient-primary);
  color: var(--white);
}

.benefit-content h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.benefit-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
