/* ==========================================================================
   Home Page Specific Styles
   ========================================================================== */

/* Hero Section */
.hero {
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, 
        rgba(139, 44, 44, 0.03) 0%, 
        rgba(139, 154, 70, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(139, 154, 70, 0.05) 0%, 
        transparent 70%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--dark-red);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--golden-green) 0%, var(--dark-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: var(--dark-red);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 154, 70, 0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-badge {
    text-align: center;
    flex: 1;
}

.trust-number {
    font-size: 2rem;
    color: var(--golden-green);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    display: block;
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--dark-red);
    opacity: 0.8;
}

/* Demo Widget */
.demo-widget {
    background: rgba(255, 248, 220, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(139, 44, 44, 0.15);
    border: 2px solid var(--golden-green);
    animation: fadeInRight 0.8s ease-out 0.4s both;
    transition: transform 0.3s ease;
}

.demo-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(139, 44, 44, 0.2);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.demo-title {
    font-size: 1.25rem;
    color: var(--dark-red);
    font-weight: 400;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--golden-green);
    font-size: 0.875rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--golden-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.demo-content {
    background: linear-gradient(to bottom, 
        rgba(139, 154, 70, 0.05), 
        rgba(139, 154, 70, 0.02));
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 350px;
}

.job-queue {
    background: var(--pale-yellow);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 154, 70, 0.2);
}

.queue-title {
    font-size: 0.875rem;
    color: var(--dark-red);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.job-item {
    background: linear-gradient(to right, 
        rgba(139, 44, 44, 0.05), 
        rgba(139, 44, 44, 0.02));
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    cursor: move;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.job-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(139, 44, 44, 0.2);
    border-color: var(--golden-green);
}

.job-item.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
}

