@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0097b2;
  --primary-hover: #00829a;
  --primary-light: #e6f7fa;
  --accent: #00d4ec;
  --bg-dark: #0b0f19;
  --bg-light: #f4f7fa;
  --card-light: #ffffff;
  --card-dark: #121824;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --border-color: #e2e8f0;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-main);
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

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

.nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 6px -1px rgba(0, 151, 178, 0.2), 0 2px 4px -1px rgba(0, 151, 178, 0.1);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 151, 178, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
  margin-top: 80px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 24px 140px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, #f1f5f9 0%, transparent 60%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-text {
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 151, 178, 0.15);
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 580px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating Shapes in Hero */
.visual-bg-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
  animation: float-slow 10s ease-in-out infinite alternate;
}

.visual-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--text-main);
  background-color: var(--bg-dark);
  aspect-ratio: 9/19;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
  display: block;
}

.mockup-header {
  height: 25px;
  background-color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-notch {
  width: 90px;
  height: 14px;
  background-color: var(--text-main);
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 0;
}

.mockup-screen {
  flex: 1;
  background: linear-gradient(135deg, #1e293b 0%, #0b0f19 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.mockup-widgets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-widget {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(0);
  animation: float-card 6s ease-in-out infinite alternate;
}

.mockup-widget:nth-child(2) {
  animation-delay: 1.5s;
}

.mockup-widget:nth-child(3) {
  animation-delay: 3s;
}

.mockup-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-wtext h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.mockup-wtext p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.mockup-branding {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: var(--accent);
}

/* Feature Section */
.section-padding {
  padding: 100px 24px;
}

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

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

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
}

/* Tab Layout for Features */
.features-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 151, 178, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  animation: fadeIn 0.5s ease;
}

/* Cards Design */
.feature-card {
  background-color: var(--card-light);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 151, 178, 0.3);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Services / Corporate Section */
.services-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.services-section .section-header h2 {
  color: var(--text-white);
}

.services-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 236, 0.3);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 212, 236, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 212, 236, 0.2);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* Terms Subpage Style */
.legal-container {
  max-width: 900px;
  margin: 40px auto 100px;
  padding: 0 24px;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-header h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}

.legal-header p {
  font-size: 18px;
  color: var(--text-muted);
}

.policy-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.policy-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.policy-btn:hover {
  background-color: rgba(0, 151, 178, 0.05);
  color: var(--primary);
}

.policy-btn.active {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.policy-card {
  background-color: var(--card-light);
  border-radius: var(--radius-md);
  padding: 48px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.4s ease;
}

.policy-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
}

.policy-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.policy-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.policy-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.policy-content li {
  color: var(--text-muted);
  font-size: 16px;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.policy-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Footer style */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-bottom: 60px;
}

.footer-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-white);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
}

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

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

.footer-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.footer-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: var(--transition-smooth);
  margin-bottom: 24px;
}

.contact-email:hover {
  color: var(--text-white);
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 151, 178, 0.3);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

/* Fullscreen Welcome Modal Popup */
.promo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.promo-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.promo-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.promo-content {
  position: relative;
  width: 85%;
  max-width: 720px;
  height: 80vh;
  max-height: 560px;
  background-color: var(--bg-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 2;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.promo-modal.show .promo-content {
  transform: scale(1);
}

.promo-img-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #121824;
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay default placeholder for image */
.promo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(11,15,25,0.8) 0%, rgba(0,151,178,0.7) 100%);
  color: white;
  padding: 40px;
  text-align: center;
}

.promo-placeholder h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.promo-placeholder p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 460px;
}

.promo-actions {
  padding: 24px;
  background-color: rgba(11, 15, 25, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 16px;
}

.promo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.promo-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* Animations */
@keyframes float-slow {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
  100% { transform: translateY(10px) scale(0.95); }
}

@keyframes float-card {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

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

/* Responsive queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .visual-mockup {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  .nav-actions {
    display: none;
  }

  .nav-actions.open {
    display: flex;
    position: absolute;
    top: 320px;
    left: 0;
    width: 100%;
    justify-content: center;
    padding: 0 24px 24px;
    background-color: white;
  }

  .policy-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-card {
    padding: 24px;
  }

  .legal-header h1 {
    font-size: 32px;
  }
}
