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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fdfdfd;
    color: #333;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

/* White navbar for all pages */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo a {
    display: inline-block;
    padding: .5rem 0;
    line-height: 1;
}

.logo img {
    height: 2.25rem; /* ~36px */
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.935rem;
    transition: color 0.3s ease;
}

/* Dark nav links for all pages */
.nav-links a {
    color: #1a202c;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #4a5568;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn-secondary {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-btn-secondary:hover {
    color: #e2e8f0;
}

.nav-btn-secondary::after {
    content: '›';
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.cta-button {
    background-color: #635bff;
    color: white;
    padding: 0.6rem 1.1rem 0.8rem 1.1rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.6rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #102444;
}

.cta-button .svg-container {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 2px;
    transition: transform 0.1s ease-in-out;
}

.cta-button:hover .svg-container {
    transform: translateX(4px);
}

.cta-button .svg-container svg {
    width: 100%;
    height: 100%;
}

.cta-button .svg-container #stem {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.cta-button:hover .svg-container #stem {
    opacity: 1;
}

.cta-button::after {
    content: '';
}

/* Small variant for navbar */
.cta-button-sm {
    font-size: 0.9rem;
    padding: 0.3825rem 0.76rem 0.3825rem 0.9rem;
    gap: 0.2rem;
}

.cta-button-sm .svg-container {
    width: 10px;
    height: 10px;
    top: 1px;
}

/* Large variant for hero sections */
.cta-button-lg {
    font-size: 1.17rem; /* 30% larger */
    padding: 0.5rem 1.04rem 0.5rem 1.17rem; /* 30% larger */
    gap: 0.26rem; /* 30% larger */
    white-space: nowrap;
}   

.cta-button-lg .svg-container {
    width: 13px; /* 30% larger */
    height: 13px; /* 30% larger */
    top: 1px;
}

/* Utility class to disable hover color change on CTA buttons */
.cta-button.no-hover-color-change:hover {
    background-color: #635bff;
}

/* Form-specific button container */
.form-button-container {
    display: flex;
    justify-content: flex-end;
}

.form-button-container .cta-button {
    width: auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #010334;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Account for navbar height */
    z-index: 1;
    width: 100%;
}

.hero-animation-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-animation-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 600px;
    height: auto;
    perspective: 1000px;
}

/* Hero Boxes */
.hero-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.box-content {
    width: 100%;
}

.box-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.box-description {
    font-size: 1.125rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.box-features {
    margin-bottom: 2.5rem;
}

.box-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #e2e8f0;
    font-weight: 500;
}

