/* Modern Design Override CSS for ENESAVE */
/* CSS Variables */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --background-light: #f7fafc;
  --background-white: #ffffff;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* AI SaaS Products Section - Ultra Modern Design */
.ai-saas-section {
  background: var(--primary-gradient);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.ai-saas-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><polygon points="36 34 24 34 30 24"/></g></g></svg>') repeat;
  z-index: 0;
}

.ai-saas-section .container {
  position: relative;
  z-index: 1;
}

.saas-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out;
}

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

.saas-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: none;
  letter-spacing: -0.02em;
}

.saas-subtitle {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.saas-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.saas-stats .stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.saas-stats .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.saas-stats .stat-item:hover::before {
  left: 100%;
}

.saas-stats .stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

.saas-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.saas-stats .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin: 5rem 0;
}

.saas-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  position: relative;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.saas-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--success-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.saas-card:hover::before {
  transform: scaleX(1);
}

.saas-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-strong);
  background: rgba(255, 255, 255, 1);
}

.saas-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.saas-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--success-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.saas-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.saas-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.saas-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.saas-features li {
  color: var(--text-secondary);
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.saas-features li:hover {
  color: var(--text-primary);
}

.saas-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.1rem;
  background: rgba(76, 175, 80, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saas-platform-info {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  margin: 5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}

.platform-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
  position: relative;
}

.platform-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--secondary-gradient);
  border-radius: 2px;
}

.platform-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.platform-feature {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.platform-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: transform 0.6s ease;
  transform: rotate(0deg);
}

.platform-feature:hover::before {
  transform: rotate(360deg);
}

.platform-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px) scale(1.05);
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.platform-feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  position: relative;
  z-index: 1;
}

.platform-feature p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.saas-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.saas-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: width 0.3s ease, height 0.3s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn span, .btn svg {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .ai-saas-section {
    padding: 80px 0;
  }
  
  .saas-header {
    margin-bottom: 60px;
  }
  
  .saas-stats {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .saas-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .saas-card {
    padding: 2rem 1.5rem;
  }
  
  .platform-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .saas-platform-info,
  .saas-cta {
    padding: 2.5rem 2rem;
    margin: 3rem 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Modern Typography Override */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.7 !important;
  color: var(--text-primary) !important;
}

/* Main Services Section Modern Design */
.main-services-section {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
  padding: 120px 0 !important;
  position: relative;
  overflow: hidden;
}

.main-services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.main-services-header {
  text-align: center;
  margin-bottom: 80px !important;
  position: relative;
  z-index: 2;
}

.main-services-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
}

.main-services-subtitle {
  font-size: 1.3rem !important;
  color: var(--text-secondary) !important;
  max-width: 680px;
  margin: 0 auto 32px !important;
  line-height: 1.6 !important;
  font-weight: 400;
}

.offshore-explanation {
  background: linear-gradient(135deg, var(--background-white), rgba(247, 250, 252, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: var(--border-radius-md) !important;
  padding: 32px 40px !important;
  margin: 32px auto 24px !important;
  max-width: 860px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.offshore-explanation h3 {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 20px !important;
  line-height: 1.3;
}

.offshore-explanation p {
  font-size: 1.1rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}

.offshore-explanation strong {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700 !important;
}

.business-domain-notice {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08)) !important;
  border: 1px solid rgba(102, 126, 234, 0.2) !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 20px 32px !important;
  margin: 0 auto !important;
  max-width: 760px;
  backdrop-filter: blur(10px);
}

.business-domain-notice p {
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 1.05rem !important;
  text-align: center;
  line-height: 1.6 !important;
}

.business-domain-notice strong {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700 !important;
}

/* Service Cards Modern Design */
.main-services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)) !important;
  gap: 48px !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--background-white) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 48px 44px !important;
  box-shadow: var(--shadow-medium) !important;
  transition: var(--transition-smooth) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 0.6;
}

.service-card:hover {
  transform: translateY(-16px) scale(1.02) !important;
  box-shadow: var(--shadow-strong) !important;
  border-color: rgba(102, 126, 234, 0.15) !important;
}