.factory-visualization {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.machine-slot {
    background: var(--pale-yellow);
    border: 2px dashed var(--golden-green);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    min-height: 100px;
}

.machine-slot:hover {
    border-style: solid;
    transform: scale(1.05);
    background: rgba(139, 154, 70, 0.02);
}

.machine-slot.drag-over {
    background: rgba(139, 154, 70, 0.1);
    border-color: var(--dark-red);
}

.machine-name {
    font-size: 0.875rem;
    color: var(--dark-red);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.machine-status {
    font-size: 0.75rem;
    color: var(--golden-green);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.machine-jobs {
    margin-top: 0.75rem;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.demo-btn {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-optimize {
    background: linear-gradient(135deg, var(--golden-green) 0%, rgba(139, 154, 70, 0.7) 100%);
    color: var(--pale-yellow);
}

.btn-optimize:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 154, 70, 0.3);
}

.btn-reset {
    background: var(--pale-yellow);
    color: var(--dark-red);
    border: 1px solid var(--golden-green);
}

.btn-reset:hover {
    background: rgba(139, 154, 70, 0.05);
}

.demo-result {
    background: rgba(139, 154, 70, 0.15);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-metric {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.metric-label {
    color: var(--dark-red);
    font-weight: 500;
}

.metric-value {
    color: var(--golden-green);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.cta-demo {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.875rem;
    background: var(--dark-red);
    color: var(--pale-yellow);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.875rem;
    transition: all 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.cta-demo:hover {
    background: rgba(139, 44, 44, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 44, 44, 0.3);
}

/* Value Propositions */
.value-props {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.value-card {
    background: var(--pale-yellow);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(139, 44, 44, 0.05);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid rgba(139, 154, 70, 0.2);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--golden-green), var(--dark-red));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 44, 44, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
    animation-delay: var(--delay, 0s);
}

.value-card:nth-child(1) .value-icon { --delay: 0s; }
.value-card:nth-child(2) .value-icon { --delay: 0.2s; }
.value-card:nth-child(3) .value-icon { --delay: 0.4s; }
.value-card:nth-child(4) .value-icon { --delay: 0.6s; }
.value-card:nth-child(5) .value-icon { --delay: 0.8s; }
.value-card:nth-child(6) .value-icon { --delay: 1s; }

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

.value-title {
    font-size: 1.25rem;
    color: var(--dark-red);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.value-description {
    font-size: 0.875rem;
    color: var(--dark-red);
    opacity: 0.8;
    line-height: 1.6;
}

/* Features Preview */
.features-preview {
    background: linear-gradient(to bottom, 
        rgba(139, 154, 70, 0.05), 
        transparent);
    padding: 5rem 2rem;
}

.feature-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content h2 {
    font-size: 2.5rem;
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-weight: 400;
}

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

.feature-list li {
    padding: 0.75rem 0;
    color: var(--dark-red);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s;
}

.feature-list li:hover {
    transform: translateX(10px);
}

.gantt-preview {
    background: var(--pale-yellow);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(139, 44, 44, 0.1);
    border: 1px solid rgba(139, 154, 70, 0.2);
}

.gantt-header {
    font-size: 1rem;
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 154, 70, 0.2);
}

.gantt-chart {
    position: relative;
}

.gantt-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    position: relative;
    height: 35px;
}

.resource {
    width: 80px;
    font-size: 0.75rem;
    color: var(--dark-red);
    font-weight: 500;
}

.gantt-bar {
    position: absolute;
    height: 25px;
    background: linear-gradient(to right, var(--golden-green), rgba(139, 154, 70, 0.7));
    border-radius: 5px;
    opacity: 0.8;
    animation: slideIn 1s ease-out both;
}

.gantt-row:nth-child(1) .gantt-bar { animation-delay: 0.2s; }
.gantt-row:nth-child(2) .gantt-bar { animation-delay: 0.4s; }
.gantt-row:nth-child(3) .gantt-bar { animation-delay: 0.6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

/* Social Proof */
.social-proof {
    background: linear-gradient(to bottom, 
        rgba(139, 154, 70, 0.05), 
        rgba(139, 44, 44, 0.02));
    padding: 5rem 2rem;
    border-radius: 50px;
    margin: 2rem;
}

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

.testimonial {
    background: var(--pale-yellow);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(139, 44, 44, 0.05);
    position: relative;
    transition: all 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 44, 44, 0.1);
}

.quote-mark {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: var(--golden-green);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-red);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, 
        rgba(139, 154, 70, 0.2), 
        rgba(139, 44, 44, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-red);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--dark-red);
    font-size: 0.875rem;
}

.author-title {
    font-size: 0.75rem;
    color: var(--dark-red);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .demo-widget {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .factory-visualization {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NEW HOMEPAGE SECTIONS
   ========================================================================== */

/* Hero Updates */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    text-align: left;
    align-items: center;
}

.hero-text {
    padding-right: 0;
}

/* Hero Desktop Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-mockup-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(139, 44, 44, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.desktop-mockup-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(139, 44, 44, 0.25);
}


.hero-purpose {
    color: var(--dark-red);
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark-red);
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    justify-content: center;
    margin-bottom: 0;
}

/* 4 Pillars Section */
.pillars-section {
    padding: 5rem 2rem;
    background: var(--pale-yellow);
}

.pillars-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.pillars-left {
    display: flex;
    flex-direction: column;
}

.pillars-left .section-header {
    margin-bottom: 2rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pillars-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-mockup-img {
    max-width: 320px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(139, 44, 44, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mobile-mockup-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(139, 44, 44, 0.25);
}

.pillar-card {
    background: rgba(255, 248, 220, 0.6);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.pillar-card:hover {
    border-color: var(--golden-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 44, 44, 0.1);
}

.pillar-title {
    color: var(--golden-green);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pillar-description {
    color: var(--dark-red);
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Key Modules Section */
.modules-section {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom,
        rgba(139, 154, 70, 0.05),
        transparent);
}

/* Zigzag Module Layout */
.modules-zigzag {
    max-width: 1100px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.module-row.reverse {
    direction: rtl;
}

.module-row.reverse > * {
    direction: ltr;
}

.module-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.module-image img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.module-row:hover .module-image img {
    transform: scale(1.05);
}

.module-content {
    padding: 1rem 0;
}

.module-content h3 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.module-content p {
    color: var(--dark-red);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--golden-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.module-link::after {
    content: '→';
    transition: transform 0.3s;
}

.module-link:hover {
    color: var(--dark-red);
}

.module-link:hover::after {
    transform: translateX(5px);
}

.modules-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Why TUC4Human Section */
.why-section {
    padding: 5rem 2rem;
    background: var(--pale-yellow);
}

.why-section .section-subtitle {
    text-align: center;
    color: var(--golden-green);
    font-size: 1.15rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.why-content {
    max-width: 800px;
    margin: 2.5rem auto 0;
    text-align: center;
    background: rgba(139, 154, 70, 0.05);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.why-content p {
    color: var(--dark-red);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.why-content p:last-of-type {
    margin-bottom: 2rem;
}

.why-content .why-highlight {
    font-size: 1.15rem;
    opacity: 1;
    padding: 1.5rem;
    background: rgba(139, 154, 70, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--golden-green);
}

.why-content .why-highlight strong {
    color: var(--golden-green);
}

.why-content .btn-link {
    display: inline-block;
    color: var(--golden-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.why-content .btn-link:hover {
    color: var(--dark-red);
    transform: translateX(5px);
}

/* Pricing Value Section */
.pricing-value-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg,
        rgba(139, 154, 70, 0.08) 0%,
        rgba(139, 44, 44, 0.05) 100%);
}

.pricing-value-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-value-content h2 {
    color: var(--dark-red);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pricing-value-content p {
    color: var(--dark-red);
    opacity: 0.85;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Core Values Section */
.values-section {
    padding: 5rem 2rem;
    background: var(--pale-yellow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 248, 220, 0.6);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 15px;
    transition: all 0.3s;
}

.value-item:hover {
    border-color: var(--golden-green);
    transform: translateY(-3px);
}

.value-item h3 {
    color: var(--dark-red);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive for New Sections */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-mockup {
        order: -1;
        margin-bottom: 2rem;
    }

    .desktop-mockup-img {
        max-width: 500px;
    }

    .pillars-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pillars-left .section-header {
        text-align: center;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-right {
        order: -1;
    }

    .mobile-mockup-img {
        max-width: 280px;
    }

    /* Modules Zigzag Responsive */
    .module-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .module-row.reverse {
        direction: ltr;
    }

    .module-image {
        order: -1;
    }

    .module-image img {
        max-height: 220px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-item:hover {
        transform: translateX(0);
    }

    .pricing-value-content h2 {
        font-size: 1.5rem;
    }

    .phone-frame {
        width: 200px;
        height: 420px;
        border-radius: 35px;
        animation: none;
        transform: rotateY(0deg) rotateX(0deg);
    }

    .phone-frame::before {
        width: 80px;
        height: 22px;
    }

    .app-header {
        padding: 35px 12px 10px;
    }

    .app-title {
        font-size: 12px;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .stat-item {
        padding: 6px 3px;
    }

    .stat-value {
        font-size: 10px;
    }

    .stat-label {
        font-size: 5px;
    }

    .dashboard-card {
        padding: 8px;
        margin-bottom: 6px;
    }

    .card-title {
        font-size: 8px;
    }

    .mini-chart {
        height: 30px;
    }

    .job-row {
        padding: 3px 5px;
        font-size: 6px;
    }

    .app-fab {
        width: 36px;
        height: 36px;
        bottom: 15px;
        right: 15px;
    }

    .app-fab::before {
        width: 12px;
    }

    .app-fab::after {
        height: 12px;
    }

    .device-label {
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .desktop-mockup-img {
        max-width: 100%;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .mobile-mockup-img {
        max-width: 240px;
    }

    .modules-zigzag {
        gap: 2rem;
    }

    .module-content h3 {
        font-size: 1.25rem;
    }

    .module-content p {
        font-size: 0.95rem;
    }

    .module-image img {
        max-height: 180px;
    }
}