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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

/* Responsive media - mobile only */
img {
    max-width: 100%;
    height: auto;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px; /* Preserve original YouTube size */
    margin: 0 auto;
}

.video-container iframe {
    width: 560px;
    height: 315px;
}

/* Navigation */
nav {
    background: #0a2540;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    text-decoration: none;
    color: inherit;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: #1e88e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8em;
    text-align: center;
    padding: 5px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    color: white;
    font-size: 1.3em;
    font-weight: 700;
}

.logo-text .product-name {
    font-size: 0.75em;
    font-weight: 500;
    display: block;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 25px 25px;
    display: block;
    font-weight: 500;
    transition: background 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: #1e88e5;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    margin-left: 0;
}

.nav-cta .btn {
    padding: 12px 24px;
    font-size: 0.95em;
}

.btn {
    padding: 16px 32px;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #16a34a;
    color: white;
}

.btn-primary:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.btn-secondary {
    background: white;
    color: #0a2540;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #1565c0 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* Main Content */
.main-content {
    padding: 60px 20px;
    background: #f8fafc;
}

/* Workflow Steps */
.workflow-step {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50px;
    background: #1e88e5;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.workflow-step h2 {
    color: #0a2540;
    font-size: 2.2em;
    margin-bottom: 15px;
    margin-top: 20px;
}

.workflow-step h3 {
    color: #1e88e5;
    font-size: 1.5em;
    margin: 30px 0 15px 0;
}

.workflow-step p {
    color: #475569;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.workflow-step ul {
    margin: 20px 0;
    padding-left: 25px;
}

.workflow-step li {
    color: #475569;
    font-size: 1.05em;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Screenshot Placeholders */
.screenshot-container {
    margin: 30px 0;
}

.screenshot-single {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 3px dashed #1e88e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #0369a1;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.screenshot-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.screenshot-double .screenshot-item {
    height: 400px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 3px dashed #1e88e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: #0369a1;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.screenshot-grid .screenshot-item {
    height: 300px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 3px dashed #1e88e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    color: #0369a1;
    font-weight: 600;
    text-align: center;
    padding: 15px;
}

/* Feature Highlights */
.feature-box {
    background: #f0f9ff;
    border-left: 4px solid #16a34a;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.feature-box h4 {
    color: #0a2540;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.feature-box p {
    color: #475569;
    margin: 0;
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-logo-placeholder {
    width: 60px;
    height: 60px;
    background: #e4e4e4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2540;
    font-size: 0.8em;
    text-align: center;
    padding: 5px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(228, 228, 228, 0.2);
    text-align: center;
    color: #e4e4e4;
    font-size: 0.9em;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
    top: 12px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 18px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 24px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
}

@media (max-width: 818px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a2540;
        flex-direction: column;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }
    
    .nav-cta {
        padding: 15px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Mobile video responsiveness */
    .video-container {
        max-width: 100%;
    }
    
    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    /* Extra mobile overflow protection */
    .screenshot-double,
    .screenshot-grid {
        gap: 15px;
        margin: 20px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        padding: 15px 0;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .nav-links li a {
        padding: 15px 20px;
    }
    
    .nav-cta {
        width: 100%;
        margin-left: 0;
        padding: 15px 20px;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .workflow-step {
        padding: 30px 20px;
    }
    
    .workflow-step h2 {
        font-size: 1.8em;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
        left: 20px;
        top: -20px;
    }
    
    .screenshot-double {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-single {
        height: 300px;
    }
}