@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css");

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --success: #10b981;
  --success-hover: #059669;
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 25px 50px -12px rgba(37, 99, 235, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.025em;
  transition: var(--transition);
}

.logo i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

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

.logo:hover i {
  transform: rotate(-10deg) scale(1.1);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

/* Elegant Underline Hover Effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

.btn-nav-cta {
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
}

.nav-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Responsive Navbar */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 73px; /* Header height dynamic */
    right: -100%;
    width: 280px;
    height: calc(100vh - 73px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.03);
    z-index: 99;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }
  
  .btn-nav-cta {
    width: 100%;
    margin-top: 15px;
  }
  
  /* Toggle Animation */
  .nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  
  .nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-blue {
  background-color: var(--primary);
  color: white;
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.btn-blue:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.btn-red {
  background-color: #ef4444;
  color: white;
  border: 1.5px solid #ef4444;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15);
}

.btn-red:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

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

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

.btn-outline-red {
  background-color: transparent;
  color: #ef4444;
  border: 1.5px solid #ef4444;
}

.btn-outline-red:hover {
  background-color: rgba(239, 68, 68, 0.05);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-soft);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-green {
  background-color: #25D366;
  color: white;
  border: 1.5px solid #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
}

.btn-green:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.06), transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(0, 242, 255, 0.04), transparent 40%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-tagline {
  font-weight: 700 !important;
  color: var(--text-main) !important;
  margin-bottom: 25px !important;
  font-size: 1.1rem !important;
}

.hero-check-list {
  margin-bottom: 30px !important;
  max-width: 100% !important;
}

/* 2026 Layered Mockup Showcase */
.hero-images {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(0, 242, 255, 0.2) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.mockup-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.mockup-window {
  position: absolute;
  background-color: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 20px 40px -20px rgba(15, 23, 42, 0.15);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-window img {
  width: 100%;
  height: auto;
  display: block;
}

.window-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.window-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.window-header .dot:nth-child(1) { background-color: #ef4444; }
.window-header .dot:nth-child(2) { background-color: #f59e0b; }
.window-header .dot:nth-child(3) { background-color: #10b981; }

.window-back {
  width: 82%;
  top: 20px;
  left: 0;
  z-index: 3;
  transform: perspective(1200px) rotateY(15deg) rotateX(6deg) rotateZ(-3deg);
  animation: floatBack 6s ease-in-out infinite alternate;
}

.window-front {
  width: 78%;
  bottom: 20px;
  right: 0;
  z-index: 4;
  transform: perspective(1200px) rotateY(-10deg) rotateX(-3deg) rotateZ(3deg) translateY(10px);
  animation: floatFront 6s ease-in-out infinite alternate;
  box-shadow: 0 45px 90px -20px rgba(15, 23, 42, 0.18), 0 25px 50px -25px rgba(15, 23, 42, 0.2);
}

/* Hover effects to make them interactive */
.mockup-wrapper:hover .window-back {
  transform: perspective(1200px) rotateY(8deg) rotateX(3deg) rotateZ(-1deg) translate(-10px, -15px);
  box-shadow: 0 45px 90px -20px rgba(15, 23, 42, 0.18), 0 25px 50px -25px rgba(15, 23, 42, 0.2);
}

.mockup-wrapper:hover .window-front {
  transform: perspective(1200px) rotateY(-5deg) rotateX(-1deg) rotateZ(1deg) translate(15px, 15px);
  box-shadow: 0 55px 110px -25px rgba(15, 23, 42, 0.25), 0 35px 70px -30px rgba(15, 23, 42, 0.28);
}

/* Floating Keyframes */
@keyframes floatBack {
  0% {
    transform: perspective(1200px) rotateY(15deg) rotateX(6deg) rotateZ(-3deg) translateY(0);
  }
  100% {
    transform: perspective(1200px) rotateY(15deg) rotateX(6deg) rotateZ(-3deg) translateY(-18px);
  }
}

@keyframes floatFront {
  0% {
    transform: perspective(1200px) rotateY(-10deg) rotateX(-3deg) rotateZ(3deg) translateY(10px);
  }
  100% {
    transform: perspective(1200px) rotateY(-10deg) rotateX(-3deg) rotateZ(3deg) translateY(-12px);
  }
}

/* Section Common */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.bg-soft {
  background-color: var(--bg-soft);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 48px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.grid-2.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.grid-2.reverse .image {
  order: -1;
}

/* Checklist style */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  max-width: 800px;
}

.hero .check-list {
  grid-template-columns: repeat(2, 1fr);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
}

.check-list li i {
  font-size: 1.25rem;
  padding: 4px;
  border-radius: 50%;
  display: inline-flex;
  transition: var(--transition);
}

.check-list li i.ti-check {
  color: var(--success) !important;
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.check-list li i.ti-x {
  color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.1) !important;
}

/* Cards style */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Feature Images */
.feature-image {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
  border: 1.5px dashed rgba(37, 99, 235, 0.2);
  border-radius: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  padding: 40px;
}

.feature-image i {
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.85;
  transition: var(--transition);
}

.feature-image:hover i {
  transform: scale(1.1) rotate(5deg);
  opacity: 1;
}

/* Feature Grid 3 */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card:hover .icon-box {
  background-color: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 30px;
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-card.popular h3 {
  color: var(--primary);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 20px 0;
  display: flex;
  align-items: baseline;
}

.price .currency {
  font-size: 1.75rem;
  font-weight: 700;
  margin-right: 4px;
}

.price .period {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px;
}

.pricing-card .check-list {
  grid-template-columns: 1fr;
  margin-bottom: auto;
  gap: 12px;
}

.pricing-card .btn {
  margin-top: 30px;
}

/* Footer styling */
.footer {
  background-color: var(--text-main);
  color: #94a3b8;
  padding: 100px 0 50px;
  font-size: 0.95rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget h6 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.footer-widget .links {
  list-style: none;
  padding: 0;
}

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

.footer-widget .links li a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer-widget .links li a:hover {
  color: white;
  padding-left: 4px;
}

.footer-widget .links li span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.footer-widget .links li span i {
  color: var(--primary);
  font-size: 1.1rem;
}

.footer h4 {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-decoration: none;
  font-weight: 800;
}

.footer h4 i {
  color: var(--primary);
}

.footer p.desc {
  margin-bottom: 24px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer .btn-white {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 30px;
  display: inline-flex;
}

.footer-widget .socials {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
}

.footer-widget .socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.footer-widget .socials a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-copyright {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

.dbx-linear-gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #00f2ff 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-images {
    height: 380px;
    max-width: 500px;
    margin: 0 auto;
  }

  .grid-2, .grid-2.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .grid-2.reverse .image {
    order: 0;
  }
  
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-images {
    height: 300px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .check-list {
    grid-template-columns: 1fr;
  }
  
  .hero .check-list {
    grid-template-columns: 1fr;
  }
  
  .feature-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3), 0 8px 10px -6px rgba(37, 99, 235, 0.3);
  text-decoration: none;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.4), 0 10px 15px -6px rgba(37, 99, 235, 0.4);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
