/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  /* Core brand */
  --primary-color: #1E3B55;      /* app primaryColor */
  --primary-light: #32577A;      /* gentle lighter of primary for hovers */
  --primary-dark: #0F1C2B;       /* app primaryDarkColor */

  /* Accent & secondary */
  --secondary-color: #3D1700;    /* app secondaryColor (slate-500) */
  --accent-color: #64748B;       /* app accentColor */ 

  /* Text */
  --text-primary: #1E293B;       /* slate-800 */
  --text-secondary: #64748B;     /* slate-500 */
  --text-light: #94A3B8;         /* slate-400 */

  /* Surfaces & borders */
  --background: #F8FAFC;         /* app backgroundColor (slate-50) */
  --background-light: #FFFFFF;   /* app surface/card */
  --border-color: #E2E8F0;       /* slate-200 */

  /* Gradient uses brand primary + accent */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));

  /* Shadows (unchanged) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.one { color: var(--primary-color);}
.care { color: var(--primary-color); }
.log { color: var(--secondary-color); }

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    font-size: 17px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-image {
    transform: rotate(5deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--background);
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--background);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-cta {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.btn-nav-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 59, 85, 0.2);
    border: none;
    cursor: pointer;
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 59, 85, 0.3);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: var(--background);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-store-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.store-badge-link img {
    height: 48px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.store-badge-link:hover img {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-actions .btn-primary {
    padding: 0 2rem;
    height: 48px;
    line-height: 48px;
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}


.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    border: 2px solid transparent;
    z-index: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 2;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease-out;
    pointer-events: none;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(30, 59, 85, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-primary:hover::after {
    opacity: 0.1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: transparent; /* remove black background */
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9; /* keeps correct ratio automatically */
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 20px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 59, 85, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

/* Video Placeholder Styles */
.video-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 2rem;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.placeholder-note {
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 600px;
    /* Hide phone frame styling */
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.screenshot-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

/* Modern Workflow Styles */
.modern-workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--background) 0%, white 100%);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 59, 85, 0.3);
}

.step-number {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-title h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card-title p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Replace your existing .card-image rule with this: */
.card-image {
    position: relative;
    overflow: hidden; /* This stays to respect the border-radius */

    /* 1. This adds the inset "card" effect */
    /* It matches the 2rem padding in your .card-header */
    margin: 0 2rem 2rem 2rem;

    /* 2. Remove fixed height to let the image show its full height */
    height: auto; 

    /* 3. Your existing styles that create the card look */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07); /* Softened shadow a bit */
    border-radius: 12px; /* Slightly larger radius to match new image */
    border: 1px solid var(--border-color); /* Adds a crisp edge */
}

/* Clean workflow image styling */
.full-workflow-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.workflow-card:hover .full-workflow-image {
    transform: scale(1.05);
}

/* App Screenshots Section */
.app-screenshots-section {
    padding: 80px 0;
    background: var(--background);
}

