/* =============================================
   Syros 360 - PM Tools - Main Stylesheet
   Forest & Cream Theme - Fully Responsive
   Solid Engineered Solutions
   ============================================= */

/* CSS Variables */
:root {
    --forest-dark: #1a2f23;
    --forest: #2d5a3d;
    --forest-light: #3d7a52;
    --tan: #d4a574;
    --tan-light: #e0b88a;
    --cream: #f5f0e8;
    --cream-dark: #ebe4d8;
    --white: #ffffff;
    --text-dark: #1a2f23;
    --text-muted: #5a6b5e;
    --shadow-sm: 0 2px 10px rgba(26, 47, 35, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 47, 35, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 47, 35, 0.15);
    --transition: all 0.3s ease;
    
    /* Mobile-first font sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-md: 1.125rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-2xl: 2rem;
    --font-3xl: 2.5rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section:not(.hero) img {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   Navigation - Mobile First
   ============================================= */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.top-nav.scrolled {
    padding: 0.6rem 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-shrink: 1;
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-main {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--forest-dark);
    white-space: nowrap;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.nav-links {
    display: none;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.nav-links a {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--forest);
}

.menu-btn {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: var(--cream);
    border: none;
    border-radius: 8px;
    transition: var(--transition);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.menu-btn:hover,
.menu-btn:active {
    background: var(--forest-dark);
}

.menu-btn:hover span,
.menu-btn:active span {
    background: var(--white);
}

.menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--forest-dark);
    transition: var(--transition);
    border-radius: 1px;
}

/* =============================================
   Side Scroll Navigation - Hidden on Mobile
   ============================================= */
.scroll-nav {
    display: none;
}

/* =============================================
   Full Screen Menu
   ============================================= */
.full-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--forest-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.full-menu.active {
    opacity: 1;
    visibility: visible;
}

.full-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    margin: 0.4rem 0;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s ease, color 0.2s ease;
    display: inline-block;
}

.full-menu.active a {
    opacity: 1;
    transform: translateX(0);
}

.full-menu.active a:nth-child(2) { transition-delay: 0.05s; }
.full-menu.active a:nth-child(3) { transition-delay: 0.1s; }
.full-menu.active a:nth-child(4) { transition-delay: 0.15s; }
.full-menu.active a:nth-child(5) { transition-delay: 0.2s; }
.full-menu.active a:nth-child(6) { transition-delay: 0.25s; }
.full-menu.active a:nth-child(7) { transition-delay: 0.3s; }
.full-menu.active a:nth-child(8) { transition-delay: 0.35s; }
.full-menu.active a:nth-child(9) { transition-delay: 0.4s; }
.full-menu.active a:nth-child(10) { transition-delay: 0.45s; }
.full-menu.active a:nth-child(11) { transition-delay: 0.5s; }

.full-menu a:hover,
.full-menu a:active {
    color: var(--tan);
}

.menu-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.menu-close:hover,
.menu-close:active {
    background: var(--tan);
    border-color: var(--tan);
}

.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.menu-close:hover::before,
.menu-close:hover::after,
.menu-close:active::before,
.menu-close:active::after {
    background: var(--forest-dark);
}

.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }

/* =============================================
   Hero Section - Mobile First
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--cream);
    padding: 100px 1rem 2rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--forest-dark);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.slider-nav .prev { left: 0.5rem; }
.slider-nav .next { right: 0.5rem; }

.slider-nav button:hover,
.slider-nav button:active {
    background: var(--tan);
    transform: translateY(-50%) scale(1.05);
}

.slider-dots {
    text-align: center;
    padding: 0.75rem 0;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background: var(--tan);
    opacity: 0.4;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--forest);
    opacity: 1;
    transform: scale(1.3);
}

.hero-content {
    text-align: center;
    padding: 1rem 0.5rem 1.5rem;
    max-width: 100%;
}

.hero-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    color: var(--forest-dark);
}

.hero-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 auto 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--forest);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.hero-btn:hover,
.hero-btn:active {
    background: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   Section Common Styles
   ============================================= */
section {
    padding: 2.5rem 1rem;
}

.section-label {
    font-size: var(--font-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tan);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: var(--font-lg);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--forest-dark);
}

.section-text {
    font-size: var(--font-base);
    color: var(--text-muted);
    max-width: 100%;
    line-height: 1.6;
}

/* =============================================
   Module Sections - Mobile First
   ============================================= */
.module-section {
    padding: 2.5rem 1rem;
}

