@font-face {
    font-family: 'Outfit';
    src: url('assets/Fonts/Outfit-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/Fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/Fonts/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/Fonts/Outfit-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('assets/Fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg-color: #0d0e12;
    --text-main: #eef1f6;
    --text-muted: #94a3b8;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-bg: #1e293b;
    --border-color: #334155;
    --accent-glow: rgba(79, 70, 229, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --container-width: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(13, 14, 18, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary-bg);
    border-color: var(--text-muted);
}

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Background glow effects */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    opacity: 0.15;
    filter: blur(120px);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 100px;
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-specs {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mockup Visual */
.hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.hero-media {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
    display: block;
}

.hero-media:hover {
    transform: rotateX(0);
}

/* Featured Section */
.featured-section {
    padding: 20px 0 60px;
    text-align: center;
}

.featured-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.featured-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.featured-logos:hover {
    opacity: 1;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #111 100%);
}

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

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.why-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.check-list li::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.why-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-media {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    display: block;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

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

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

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

@media (max-width: 768px) {
    .section-header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

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

.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.04);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    background: #000;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-main);
    opacity: 0.8;
}

.link-group a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-main);
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.platform-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.icon-box-sm {
    color: var(--text-main);
    margin-bottom: 4px;
}

.platform-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.platform-card small {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.invert-white { filter: invert(1) brightness(100%); width: 24px; height: 24px; }

@keyframes textBlurReveal {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

/* Blog Meta */
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #818cf8; /* Lighter indigo for better contrast on dark bg */
    font-weight: 500;
}

.post-hero-image {
  width: 100%;
  max-width: 760px;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Blog Card (Landing Page) */
.featured-blog-card {
    max-width: 100%;
    margin: 0 auto;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--accent-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

@media (min-width: 768px) {
    .featured-blog-card {
        flex-direction: row;
        align-items: stretch;
        text-align: left;
        padding: 0;
        overflow: hidden;
    }
    
    .featured-content-left {
        flex: 0 0 50%;
        display: flex;
    }
    
    .featured-content-right {
        flex: 1;
        padding: 40px;
        border-left: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.featured-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.featured-content-left {
    position: relative;
    min-height: 250px;
}

.featured-post-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

@media (min-width: 768px) {
    .featured-post-banner {
        border-radius: 0;
    }
}

.featured-content-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.featured-blog-card h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-blog-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
}

/* Blog Page Styles */
.blog-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    opacity: 0.1;
    filter: blur(120px);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 50%;
}

.blog-section {
    padding-bottom: 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--text-muted);
}

.blog-card-content {
    padding: 30px;
}

.blog-date {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Blog Post Content Styles */
.blog-post-content table {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.blog-post-content th,
.blog-post-content td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    color: var(--text-muted);
}

.blog-post-content th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 600;
}

.blog-post-content tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-post-content table {
      display: block;
      overflow-x: auto;
  }

  .container {
      padding: 0 20px;
  }

  .hero {
      padding-bottom: 60px;
  }

  .hero h1 {
      font-size: 3rem;
  }
  
  .why-grid {
      grid-template-columns: 1fr;
  }

  .why-visual {
      height: auto;
  }

  .section-header h2 {
      font-size: 2.5rem;
  }
  
  .mobile-menu-btn {
      display: block;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 10px;
      z-index: 1001;
  }

  .hamburger {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text-main);
      position: relative;
      transition: all 0.3s;
  }

  .hamburger::before,
  .hamburger::after {
      content: '';
      position: absolute;
      width: 24px;
      height: 2px;
      background: var(--text-main);
      transition: all 0.3s;
      left: 0;
  }

  .hamburger::before { top: -8px; }
  .hamburger::after { top: 8px; }

  .mobile-menu-btn.active .hamburger {
      background: transparent;
  }

  .mobile-menu-btn.active .hamburger::before {
      transform: rotate(45deg);
      top: 0;
  }

  .mobile-menu-btn.active .hamburger::after {
      transform: rotate(-45deg);
      top: 0;
  }

  .nav-links {
      display: flex;
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 100%;
      max-width: 300px;
      background: rgba(13, 14, 18, 0.95);
      backdrop-filter: blur(20px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.3s ease;
      border-left: 1px solid var(--border-color);
      padding: 40px;
  }

  .nav-links.active {
      right: 0;
  }
  
  .hero-specs {
      flex-direction: column;
      align-items: center;
  }

  .features-grid {
      grid-template-columns: 1fr;
  }
  
  .footer-container {
      flex-direction: column;
      gap: 40px;
  }
  
  .footer-links {
      width: 100%;
      justify-content: space-between;
      gap: 40px;
  }

  /* Fix Hero CTAs stacking */
  .hero-actions {
      flex-direction: column;
      width: 100%;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
  }

  .hero-actions .btn {
      width: 100%;
  }

  /* Fix Featured Section overflow */
  .featured-logos {
      flex-direction: column;
      gap: 24px;
      padding: 0 10px;
  }

  .featured-logo {
      height: auto;
      max-width: 80vw; /* Prevent wider than viewport */
  }

  .featured-logo img {
      width: 100%;
      height: auto;
      max-width: 200px; /* Cap width for consistency */
  }
}

@media (max-width: 320px) {
  .modal-content {
    padding: 16px;
  }
}