.box-features .feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.box-cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.box-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.box-cta::after {
    content: '›';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.box-cta:hover::after {
    transform: translateX(3px);
}

/* Trust Badge */
.trust-badge {
    margin-top: 2rem;
    text-align: left;
    width: 100%;
}

.trust-badge-text {
    font-size: 0.75rem;
    color: #cbd5e0;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-badge-logo {
    height: 4rem;
    max-width: 300px;
    object-fit: contain;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-features {
    margin-bottom: 6rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #e2e8f0;
    font-weight: 500;
}

.feature-list .feature-item:last-child {
    margin-bottom: 0;
}

.feature-checkmark {
    width: 24px;
    height: 24px;
    background: #e0e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-checkmark::after {
    content: '✓';
    color: #6366f1;
    font-size: 14px;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.primary-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-btn::after {
    content: '›';
    font-size: 1.2rem;
    font-weight: bold;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5855eb 0%, #7c3aed 100%);
}

.secondary-btn {
    background: transparent;
    color: #e2e8f0;
    padding: 0.625rem 1.25rem;
    border: 2px solid #475569;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #64748b;
    color: #ffffff;
}

.trial-disclaimer {
    font-size: 0.9rem;
    color: #cbd5e0;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Demo Section */
.demo-section {
    animation: slideInRight 1s ease-out;
    text-align: center;
    margin-bottom: 2rem;
}

.demo-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.demo-arrow {
    font-size: 1rem;
    color: #ffffff;
    animation: bounce 2s ease-in-out infinite;
}

/* iPad Container */
.ipad-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    height: 100%;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Three.js Container */
.threejs-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#threejs-canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Demo Controls */
.demo-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
}

.demo-button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    pointer-events: auto;
    white-space: nowrap;
}

.demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.demo-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* iPad Stand */
.ipad-stand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stand-base {
    width: 160px;
    height: 120px;
    background: #374151;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* iPad Device - Horizontal/Landscape */
.ipad {
    width: 600px;
    height: 400px;
    background: #000;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid #1a1a1a;
    transition: all 0.3s ease;
    margin-bottom: -40px;
}

.ipad:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.ipad-screen {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    background: #f8fafc;
    border-radius: 20px;
    margin: 8px;
    position: relative;
    overflow: hidden;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status Bar */
.status-bar {
    height: 30px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    color: #64748b;
}

/* Main App Content */
.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: scaleIn 1s ease-out 0.5s both;
}

.success-icon::after {
    content: '✓';
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.welcome-text {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: center;
}

.member-name {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 32px;
}

.member-details {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 16px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #64748b;
    font-weight: 500;
}

.detail-value {
    color: #1e293b;
    font-weight: 600;
}

/* Card Reader Component */
.card-reader {
    position: absolute;
    bottom: -60px;
    right: 50px;
    width: 200px;
    height: 120px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    z-index: 3;
}

.card-slot {
    width: 140px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    margin-bottom: 20px;
}

.payment-logos {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-logo {
    width: 32px;
    height: 20px;
    border-radius: 4px;
}

.mastercard {
    background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%);
}

.visa {
    background: #1a1f71;
}

.eftpos {
    background: #ff6600;
}

/* Integration Partners Section */
.partners-section {
    padding: 4rem 2rem;
    background: #fdfdfd;
    border-top: 1px solid #e2e8f0;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.partners-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    max-height: 45px;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 1;
}

.partner-logo:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* --- STICKY SCROLL SECTION --- */

.sticky-scroll-container {
    padding: 100px 0;
    position: relative;
    background-color: #f8f9fa;
}

.sticky-scroll-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sticky-scroll-wrapper .features-content {
    padding: 0 2rem;
}

.features-content {
    position: relative;
}

.sticky-feature-item {
    margin-bottom: 60px;
    opacity: 0.4;
    transition: opacity 0.6s ease;
    padding: 0;
    min-height: 85vh; 
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 24px;
}

.sticky-feature-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.sticky-feature-item.active {
    opacity: 1;
}

.sticky-feature-item:last-child {
    margin-bottom: 0;
}

.feature-category {
    font-size: 1rem;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-category::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #f59e0b;
    border-radius: 3px;
}

.feature-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
}

.sticky-feature-item .feature-title {
    margin-top: -0.2em;
}

.feature-description {
    font-size: 1.4rem;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.sticky-feature-item .feature-description {
    margin: 0;
}

.feature-text-content {
    margin-bottom: 2rem;
}

.animation-wrapper {
    position: relative;
    height: calc(255vh + 120px); /* (85vh * 3) + (60px * 2) */
}

.animation-container {
    position: sticky;
    top: 7.5vh;
    height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: visible;
}

.animation-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation-box {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    position: absolute;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.8);
    background: transparent;
}

.animation-box.active {
    opacity: 1;
    transform: scale(1);
}

.animation-box.exiting {
    opacity: 0;
    transform: scale(1.2);
}

.rotating-square {
    width: 100px;
    height: 100px;
    background: #635bff;
    border-radius: 10px;
    animation: rotate 2s linear infinite;
    margin-bottom: 20px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotating-square.red {
    background: #ff0000;
}

.rotating-square.green {
    background: #00ff00;
}

/* --- CTA Section --- */
.cta-section {
    background-color: #1e293b;
    padding: calc(100px + 5vw) 40px 100px;
    position: relative;
    overflow: hidden;
    margin-top: -5vw;
    /* CHANGE 2: Added negative margin to reliably close the sub-pixel gap */
    margin-bottom: -1px;
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0% 100%);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.cta-column h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fdfdfd;
    margin-bottom: 1rem;
}

.cta-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fdfdfd;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.cta-column p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-column.cta-main p {
    margin-bottom: 2rem;
}

.cta-buttons-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.cta-link:hover {
    color: #5855eb;
}

.cta-link .svg-container {
    width: 10px;
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 1px;
    transition: transform 0.1s ease-in-out;
}

.cta-link:hover .svg-container {
    transform: translateX(4px);
}

.cta-link .svg-container svg {
    width: 100%;
    height: 100%;
}

.cta-link .svg-container #stem {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.cta-link:hover .svg-container #stem {
    opacity: 1;
}

.cta-icon-wrapper {
    height: 50px;
    display: flex;
    align-items: center;
}

.icon-pricetag {
    width: 38px;
    height: 38px;
    background-color: #38bdf8;
    border-radius: 6px 6px 6px 0;
    transform: rotate(-45deg);
    position: relative;
    left: 10px;
}

.icon-pricetag::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #38bdf8;
}

.icon-integration {
    width: 38px;
    height: 46px;
    background-color: #818cf8;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}
.icon-integration::before {
    content: '<>';
}

/* --- Footer --- */
.site-footer {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 80px 40px 40px;
    border-top: none;
}

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

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

.footer-brand .logo {
    color: #fdfdfd;
    margin-bottom: 1.5rem;
}

.footer-region-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fdfdfd;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e5e7eb;
}

.footer-bottom-bar {
    border-top: 1px solid #334155;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.copyright {
    color: #94a3b8;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    text-decoration: none;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fdfdfd;
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 1rem;
        height: auto;
        width: 100%;
    }
    
    .hero-box {
        padding: 2rem;
        min-height: 350px;
        text-align: center;
    }
    
    .box-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .box-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .box-features {
        margin-bottom: 2rem;
    }
    
    .box-features .feature-item {
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .hero-content {
        height: auto;
        min-height: 50vh;
    }
    .ipad-container {
        height: auto;
        min-height: 50vh;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-links { display: none; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 0.75rem; }
    .button-container { align-items: center; }
    .trial-disclaimer { font-size: 0.8rem; text-align: center; }
    .feature-list .feature-item { font-size: 1rem; margin-bottom: 0.75rem; }
    .feature-checkmark { width: 20px; height: 20px; margin-right: 0.75rem; }
    .feature-checkmark::after { font-size: 12px; }
    .demo-heading { font-size: 1.25rem; }
    .demo-arrow { font-size: 1rem; }
    .threejs-container { 
        height: 400px; 
        margin-top: 1rem;
    }
    .demo-controls {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .demo-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    .partners-section { padding: 3rem 1rem; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .partner-logo { font-size: 1.25rem; }
    .partners-heading { font-size: 1rem; margin-bottom: 2rem; }
    .welcome-text { font-size: 24px; }
    .member-name { font-size: 16px; }
    .detail-row { font-size: 14px; }
    .sticky-scroll-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
    .sticky-feature-item { min-height: auto; margin-bottom: 60px; padding: 40px 0; }
    .sticky-feature-item:last-child { min-height: auto; }
    .animation-wrapper { height: auto; display: none; }
    .animation-container { position: relative; top: auto; transform: none; height: 70vh; margin-bottom: 40px; }
    .feature-title { font-size: 2.2rem; }
    .feature-description { font-size: 1.2rem; }
    .animation-box { width: 300px; height: 350px; font-size: 1.5rem; }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .cta-column h2 { font-size: 2rem; }
    .cta-buttons-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .cta-icon-wrapper { justify-content: center; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .key-points-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .key-points-image {
        order: -1; /* Image on top on mobile */
    }
    .key-points-content h2 {
        font-size: 2rem;
    }
    .threejs-container { 
        height: 400px; 
        margin-top: 1rem;
    }

    /* Contact Page Responsiveness */
    .contact-section {
        padding: 4rem 1rem;
    }

    .contact-body {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1.5rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .timeline-column h2, .contact-form h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 2rem 1rem;
        width: 100%;
    }
    
    .hero-box {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .box-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .box-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .box-features .feature-item {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
        margin-right: 0.75rem;
    }
    
    .box-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.verification-animation, .verification-animation-hero {
    width: 400px;
    height: 600px;
    border-radius: 20px;
    position: relative;
}

.verification-animation {
    background: #0d1a2e;
}

.verification-animation-hero {
    transform: scale(0.8);
}

.verification-animation {
    overflow: hidden;
    transform: rotateX(20deg) rotateY(-25deg) scale(0.9);
}

.verification-animation .main-container, .verification-animation-hero .main-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.verification-animation .card-container, .verification-animation-hero .card-container {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: visible;
    perspective: 1000px;
}

.verification-animation .card, .verification-animation-hero .card {
    width: 100%;
    aspect-ratio: 1.586;
    border-radius: 12.2px;
    position: absolute;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 1s ease-in-out;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: center bottom;
    overflow: hidden;
    filter: brightness(0.8);
}

.verification-animation .card.is-top, .verification-animation-hero .card.is-top {
    filter: brightness(1);
}

.verification-animation .connection-line-from-face, .verification-animation-hero .connection-line-from-face, .verification-animation .connection-line-from-camera, .verification-animation-hero .connection-line-from-camera {
    position: absolute;
    width: 3px;
    border-radius: 2px;
    z-index: 10;
    height: 0;
    transition: height 0.8s ease-in-out, opacity 0.3s ease-out;
}

.verification-animation .connection-line-from-face.success, .verification-animation-hero .connection-line-from-face.success, .verification-animation .connection-line-from-camera.success, .verification-animation-hero .connection-line-from-camera.success {
    background: #4CAF50;
}

.verification-animation .connection-line-from-face.failure, .verification-animation-hero .connection-line-from-face.failure, .verification-animation .connection-line-from-camera.failure, .verification-animation-hero .connection-line-from-camera.failure {
    background: #f44336;
}

.verification-animation .face-highlight-box, .verification-animation-hero .face-highlight-box {
    position: absolute;
    border: 3px solid #333;
    border-radius: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease-out;
    z-index: 15;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(51, 51, 51, 0.6);
}

.verification-animation .face-highlight-box.success, .verification-animation-hero .face-highlight-box.success {
    border-color: #4CAF50;
}

.verification-animation .face-highlight-box.failure, .verification-animation-hero .face-highlight-box.failure {
    border-color: #f44336;
}

.verification-animation .face-highlight-box.visible, .verification-animation-hero .face-highlight-box.visible {
    opacity: 1;
    transform: scale(1);
}

.verification-animation .face-scanning-line, .verification-animation-hero .face-scanning-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0;
    top: 0;
    left: 0;
    z-index: 16;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.verification-animation .face-scanning-line.success, .verification-animation-hero .face-scanning-line.success {
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
}

.verification-animation .face-scanning-line.failure, .verification-animation-hero .face-scanning-line.failure {
    background: linear-gradient(90deg, transparent, #f44336, transparent);
}

.verification-animation .face-scanning-line.scanning, .verification-animation-hero .face-scanning-line.scanning {
    opacity: 1;
    animation: verification-faceScan 0.8s ease-in-out;
}

@keyframes verification-faceScan {
    0% { top: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.verification-animation .success-indicator, .verification-animation-hero .success-indicator {
    position: absolute;
    border: none;
    border-radius: 16px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: white;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    padding: 20px 30px;
    gap: 12px;
}

.verification-animation .success-indicator.success, .verification-animation-hero .success-indicator.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.verification-animation .success-indicator.failure, .verification-animation-hero .success-indicator.failure {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 8px 32px rgba(244, 67, 54, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.verification-animation .success-indicator.visible, .verification-animation-hero .success-indicator.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}

.verification-animation .success-tick, .verification-animation-hero .success-tick {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.verification-animation .success-tick::after, .verification-animation-hero .success-tick::after {
    content: none;
}

.verification-animation .success-text, .verification-animation-hero .success-text {
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}

.verification-animation .camera-section, .verification-animation-hero .camera-section {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.verification-animation .camera-view, .verification-animation-hero .camera-view {
    width: 300px;
    height: 225px;
    background: #404040;
    border-radius: 15px;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #555;
}

.verification-animation .camera-face, .verification-animation-hero .camera-face {
    position: absolute;
    top: 50px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: calc(100% - 50px - 20px);
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    z-index: 5;
    opacity: 0.9;
    transition: all 0.4s ease-out;
}

.verification-animation .camera-face.changing, .verification-animation-hero .camera-face.changing {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
}

.verification-animation .record-dot, .verification-animation-hero .record-dot {
    width: 6px;
    height: 6px;
    background: #ff4444;
    border-radius: 50%;
    animation: verification-pulse-record 1.5s infinite;
}

@keyframes verification-pulse-record {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.verification-animation .camera-header, .verification-animation-hero .camera-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 15;
}

.verification-animation .live-indicator, .verification-animation-hero .live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.verification-animation .scanning-line, .verification-animation-hero .scanning-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    opacity: 0;
    z-index: 10;
}

.verification-animation .scanning-line.scanning, .verification-animation-hero .scanning-line.scanning {
    opacity: 1;
    animation: verification-cameraScan 0.8s ease-in-out;
}

@keyframes verification-cameraScan {
    0% { top: 50px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 20px); opacity: 0; }
}

.verification-animation .camera-corners, .verification-animation-hero .camera-corners {
    position: absolute;
    top: 50px;
    left: 30px;
    right: 30px;
    bottom: 20px;
    pointer-events: none;
    z-index: 10;
}

.verification-animation .corner, .verification-animation-hero .corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #00ff88;
    opacity: 0;
    animation: verification-fadeInCorners 0.3s ease-out 0.1s forwards;
}

.verification-animation .corner.top-left, .verification-animation-hero .corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.verification-animation .corner.top-right, .verification-animation-hero .corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.verification-animation .corner.bottom-left, .verification-animation-hero .corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.verification-animation .corner.bottom-right, .verification-animation-hero .corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

@keyframes verification-fadeInCorners {
    to { opacity: 1; }
}

/* Pricing Page Styles */
/* Navbar styling now handled by global navbar rules */

.pricing-hero {
    background-color: #010334;
    min-height: 100vh;
    padding: 80px 2rem; /* 80px top/bottom padding, 2rem side padding */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Removed ::before pseudo-element as we're no longer using background image */

.pricing-container {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.pricing-header {
    margin-bottom: 4rem;
    text-align: left;
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out 0.2s forwards;
}

.pricing-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-box-container {
    display: grid;
    grid-template-columns: 4fr 3fr;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: left;
    overflow: hidden;
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out 0.4s forwards;
}

.pricing-details {
    padding: 3rem;
    border-right: 1px solid #e5e7eb;
}

.pricing-badge {
    display: inline-block;
    background-color: #e0e7ff;
    color: #4f46e5;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-box-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-description {
    color: #64748b;
    margin-bottom: 2rem;
}

.pricing-details .feature-list {
    margin-bottom: 2.5rem;
}

.pricing-details .feature-list .feature-item {
    color: #374151;
}

.pricing-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.learn-more-btn {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more-btn .arrow-down {
    border: 1px solid #e0e7ff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.learn-more-btn:hover .arrow-down {
    transform: translateY(2px);
}

.pricing-cost {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pricing-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-cost-description {
    color: #64748b;
}

.pricing-hardware-info {
    margin-top: 2rem;
    margin-bottom: 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: left;
    width: 100%;
}

.hardware-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.hardware-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .pricing-box-container {
        grid-template-columns: 1fr;
    }

    .pricing-details {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .pricing-hero {
        padding: 120px 1rem 60px;
        min-height: 0;
    }
    
    .pricing-details, .pricing-cost {
        padding: 2.5rem;
    }

    .pricing-cost {
        align-items: flex-start;
        text-align: left;
    }

    .pricing-amount {
        font-size: 2.25rem;
    }
}

@media (max-width: 500px) {
    .pricing-details, .pricing-cost {
        padding: 1.5rem;
    }
    .pricing-amount {
        font-size: 1.8rem;
    }

    .pricing-box-title {
        font-size: 1.5rem;
    }
}

/* Comparison Section Styles */
.compare-section {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

.compare-container {
    max-width: 1024px;
    margin: 0 auto;
}

.compare-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    text-align: center;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

.features-list .features-group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    height: 64px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 1rem;
}

.features-list .features-group-title:first-child {
    margin-top: 0;
}

.features-list p {
    color: #64748b;
    height: 48px; /* Align with comparison rows */
    display: flex;
    align-items: center;
}

.comparison-box {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.comparison-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.comparison-header p {
    font-size: 0.9rem;
    color: #64748b;
}

.comparison-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 1.5rem;
}

.comparison-body .cell {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    border-top: 1px solid #e5e7eb;
}

.comparison-body .comparison-group-spacer {
    height: 64px;
    grid-column: 1 / -1;
    border-top: 1px solid #e5e7eb;
}

.comparison-body .cell-spacer {
    height: 3rem;
    border-top: 1px solid #e5e7eb;
}

.comparison-body .tick, .comparison-body .cross {
    font-weight: bold;
}

.comparison-body .tick {
    color: #16a34a;
}

.comparison-body .cross {
    color: #ef4444;
}

/* Contact Page */
/* Navbar styling now handled by global navbar rules */

.contact-section {
    padding: 8rem 2rem 6rem;
    background-color: #010334;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: none;
    background-size: cover;
    background-position: center 20%;
    filter: blur(20px);
    z-index: -1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: left;
    margin-bottom: 4rem;
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out 0.2s forwards;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-container {
    background: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
}

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

.timeline-section h2 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    text-align: center;
    padding: 1rem;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.timeline-content h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 1;
    animation: none;
    transition: height 0.4s ease-in-out;
}

.timeline-column h2 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline-step {
    position: relative;
    padding-left: 60px; /* 40px for number + 20px gap */
    min-height: 40px; /* Ensure space for the number */
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    z-index: 2;
}

.timeline-content h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form h2 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1rem;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
}

.label-optional {
    color: #94a3b8;
    font-size: 0.9em;
    font-weight: 500;
    margin-left: 0.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #6366f1;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.phone-input {
    display: flex;
}

.phone-input select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    background-color: #f8fafc;
}

.phone-input input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.contact-form .cta-button {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

.form-success-message {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form-success-message .success-icon {
    /* Override conflicting global .success-icon styles */
    background: none;
    animation: none;
    border-radius: 0;

    /* Styles for the feather icon */
    width: 80px;
    height: 80px;
    color: #22c55e;
    stroke-width: 2;
    margin-bottom: 1.5rem;
}

.form-success-message p {
    font-size: 1.1rem;
    color: #334155;
    font-weight: 500;
}

.contact-info .info-box {
    margin-bottom: 2rem;
}

.contact-info .info-box:last-child {
    margin-bottom: 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 1rem;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info a i {
    width: 24px;
    height: 24px;
}

.footer-contact h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-info a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-contact-info a:hover {
    color: #ffffff;
}

.footer-contact-info a i {
    width: 16px;
    height: 16px;
}

/* --- Mobile Navbar & Menu Styles --- */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 1101;
}

.nav-toggle svg {
    display: block;
    color: #6366f1;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 2000;
    flex-direction: column;
    padding: 0;
    transition: opacity 0.25s cubic-bezier(.4,0,.2,1), visibility 0.25s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    pointer-events: none;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeInMobileMenu 0.25s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInMobileMenu {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu .logo a {
    color: #6366f1;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #6366f1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

.mobile-menu-links a {
    font-size: 1.2rem;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    padding: 1.1rem 0.5rem 1.1rem 0;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-links a:last-child {
    border-bottom: none;
}

.mobile-menu-links a:hover, .mobile-menu-links a:focus {
    background: none;
    color: #6366f1;
}

.mobile-menu-links .cta-button {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-menu-links .nav-btn-secondary {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    .nav-toggle {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .mobile-menu {
        font-size: 1.1rem;
    }
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-contact {
    color: #6366f1 !important;
    font-weight: 700;
    /* Inherit all other styles from .mobile-menu-links a */
    font-size: 1.2rem;
    text-decoration: none;
    padding: 1.1rem 0.5rem 1.1rem 0;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s, color 0.2s;
    background: none;
    margin-top: 0;
    border-radius: 0;
    text-align: left;
}

.mobile-menu-contact:hover, .mobile-menu-contact:focus {
    background: #ede9fe;
    color: #4f46e5 !important;
}

.mobile-menu-links .cta-button {
    display: none;
}

.ipad-3d-container {
  width: 500px;
  height: 400px;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
#threejs-canvas {
  width: 1000px;
  height: 800px;
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
  transform: translate(-50%, -50%);
}
@media (max-width: 520px) {
  .ipad-3d-container {
    display: none;
  }
}

.demo-toggle-btn {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  z-index: 10;
  pointer-events: auto;
  width: auto;
  min-width: 0;
  margin: 0;
}
.demo-toggle-btn:active {
  background: linear-gradient(135deg, #5855eb 0%, #7c3aed 100%);
}
.demo-toggle-btn .arrow {
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.demo-toggle-btn:hover .arrow {
  transform: translateY(2px);
}



.hero-content {
  align-items: flex-start;
  text-align: left;
}

/* Features Page Styles */
.features-page .hero {
    height: 50vh;
    padding-top: 120px;
    background: #ffffff;
}

.features-page .hero::before {
    display: none !important;
}

body.features-page {
    background-color: #ffffff;
}

.features-page .hero-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-page .hero-title {
    margin-bottom: 0;
    color: #1e293b;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.features-content {
    background-color: #ffffff;
    padding: 40px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.features-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.features-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    line-height: 1.6;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-tile {
    background: transparent;
    border: none;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.feature-tile:hover {
    transform: none;
}

.feature-tile .feature-icon {
    background: none !important;
    border-radius: 0 !important;
    color: #6366f1 !important;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 1rem 0;
    flex-shrink: 0;
    box-shadow: none !important;
}

.feature-tile .feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 1.4rem;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}



/* Mobile Responsive Styles for Features */
@media (max-width: 768px) {
    .features-page .hero {
        padding-top: 100px;
    }
    
    .features-title {
        font-size: 2.5rem;
    }
    
    .features-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-tile {
        padding: 2rem;
    }
    
    .feature-tile .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-tile .feature-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-name {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .features-title {
        font-size: 2rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    .feature-tile {
        padding: 1.5rem;
    }
    
    .feature-tile .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-tile .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-name {
        font-size: 1rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
    

}

/* Three Column Features Layout */
.features-three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-column {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 500px;
    justify-content: space-between;
    overflow: hidden;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 8px);
    height: 200px;
    margin: 4px 4px 1rem 4px;
}

.placeholder-background {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    border-radius: 8px;
}

.feature-column-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    padding: 0 2rem;
}

.feature-column-description {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    padding: 0 2rem 2rem 2rem;
}

.feature-column-description .highlight {
    color: #6366f1;
    font-weight: 600;
}

/* Integration Logos Graphic */
.integration-logos {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item {
    position: absolute;
    width: 50px;
    height: 50px;
}

.logo-item.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logo-item.bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logo-item.left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.logo-item.right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.logo-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
}

.logo-circle.black {
    background: #000;
    color: white;
}

.logo-circle.blue {
    background: #3b82f6;
    color: white;
}

.logo-circle.orange {
    background: #f97316;
    color: white;
}

.logo-circle.white {
    background: white;
    color: #ff4444;
    border: 2px solid #e5e7eb;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-name {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    white-space: nowrap;
    color: #6b7280;
}

/* Expert Flow Graphic */
.expert-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.flow-item {
    display: flex;
    align-items: center;
}

.flow-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flow-circle.light-blue {
    background: #dbeafe;
    color: #1e40af;
}

.overlay-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.flow-arrows {
    display: flex;
    gap: 0.5rem;
}

.flow-arrows svg {
    width: 16px;
    height: 16px;
}

/* Brand Elements Box */
.brand-elements-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 280px;
}

.brand-header {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.brand-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.brand-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-label {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.brand-preview {
    display: flex;
    align-items: center;
}

.preview-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.preview-button {
    background: #e5e7eb;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.color-box {
    background: #e5e7eb;
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-three-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-column {
        padding: 1.5rem;
        height: auto;
        min-height: 400px;
    }
    
    .feature-image {
        height: 150px;
    }
    
    .feature-column-title {
        font-size: 1.25rem;
    }
    
    .integration-logos {
        width: 100px;
        height: 100px;
    }
    
    .logo-item {
        width: 40px;
        height: 40px;
    }
    
    .expert-flow {
        gap: 0.75rem;
    }
    
    .flow-circle {
        width: 50px;
        height: 50px;
    }
    
    .brand-elements-box {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .feature-column {
        padding: 1rem;
    }
    
    .feature-column-title {
        font-size: 1.125rem;
    }
    
    .integration-logos {
        width: 80px;
        height: 80px;
    }
    
    .logo-item {
        width: 35px;
        height: 35px;
    }
    
    .flow-circle {
        width: 45px;
        height: 45px;
    }
}

.form-success-message p {
    font-size: 1.1rem;
    color: #334155;
    font-weight: 500;
}

.contact-form {
    transition: height 0.4s ease-in-out;
}

.form-success-message {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.form-success-message.visible {
    opacity: 1;
}

.contact-info .info-box {
    margin-bottom: 2rem;
}

.features-page .features-content {
    background-color: #ffffff;
    padding: 40px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sticky-scroll-container .features-content {
    background-color: #f8f9fa;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 8rem 0 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000;
}

.page-description {
    font-size: 1.25rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 1rem;
        height: auto;
        width: 100%;
    }
    .key-points-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .key-points-content h2 {
        font-size: 2rem;
    }
    .threejs-container { 
        height: 400px; 
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 2rem 1rem;
        width: 100%;
    }
    
    .hero-box {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .box-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .box-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .box-features .feature-item {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
        margin-right: 0.75rem;
    }
    
    .box-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.features-grid .feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0;
}

.privacy-policy-container {
    background-color: white;
    color: #333;
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
}

.privacy-policy-container h1,
.privacy-policy-container h2,
.privacy-policy-container h3 {
    color: #000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-policy-container h1 {
    font-size: 2.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.privacy-policy-container h2 {
    font-size: 2rem;
}

.privacy-policy-container h3 {
    font-size: 1.5rem;
}

.privacy-policy-container p {
    margin-bottom: 1rem;
}

.privacy-policy-container ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-policy-container a {
    color: #007bff;
    text-decoration: none;
}

.privacy-policy-container a:hover {
    text-decoration: underline;
}

/* Contact Page Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-section {
        padding: 7rem 1rem 2rem;
    }

    .contact-body {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1.5rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .timeline-column h2, .contact-form h2 {
        font-size: 1.5rem;
    }
}

.faq-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
    padding-top: 100px;
    padding-bottom: 60px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.25);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-item.active .faq-question {
    background: rgba(102, 126, 234, 0.1);
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    padding-right: 20px;
    line-height: 1.5;
}

.icon {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon svg {
    width: 100%;
    height: 100%;
}

.faq-item.active .icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 0;
    padding-bottom: 0;
}

.faq-answer-content {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    padding: 0;
    white-space: pre-wrap;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 25px;
    padding-bottom: 25px;
}

/* FAQ Page with Sidebar */
.faq-page-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    gap: 60px;
}

.faq-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.faq-sidebar nav {
    position: sticky;
    top: 120px; /* Adjust based on navbar height */
}

#faq-nav h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

#faq-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#faq-nav li {
    margin-bottom: 10px;
}

#faq-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

#faq-nav a:hover {
    background-color: #f4f4f5;
    color: #111;
}

#faq-nav a.active {
    background-color: #eef2ff;
    color: #6366f1;
    font-weight: 600;
    border-left-color: #6366f1;
}

.faq-content {
    flex-grow: 1;
    max-width: 800px;
}

@media (max-width: 900px) {
    .faq-page-container {
        flex-direction: column;
        gap: 20px;
    }

    .faq-sidebar {
        width: 100%;
    }

    .faq-sidebar nav {
        position: static;
    }

    #faq-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}

#scan-id-rect,
#scan-id-text,
#scan-id-image,
#manual-entry-rect,
#manual-entry-text,
#manual-entry-image {
    transition: x 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                y 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                fill 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#member-only-elements {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#ipad-screen-content.member-view #member-only-elements {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}