.service-image {
  width: 100% !important;
  height: 220px !important;
  border-radius: var(--border-radius-md) !important;
  overflow: hidden;
  margin-bottom: 32px !important;
  position: relative;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.service-image img {
  transition: var(--transition-smooth) !important;
  border-radius: var(--border-radius-md) !important;
}

.service-card:hover .service-image img {
  transform: scale(1.08) rotate(1deg) !important;
}

.service-icon {
  width: 96px !important;
  height: 96px !important;
  background: var(--primary-gradient) !important;
  border-radius: var(--border-radius-md) !important;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

.service-card:nth-child(2) .service-icon {
  background: var(--success-gradient) !important;
}

.service-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 20px !important;
  line-height: 1.3 !important;
  position: relative;
  z-index: 2;
}

.service-description {
  color: var(--text-secondary) !important;
  line-height: 1.8 !important;
  margin-bottom: 28px !important;
  font-size: 1.05rem !important;
  position: relative;
  z-index: 2;
}

.service-features {
  margin-bottom: 40px !important;
  position: relative;
  z-index: 2;
}

.service-features li {
  padding-left: 32px !important;
  margin-bottom: 12px !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
  transition: color 0.3s ease;
}

.service-card:hover .service-features li {
  color: var(--text-primary) !important;
}

.service-features li::before {
  color: #11998e !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
}

.service-cta {
  background: var(--accent-gradient) !important;
  padding: 16px 40px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  box-shadow: var(--shadow-soft) !important;
  position: relative;
  z-index: 2;
}

.service-card:nth-child(2) .service-cta {
  background: var(--success-gradient) !important;
}

.service-cta:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 12px 32px rgba(0, 198, 255, 0.4) !important;
  color: white !important;
  text-decoration: none !important;
}

.service-card:nth-child(2) .service-cta:hover {
  box-shadow: 0 12px 32px rgba(17, 153, 142, 0.4) !important;
}

/* Credentials Section */
.trust-credentials-section {
  padding: 120px 0 !important;
  background: var(--background-white) !important;
  position: relative;
}

.trust-credentials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.credentials-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
  font-weight: 700 !important;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px !important;
  line-height: 1.2 !important;
}

.credentials-subtitle {
  font-size: 1.25rem !important;
  color: var(--text-secondary) !important;
  max-width: 640px;
  line-height: 1.6 !important;
  font-weight: 400;
}

.credentials-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 48px !important;
  max-width: 1280px !important;
  padding: 0 24px !important;
}

.credential-item {
  background: var(--background-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: var(--border-radius-md) !important;
  padding: 48px 36px !important;
  box-shadow: var(--shadow-soft) !important;
  transition: var(--transition-smooth) !important;
  position: relative;
  overflow: hidden;
}

.credential-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.credential-item:hover::before {
  transform: scaleX(1);
}

.credential-item:hover {
  transform: translateY(-12px) !important;
  box-shadow: var(--shadow-strong) !important;
  border-color: rgba(102, 126, 234, 0.2) !important;
}

.credential-icon {
  width: 96px !important;
  height: 96px !important;
  background: var(--primary-gradient) !important;
  border-radius: var(--border-radius-md) !important;
  margin: 0 auto 32px !important;
}

.credential-item h3 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 28px !important;
  line-height: 1.3 !important;
}

.credential-item li {
  margin-bottom: 20px !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  transition: color 0.3s ease;
}

.credential-item:hover li {
  color: var(--text-primary) !important;
}

.credential-item li strong {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  font-size: 1.05em !important;
}

.credential-item li small {
  color: var(--text-light) !important;
  font-size: 0.9rem !important;
  font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-services-section {
    padding: 80px 0 !important;
  }
  
  .main-services-header {
    margin-bottom: 60px !important;
  }
  
  .main-services-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 0 20px !important;
  }
  
  .service-card {
    padding: 36px 28px !important;
    border-radius: var(--border-radius-md) !important;
  }
  
  .service-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
  }
  
  .service-image {
    height: 180px !important;
    margin-bottom: 24px !important;
  }
  
  .service-icon {
    width: 80px !important;
    height: 80px !important;
  }
  
  .service-title {
    font-size: 1.5rem !important;
  }
  
  .service-description {
    font-size: 1rem !important;
  }
  
  .service-cta {
    padding: 14px 32px !important;
    width: 100%;
    max-width: 280px;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 20px !important;
  }
  
  .credential-item {
    padding: 36px 28px !important;
  }
  
  .credential-icon {
    width: 80px !important;
    height: 80px !important;
  }
  
  .offshore-explanation {
    padding: 24px 28px !important;
    margin: 24px auto 20px !important;
  }
  
  .business-domain-notice {
    padding: 16px 24px !important;
  }
}