.module-section:nth-child(even) {
    background: var(--cream);
}

.module-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-container.reverse {
    flex-direction: column;
}

.module-content {
    padding: 0;
    order: 2;
}

.module-slider {
    order: 1;
}

.module-container.reverse .module-content {
    order: 2;
}

.module-container.reverse .module-slider {
    order: 1;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.module-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin: 0;
}

.module-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.module-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.module-features li {
    padding: 0.35rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.module-features li::before {
    content: '✓';
    color: var(--forest);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--forest);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.module-link span {
    transition: transform 0.3s ease;
}

.module-link:hover,
.module-link:active {
    color: var(--forest-dark);
}

.module-link:hover span {
    transform: translateX(4px);
}

/* Module Slider */
.module-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.module-slide {
    display: none;
    width: 100%;
}

.module-slide.active {
    display: block;
}

.module-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.module-slider-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.module-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.module-dot.active,
.module-dot:hover {
    background: var(--tan);
    transform: scale(1.3);
}

/* =============================================
   Stats Section - Mobile First
   ============================================= */
.stats {
    background: var(--forest-dark);
    padding: 2.5rem 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tan);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   Contact Section - Mobile First
   ============================================= */
.contact {
    background: var(--cream);
    padding: 2.5rem 1rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--forest-dark);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover,
.contact-item:active {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--forest);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--forest-dark);
    font-size: 0.9rem;
}

.contact-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--cream-dark);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--forest);
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--tan);
    color: var(--forest-dark);
    -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:active {
    background: var(--forest);
    color: var(--white);
}

/* =============================================
   Footer - Mobile First
   ============================================= */
footer {
    background: var(--forest-dark);
    color: var(--white);
    padding: 2rem 1rem 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-links a:active {
    color: var(--tan);
}

.footer-contact {
    text-align: center;
}

.footer-contact p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 0.25rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
}

/* =============================================
   Page-specific Styles (for sub-pages)
   ============================================= */
.page-hero {
    background: var(--cream);
    padding: 5rem 1rem 2rem;
    text-align: center;
}

.page-hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.page-hero-icon {
    font-size: 1.75rem;
}

.page-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin: 0;
}

.page-hero p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.content-section {
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}

.content-section p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--cream);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    color: var(--forest-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Screenshot sections */
.screenshots-section {
    background: var(--cream);
    padding: 2rem 1rem;
}

.screenshots-container {
    max-width: 1000px;
    margin: 0 auto;
}

.screenshots-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--forest-dark);
    margin-bottom: 1.25rem;
}

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

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.screenshots-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Process/Steps sections */
.process-section {
    padding: 2rem 1rem;
}

.process-title {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--forest-dark);
}

/* CTA sections */
.cta-section {
    background: var(--cream);
    padding: 2rem 1rem;
    text-align: center;
}

.cta-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--forest-dark);
}

.cta-text {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    width: auto;
    padding: 0.875rem 1.5rem;
}

/* =============================================
   Animations
   ============================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-20px);
}

[data-animate="fade-left"] {
    transform: translateX(20px);
}

[data-animate="fade-up"] {
    transform: translateY(20px);
}

[data-animate].animated {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    background: var(--forest);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
    -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover,
.back-to-top:active {
    background: var(--forest-dark);
    transform: translateY(-2px);
}

/* Image Modal/Lightbox */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-close:hover {
    transform: scale(1.2);
}

/* Make clickable images show pointer */
.module-slide img,
.feature-card img,
.content-section img,
.screenshot-item img {
    cursor: pointer;
}

/* =============================================
   TABLET BREAKPOINT (min-width: 600px)
   ============================================= */
