/* QSRPro - Modern CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

.gradient-text {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border: 2px solid #2563EB;
}

.btn-secondary:hover {
    background: #2563EB;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #2563EB;
    border: 2px solid #2563EB;
}

.btn-outline:hover {
    background: #2563EB;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.cta-button {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Side Navigation */
.side-navbar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
}

.side-navbar.active {
    left: 0;
}

.side-nav-container {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.side-nav-logo {
    margin-bottom: 3rem;
    text-align: center;
}

.side-nav-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.side-nav-logo-link:hover {
    opacity: 0.8;
}

.side-nav-logo-img {
    height: 80px;
    width: auto;
}

.side-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.side-nav-link {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.side-nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    transform: translateX(5px);
}

.side-cta-button {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white !important;
    margin-top: auto;
    text-align: center;
    font-weight: 600;
}

.side-cta-button:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    transform: translateX(0) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.hamburger-line {
    width: 16px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
    overflow: hidden;
    padding: 1rem 0;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    min-height: 70vh;
    padding-top: 1rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-title-logo {
    height: 5rem;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.demo-highlights {
    margin-bottom: 1.5rem;
}

.demo-highlights p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.8rem;
}

.demo-highlights ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.demo-highlights li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.demo-highlights li::before {
    content: '•';
    color: #2563EB;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.mission-statement {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.stat-label {
    font-size: 0.72rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
    line-height: 1.2;
}

/* Video Container */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.video-container {
    width: 280px;
    height: 580px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000;
    align-self: flex-start;
    flex-shrink: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.app-logo {
    height: 50px;
    width: auto;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 5px;
}

.app-subtitle {
    font-size: 16px;
    color: #666;
}

.diagnostic-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.step.completed {
    background: #e8f5e8;
    color: #2d5a2d;
}

.step.completed i {
    color: #28a745;
}

.step.active {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 2px solid #2563EB;
}

.step.active i {
    color: #2563EB;
}

.step.branch {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196f3;
    font-weight: 600;
}

.step.branch i {
    color: #2196f3;
    animation: pulse 1.5s ease-in-out infinite;
}

.confidence-meter {
    margin-top: 20px;
}

.confidence-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.confidence-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Floating Icons */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 107, 53, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation-delay: -2s;
}

.floating-icon:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: white;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 1rem 0;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

.step-visual {
    margin: 1.5rem 0;
}

.step-visual i {
    font-size: 3rem;
    color: #2563EB;
}

/* Equipment Section */
.equipment {
    background: white;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.equipment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.equipment-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.equipment-item p {
    color: #666;
    line-height: 1.6;
}

/* Early Access Section */
.early-access {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
}

.early-access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.early-access-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.early-access-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.early-access-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.early-access-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: white;
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    color: white;
}

/* Vision Section */
.vision {
    background: #f8f9fa;
}

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

.vision-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.vision-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 1rem 0;
}

.vision-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-main {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.footer-logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: #2563EB;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-logo i {
    color: #2563EB;
    font-size: 28px;
}

.footer-description {
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-copyright p {
    color: #ccc;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2563EB;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-title-logo {
        height: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        padding: 0.8rem 1rem;
        margin: 0.8rem auto;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .video-container {
        width: 240px;
        height: 480px;
        margin-top: -1rem;
    }
    
    .hero-video {
        border-radius: 6px;
    }
    
    .app-interface {
        padding: 15px;
    }
    
    .app-logo {
        height: 40px;
    }
    
    .app-header {
        margin-bottom: 20px;
        gap: 8px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .early-access-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hero-title-logo {
        height: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-content {
        gap: 1rem;
        padding-top: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
        padding: 1rem;
        flex-direction: column;
        margin: 0.5rem auto;
    }
    
    .stat {
        padding: 0.5rem 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .video-container {
        width: 200px;
        height: 400px;
    }
    
    .hero-video {
        border-radius: 6px;
    }
    
    .app-interface {
        padding: 10px;
    }
    
    .app-logo {
        height: 28px;
    }
    
    .app-subtitle {
        font-size: 12px;
    }
    
    .app-header {
        margin-bottom: 12px;
        gap: 5px;
    }
    
    .progress-section {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .progress-label {
        font-size: 10px;
        margin-bottom: 5px;
    }
    
    .step-title-display {
        font-size: 11px;
        gap: 6px;
    }
    
    .step-description {
        font-size: 10px;
    }
    
    .action-btn {
        padding: 8px 10px;
        font-size: 10px;
        gap: 5px;
    }
    
    .confidence-meter {
        margin-top: 12px;
    }
    
    .confidence-label {
        font-size: 10px;
        margin-bottom: 5px;
    }
    
    .early-access-form {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

.scale-in {
    animation: scaleIn 1s ease-out forwards;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Hero title animation */
.hero-title {
    animation: slideInLeft 1.2s ease-out;
}

.hero-description {
    animation: slideInLeft 1.2s ease-out 0.3s both;
}

.hero-buttons {
    animation: slideInLeft 1.2s ease-out 0.6s both;
}

.hero-stats {
    animation: slideInLeft 1.2s ease-out 0.9s both;
}

.hero-image {
    animation: slideInRight 1.2s ease-out 0.3s both;
}

/* Phone mockup animation */
.phone-mockup {
    animation: scaleIn 1.2s ease-out 0.6s both;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-mockup:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Stat numbers animation */
.stat-number {
    font-weight: 700;
    color: #2563EB;
    animation: pulse 2s ease-in-out infinite;
}

/* Feature cards staggered animation */
.feature-card {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }
.feature-card:nth-child(5) { animation-delay: 1s; }
.feature-card:nth-child(6) { animation-delay: 1.2s; }

/* Step items staggered animation */
.step-item {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.step-item:nth-child(1) { animation-delay: 0.2s; }
.step-item:nth-child(2) { animation-delay: 0.4s; }
.step-item:nth-child(3) { animation-delay: 0.6s; }
.step-item:nth-child(4) { animation-delay: 0.8s; }

/* Equipment items staggered animation */
.equipment-item {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.equipment-item:nth-child(1) { animation-delay: 0.2s; }
.equipment-item:nth-child(2) { animation-delay: 0.4s; }
.equipment-item:nth-child(3) { animation-delay: 0.6s; }
.equipment-item:nth-child(4) { animation-delay: 0.8s; }
.equipment-item:nth-child(5) { animation-delay: 1s; }
.equipment-item:nth-child(6) { animation-delay: 1.2s; }

/* Vision cards staggered animation */
.vision-card {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.vision-card:nth-child(1) { animation-delay: 0.2s; }
.vision-card:nth-child(2) { animation-delay: 0.4s; }
.vision-card:nth-child(3) { animation-delay: 0.6s; }

/* Diagnostic steps animation */
.step {
    transition: all 0.3s ease;
}

.step.active {
    animation: bounce 1s ease-in-out infinite;
}

/* Confidence meter animation */
.confidence-fill {
    transition: width 0.5s ease;
}

/* Floating icons animation */
.floating-icon {
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-delay: -2s; }
.floating-icon:nth-child(3) { animation-delay: -4s; }

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 70px;
}


/* ===== INTERACTIVE PHONE MOCKUP STYLES ===== */

/* Progress Section */
.progress-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-text {
    color: #333;
}

.progress-percent {
    color: #2563EB;
    font-weight: 700;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Diagnostic Content */
.diagnostic-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.step-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #2563EB;
}

.step-title-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.step-title-display i {
    color: #2563EB;
    font-size: 16px;
}

.step-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Step Actions */
.step-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: #2563EB;
    background: #EFF6FF;
    color: #2563EB;
}

.action-btn i {
    font-size: 14px;
}

.action-success {
    border-color: #28a745;
    color: #28a745;
}

.action-success:hover {
    background: #e8f5e8;
}

.action-failure {
    border-color: #dc3545;
    color: #dc3545;
}

.action-failure:hover {
    background: #f8d7da;
}

/* Branch Decision */
.branch-decision {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    animation: slideInUp 0.4s ease-out;
}

.branch-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 12px;
    font-size: 14px;
}

.branch-title i {
    font-size: 16px;
    animation: pulse 1.5s ease-in-out infinite;
}

.branch-options {
    display: flex;
    gap: 10px;
}

.branch-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border: 2px solid #2196f3;
    border-radius: 8px;
    background: white;
    color: #1565c0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.branch-btn:hover {
    background: #2196f3;
    color: white;
    transform: translateY(-2px);
}

.branch-btn i {
    font-size: 18px;
}

.branch-yes {
    border-color: #28a745;
    color: #28a745;
}

.branch-yes:hover {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.branch-no {
    border-color: #dc3545;
    color: #dc3545;
}

.branch-no:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}


/* ===== BRAND LOGO CAROUSEL ===== */
.brand-carousel {
    background: #fff;
    padding: 2rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.carousel-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.carousel-track-wrapper {
    overflow: hidden;
    position: relative;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: carousel-scroll 20s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.carousel-item img {
    height: 100%;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) opacity(50%);
    transition: filter 0.3s ease;
}

.carousel-item img:hover {
    filter: grayscale(0%) opacity(100%);
}

@keyframes carousel-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
