/* Fonts */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_18pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_18pt-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* CSS Custom Properties & Reset */
:root {
  --primary: #006874;
  --primary-hover: #004F58;
  --secondary: rgba(11, 25, 44, 0.05);
  --secondary-hover: rgba(11, 25, 44, 0.1);
  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0B192C;
  --text-main: #0B192C;
  --text-light: #FFFFFF;
  --text-muted: #64748B;
  --border-light: rgba(11, 25, 44, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 40px rgba(0, 104, 116, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.light-text {
  color: var(--text-light);
}

.margin-top-large {
  margin-top: 3rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(0, 104, 116, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 104, 116, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.is-compact {
  height: 64px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 36px;
  width: auto;
}

.brand-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding-top: 180px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 15% 10%, rgba(0, 104, 116, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(11, 25, 44, 0.04) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 104, 116, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta-groups {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.web-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all 0.2s;
}

.web-link:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

/* Device Showcase 3D */
.device-showcase-wrapper {
  margin-top: 80px;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.device-showcase {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 600px;
}

.device {
  position: absolute;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.macbook {
  width: 75%;
  left: 50%;
  transform: translateX(-55%) rotateY(15deg) rotateX(5deg) scale(0.95);
  z-index: 1;
}

.macbook-frame {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 10px solid #222;
  background: #111;
}

.macbook img {
  width: 100%;
  height: auto;
  display: block;
}

.iphone {
  width: 22%;
  right: 50%;
  transform: translateX(200%) rotateY(-20deg) rotateX(10deg) translateZ(80px);
  z-index: 2;
}

.iphone-frame {
  border-radius: 36px;
  box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 12px solid #0B192C;
  background: #0B192C;
  position: relative;
}

/* iPhone Notch Mock */
.iphone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 24px;
  background: #0B192C;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.iphone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

/* Hover effects for devices */
.device-showcase:hover .macbook {
  transform: translateX(-55%) rotateY(10deg) rotateX(2deg) scale(1.0);
}

.device-showcase:hover .iphone {
  transform: translateX(200%) rotateY(-10deg) rotateX(5deg) translateZ(100px);
}

/* Bento Grid */
.bento-section {
  background: var(--bg-dark);
  padding: 120px 0;
  position: relative;
}

/* Glowing orb behind bento */
.bento-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 104, 116, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(350px, auto);
  gap: 24px;
  position: relative;
  z-index: 10;
}

.glass-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.bento-text {
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.bento-text h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.bento-text p {
  color: #94A3B8;
  font-size: 1.05rem;
}

.feature-tall {
  grid-row: span 2;
}

.feature-wide {
  grid-column: span 2;
  flex-direction: row;
  justify-content: space-between;
}

.feature-wide .bento-text {
  width: 40%;
}

.bento-image,
.bento-image-center,
.bento-image-bottom {
  flex: 1;
  position: relative;
}

.feature-tall .bento-image img {
  position: absolute;
  width: 140%;
  left: 10%;
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  transition: transform 0.5s;
}

.feature-wide .bento-image-center img {
  position: absolute;
  width: 80%;
  right: -10%;
  top: -20px;
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
}

.offset-image img {
  width: 80%;
  margin: 0 auto;
  display: block;
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  transform: translateY(20px);
}

.tilt-right img {
  transform: rotate(5deg);
}

.glass-panel:hover .tilt-right img {
  transform: rotate(0deg) scale(1.05);
}

/* Cross-Platform Section */
.cross-platform-section {
  padding: 120px 0;
  background: var(--bg-main);
}

.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cp-content .section-title {
  color: var(--text-main);
}

.cp-content .section-subtitle {
  max-width: 100%;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.browser-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: #FFF;
}

.tilted-browser {
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.cp-visual:hover .tilted-browser {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
  background: #F1F5F9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #FF5F56;
}

.dot.yellow {
  background: #FFBD2E;
}

.dot.green {
  background: #27C93F;
}

.browser-url {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
  margin-left: 16px;
}

.browser-body img {
  width: 100%;
  display: block;
}

/* Simple Sections */
.simple-section {
  padding: 100px 0;
}

.bg-alt {
  background: var(--bg-alt);
}

.simple-section .section-title {
  color: var(--text-main);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 80px 0 40px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 32px;
}

.footer-desc {
  line-height: 1.6;
}

.footer-heading {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--primary);
}

.newsletter-form {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-btn {
  padding: 12px 20px;
  box-shadow: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a:hover {
  color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .device-showcase {
    height: 450px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-wide {
    grid-column: span 2;
  }

  .cp-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 140px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-app-stores {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-app-stores .btn,
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .device-showcase {
    height: 350px;
  }

  .macbook {
    width: 90%;
    transform: translateX(-50%) rotateY(0) rotateX(0);
  }

  .iphone {
    width: 30%;
    right: 0;
    bottom: -20%;
    transform: translateX(0) translateZ(0);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .feature-tall,
  .feature-wide,
  .feature-square {
    grid-column: span 1;
    grid-row: span 1;
    flex-direction: column;
  }

  .feature-wide .bento-text {
    width: 100%;
  }

  .feature-wide .bento-image-center img {
    position: relative;
    width: 100%;
    right: 0;
    top: 0;
  }

  .cp-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tilted-browser {
    transform: none;
  }

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

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  transform: translateX(5px);
}

.dropdown-item svg {
  opacity: 0.8;
  flex-shrink: 0;
}

/* Hero Store Buttons */
.hero-app-stores {
  display: flex;
  gap: 12px;
  align-items: center;
}

.store-badge-link {
  display: block;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 0;
}

.store-badge-link:hover {
  transform: scale(1.05);
}

.store-badge-hero {
  height: 48px;
  width: auto;
  display: block;
}

.store-badge-small {
  height: 32px;
  width: auto;
  display: block;
}

.store-dropdown-item {
  padding: 8px 12px;
  justify-content: center;
}

.store-dropdown-item:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.recommended {
  border: 2px solid var(--primary-color);
  background: rgba(0, 104, 116, 0.05);
}

.recommended-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary-color);
  color: white;
  padding: 8px 40px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
}

.plan-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: 15px;
}

.feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item.muted {
  color: var(--text-secondary);
  opacity: 0.6;
}

.feature-item.muted svg {
  color: var(--text-secondary);
}

.pricing-cta {
  width: 100%;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card {
    padding: 32px;
  }
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  padding-right: 24px;
}