.screenshot-showcase-modern {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.screenshot-info-modern {
    margin-top: 0;
    margin-bottom: 3rem;
    min-height: 110px; /* Allocate space for 3 lines of text */
    text-align: center;
}

.screenshot-info-modern h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.screenshot-info-modern p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

/* Fade effect for text change */
.screenshot-info-modern.fade-out h3,
.screenshot-info-modern.fade-out p {
    opacity: 0;
}

.slider-controls-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Core Capabilities Section */
.capabilities-section {
    padding: 80px 0;
    background: var(--background-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.capability-card {
    background: var(--background-light);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.capability-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.capability-icon {
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.capability-text {
    flex: 1;
}

.capability-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.capability-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.capability-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.feature-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Use Case Section */
.use-case {
    padding: 80px 0;
    background: var(--background);
}

.use-case-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.use-case-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.use-case-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.use-case-steps {
    list-style: none;
    margin-bottom: 2rem;
}

.use-case-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.use-case-steps i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.use-case-result {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.use-case-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--background) 0%, white 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.chart-placeholder {
    width: 100%;
    height: 300px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.chart-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.chart-placeholder p {
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.download-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    padding: 2rem;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.qr-placeholder {
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.qr-grid {
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, var(--text-primary), var(--text-primary) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(90deg, var(--text-primary), var(--text-primary) 2px, transparent 2px, transparent 8px);
    opacity: 0.3;
}

.qr-placeholder p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.store-badge i {
    font-size: 1.5rem;
}

.store-badge span {
    opacity: 0.8;
}

.app-screenshots {
    margin-top: 2rem;
}

.download-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.download-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mobile Slider Styles */
.mobile-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* Hide side arrows on mobile for better touch experience */
@media (max-width: 768px) {
    .mobile-slider-container .prev-btn,
    .mobile-slider-container .next-btn {
        display: none;
    }
}

.mobile-frame {
    position: relative;
    width: 300px;
    height: 615px;
    background: linear-gradient(145deg, #2a2d34, #1a1d22);
    border-radius: 45px;
    padding: 10px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        0 20px 60px rgba(0,0,0,0.2);
    border: 2px solid #333;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 35px;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
    z-index: 5;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.mobile-camera {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 15;
}

.mobile-camera::before {
    display: none;
}

.mobile-camera::after {
    display: none;
}

.mobile-home-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    z-index: 10;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.screenshot-slider {
    display: flex;
    width: 1200%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 8.333%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 1;
}

.slider-image::before {
    display: none;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 12px rgba(30, 59, 85, 0.3),
        0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: linear-gradient(145deg, var(--primary-light), var(--primary-color));
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
        0 8px 16px rgba(30, 59, 85, 0.4),
        0 4px 8px rgba(0,0,0,0.3);
}

.slider-btn:active {
    transform: translateY(0) scale(0.98);
}

.slider-dots {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 200px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.4);
    border-color: rgba(30, 59, 85, 0.3);
    box-shadow: 0 0 8px rgba(30, 59, 85, 0.5);
}

.dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

/* Actual screenshot images */
.hero-screenshot,
.workflow-image,
.trend-chart,
.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid #000;
    position: relative;
}

/* Mobile-style border effect */
.hero-screenshot::before,
.workflow-image::before,
.trend-chart::before,
.app-screenshot::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(145deg, #f1f5f9, #cbd5e1);
    border-radius: 28px;
    z-index: -1;
    box-shadow: 
        inset 2px 2px 5px rgba(255,255,255,0.9),
        inset -2px -2px 5px rgba(0,0,0,0.1),
        0 8px 16px rgba(0,0,0,0.15);
}

.hero-screenshot {
    border-radius: 20px;
}

.workflow-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 18px;
}

.trend-chart {
    max-width: 60%;
    width: 60%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.trend-chart:hover {
    transform: scale(1.02);
}

.app-screenshot {
    width: 220px;
    height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.app-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact .btn-primary {
    background: white;
    color: var(--primary-color) !important;
}

.contact .btn-primary *,
.contact .btn-primary span,
.contact .btn-primary i {
    color: var(--primary-color) !important;
}

.contact .btn-primary:hover {
    background: var(--background-light);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.contact .btn-primary:hover *,
.contact .btn-primary:hover span,
.contact .btn-primary:hover i {
    color: var(--primary-color) !important;
}

.contact .btn-primary::after {
    background: var(--background-light);
}

/* Legal Document Styles */
.legal-document {
    padding: 120px 0 80px;
    background: var(--background-light);
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;    
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section a:hover {
    text-decoration: underline;
}



.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-row:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.contact-text a {
    font-weight: 500;
    text-decoration: none;
    color: var(--primary-color);
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-text span {
    color: var(--text-secondary);
}


/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}





/* REPLACE this rule */
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 5rem; /* Increased gap for more space */
  flex-wrap: wrap;
  margin-top: 20px;
}

.download-item {
  text-align: center;
}


/* ADD this new rule */
.qr-code-container {
  position: relative; /* This is crucial for positioning the icon */
  width: 150px;
  height: 150px;
  /* Add a transition for a nice hover effect */
  transition: transform 0.3s ease;
  border-radius: 12px; /* Match the QR code's radius */
  overflow: hidden; /* Ensures icon doesn't spill out */
}

.qr-code-container:hover {
    transform: scale(1.05); /* Makes the whole block larger on hover */
}

/* REPLACEMENT for .qr-code-icon */
.qr-code-icon {
  /* Sizing */
  width: 40px;
  height: 40px;
  
  /* Centering */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Styling */
  padding: 5px; 
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  
  /* Override */
  margin-top: 0;
  opacity: 1;
  
  /* !! REMOVE THE 'filter' LINE FROM THIS RULE !! */
}

/* QR code hover effects are handled by the container */


/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 992px) {
    .nav-logo {
        justify-content: center;
        flex: 1;
        order: 1;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .nav-cta {
        order: 2;
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .btn-nav-primary {
        display: none; /* Hide Get Started button on mobile to prevent overlap */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-radius: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::after {
        bottom: 0;
        height: 3px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-workflow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .capability-card {
        padding: 30px 20px;
    }
    
    .capability-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .capability-text {
        margin-top: 15px;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .card-image {
        height: 250px;
    }
    
    .use-case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Video Container Responsive */
    .video-container {
        max-width: 100%;
        margin: 2rem auto 0;
    }
    
    .placeholder-content {
        padding: 1rem;
    }
    
    .placeholder-content i {
        font-size: 3rem;
    }
    
    .placeholder-content h3 {
        font-size: 1.25rem;
    }
    
    .placeholder-note {
        font-size: 0.7rem;
        padding: 0.4rem;
    }

/* Video Fallback Styles */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 10;
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}
    
    /* Screenshot Showcase Responsive */
    .screenshot-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .screenshot-info {
        order: -1;
        padding: 1rem;
    }
    
    .screenshot-info h3 {
        font-size: 1.5rem;
    }
    
    .screenshot-info p {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .mobile-frame {
        width: 280px;
        height: 560px;
        padding: 8px;
        border-radius: 40px;
    }
    
    .mobile-screen {
        border-radius: 32px;
    }
    
    .mobile-camera {
        width: 90px;
        height: 25px;
        top: 0px;
    }
    
    .mobile-slider-container {
        flex-direction: column;
        max-width: 320px;
        gap: 0.8rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slider-dots {
        gap: 0.3rem;
        max-width: 180px;
    }
    
    .dot {
        width: 7px;
        height: 7px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Video Container for smaller screens */
    .video-container {
        margin: 1rem auto 0;
        border-radius: 15px;
    }
    
    .video-wrapper {
        border-radius: 15px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Screenshot info for smaller screens */
    .screenshot-info h3 {
        font-size: 1.25rem;
    }
    
    .screenshot-info p {
        font-size: 0.9rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .mobile-frame {
        width: 240px;
        height: 480px;
        padding: 6px;
        border-radius: 35px;
    }
    
    .mobile-screen {
        border-radius: 29px;
    }
    
    .mobile-camera {
        width: 80px;
        height: 20px;
        top: 0px;
    }
    
    .mobile-slider-container {
        flex-direction: column;
        max-width: 280px;
        gap: 0.6rem;
    }
    
    .slider-controls-modern {
        gap: 0.8rem;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .slider-dots {
        gap: 0.25rem;
        max-width: 160px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .capabilities-section {
        padding: 60px 0;
    }
    
    .capability-card {
        padding: 25px 15px;
    }
    
    .capability-content h3 {
        font-size: 1.2rem;
    }
    
    .capability-content p {
        font-size: 0.9rem;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    

}