@media (min-width: 600px) {
    .slide img {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 500px;
    }
    
    .module-slide img {
        height: 250px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .screenshot-item img {
        height: 220px;
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
    
    .stat-item h2 {
        font-size: 1.75rem;
    }
    
    .full-menu a {
        font-size: 1.25rem;
    }
}

/* =============================================
   TABLET LANDSCAPE / SMALL DESKTOP (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {
    :root {
        --font-xs: 0.75rem;
        --font-sm: 0.85rem;
        --font-base: 0.95rem;
        --font-md: 1.05rem;
        --font-lg: 1.2rem;
        --font-xl: 1.4rem;
        --font-2xl: 1.75rem;
    }
    
    .top-nav {
        padding: 1rem 2rem;
    }
    
    .top-nav.scrolled {
        padding: 0.75rem 2rem;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
    }
    
    section {
        padding: 3rem 2rem;
    }
    
    .hero {
        padding: 100px 2rem 3rem;
    }
    
    .hero-slider {
        max-width: 90%;
    }
    
    .slide img {
        height: 380px;
    }
    
    .hero-content {
        padding: 1.5rem 1rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        max-width: 550px;
    }
    
    .module-section {
        padding: 3rem 2rem;
    }
    
    .module-container {
        gap: 2rem;
    }
    
    .module-title {
        font-size: 1.35rem;
    }
    
    .module-slide img {
        height: 280px;
    }
    
    .stats {
        padding: 3rem 2rem;
    }
    
    .contact {
        padding: 3rem 2rem;
    }
    
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .btn {
        width: auto;
    }
    
    footer {
        padding: 2rem 2rem 1rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    
    .footer-contact {
        text-align: right;
    }
    
    .page-hero {
        padding: 5.5rem 2rem 2rem;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: 2.5rem 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .screenshots-section {
        padding: 2.5rem 2rem;
    }
    
    .screenshot-item img {
        height: 250px;
    }
    
    .full-menu {
        padding-left: 10%;
    }
    
    .full-menu a {
        font-size: 1.35rem;
        margin: 0.35rem 0;
    }
    
    .menu-close {
        right: 2rem;
    }
}

/* =============================================
   DESKTOP BREAKPOINT (min-width: 1024px)
   ============================================= */
@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
    
    .scroll-nav {
        position: fixed;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .scroll-nav.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-nav-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        cursor: pointer;
        text-decoration: none;
    }
    
    .scroll-nav-dot {
        width: 8px;
        height: 8px;
        border: 2px solid var(--tan);
        border-radius: 50%;
        transition: var(--transition);
    }
    
    .scroll-nav-item:hover .scroll-nav-dot,
    .scroll-nav-item.active .scroll-nav-dot {
        background: var(--forest);
        border-color: var(--forest);
        transform: scale(1.3);
    }
    
    .scroll-nav-label {
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--text-muted);
        opacity: 0;
        transform: translateX(10px);
        transition: var(--transition);
        white-space: nowrap;
    }
    
    .scroll-nav-item:hover .scroll-nav-label,
    .scroll-nav-item.active .scroll-nav-label {
        opacity: 1;
        transform: translateX(0);
        color: var(--forest-dark);
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-slider {
        max-width: 1100px;
    }
    
    .slide img {
        height: 430px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .module-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .module-container.reverse {
        direction: rtl;
    }
    
    .module-container.reverse > * {
        direction: ltr;
    }
    
    .module-content {
        order: unset;
    }
    
    .module-slider {
        order: unset;
    }
    
    .module-container.reverse .module-content,
    .module-container.reverse .module-slider {
        order: unset;
    }
    
    .module-title {
        font-size: 1.4rem;
    }
    
    .module-slide img {
        height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-item h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .full-menu a {
        font-size: 1.5rem;
    }
}

/* =============================================
   LARGE DESKTOP (min-width: 1280px)
   ============================================= */
@media (min-width: 1280px) {
    :root {
        --font-xs: 0.75rem;
        --font-sm: 0.875rem;
        --font-base: 1rem;
        --font-md: 1.1rem;
        --font-lg: 1.25rem;
        --font-xl: 1.5rem;
        --font-2xl: 2rem;
    }
    
    .top-nav {
        padding: 1.25rem 3rem;
    }
    
    .top-nav.scrolled {
        padding: 0.875rem 3rem;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    section {
        padding: 4rem 5%;
    }
    
    .hero {
        padding: 140px 5% 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .module-section {
        padding: 4rem 5%;
    }
    
    .module-title {
        font-size: 1.5rem;
    }
    
    .stats {
        padding: 3.5rem 5%;
    }
    
    .contact {
        padding: 4rem 5%;
    }
    
    .page-hero {
        padding: 6rem 5% 2.5rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 5%;
    }
}

/* =============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    .menu-btn,
    .menu-close,
    .slider-nav button,
    .module-link,
    .btn,
    .hero-btn,
    .back-to-top {
        -webkit-tap-highlight-color: transparent;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    .module-link:hover span {
        transform: none;
    }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .top-nav,
    .scroll-nav,
    .full-menu,
    .menu-btn,
    .back-to-top,
    .slider-nav,
    .slider-dots,
    .module-slider-dots {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}
