/* ==========================================================================
   RW Solutions - Professional Roofing Software Website
   Matching calculator aesthetic - clean, professional, no-nonsense
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Calculator colors - green primary */
    --primary: #2f855a;
    --primary-dark: #276749;
    --accent-blue: #4299e1;

    /* Neutrals - match calculator */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
    .btn, .carousel-dot, .nav-link {
        min-height: 44px;
        min-width: 44px;
    }

    .carousel-dot {
        width: 16px;
        height: 16px;
    }
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header - Simple and Professional
   ========================================================================== */
.header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Prevent scroll jump on mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }

    body {
        overflow-x: hidden;
        position: relative;
    }

    .header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .hero {
        margin-top: 0;
    }

    /* Prevent tap highlight that can cause jumps */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* Mobile carousel - no transition needed for smooth scroll */
    .roi-carousel-track {
        transition: none;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 2rem;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: -0.5px;
}

.logo-rws {
    font-weight: 900;
    color: var(--primary);
    font-size: 2.25rem;
    letter-spacing: -1.5px;
}

.logo-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link.active {
    color: var(--gray-900);
}

/* ==========================================================================
   Buttons - Match Calculator Style
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-large {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-50);
}

.btn-submit {
    width: 100%;
}

/* ==========================================================================
   Hero - Video Background
   ========================================================================== */
.hero {
    position: relative;
    color: white;
    padding: 8rem 0;
    border-bottom: 3px solid var(--primary);
    overflow: hidden;
    min-height: 850px;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.75);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    position: relative;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.hero-description strong {
    color: white;
    font-weight: 700;
}

.highlight-stat {
    color: var(--primary);
    font-weight: 800;
}

.highlight-text {
    color: var(--primary);
    font-weight: 700;
}

.hero-stat-callout {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.hero-stat-callout strong {
    color: white;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.badge-icon {
    color: var(--primary);
    font-weight: bold;
}

.hero-savings-badge {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.savings-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.savings-label {
    font-size: 0.9rem;
    color: var(--gray-300);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ROI Section - Continuous Scroll Carousel
   ========================================================================== */
.roi-section {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.roi-carousel-container {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    padding: 8px 12px 8px 8px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
    padding: 0 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
}

.carousel-dot:hover {
    background: var(--gray-400);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
    transform: scale(1.1);
}

.carousel-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.3); }
}

.roi-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 1.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 4px 4px 4px 0;
    will-change: transform;
}

.roi-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 1.333rem);
    max-width: calc(33.333% - 1.333rem);
}

.roi-card:hover {
    border-color: var(--primary);
}

.roi-card-highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(47, 133, 90, 0.03) 0%, rgba(47, 133, 90, 0.08) 100%);
}

@media (max-width: 968px) {
    .roi-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.roi-stat {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--primary);
}

.roi-label {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.roi-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.roi-callout {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.roi-callout h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.roi-callout p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   Features - Simple Cards
   ========================================================================== */
.features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-card-highlight {
    border-color: var(--primary);
    border-width: 2px;
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 8px;
    color: var(--primary);
}

.feature-icon svg {
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   Screenshots
   ========================================================================== */
.screenshots {
    padding: 4rem 0;
    background: var(--gray-50);
}

/* Screenshot Showcase */
.screenshot-showcase {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.showcase-item:nth-child(1) {
    animation-delay: 0.2s;
}

.showcase-item:nth-child(2) {
    animation-delay: 0.4s;
}

.showcase-item-reverse {
    grid-template-columns: 1fr 1.5fr;
}

.showcase-item-reverse .showcase-image-wrapper {
    order: 2;
}

.showcase-item-reverse .showcase-content {
    order: 1;
}

.showcase-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-300);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(47, 133, 90, 0.2);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-content {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.showcase-item-reverse .showcase-content {
    transform: translateX(30px);
    animation-name: fadeInRight;
}

.showcase-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.showcase-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-700);
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.5s ease-out forwards;
}

.showcase-features li:nth-child(1) { animation-delay: 0.6s; }
.showcase-features li:nth-child(2) { animation-delay: 0.7s; }
.showcase-features li:nth-child(3) { animation-delay: 0.8s; }
.showcase-features li:nth-child(4) { animation-delay: 0.9s; }
.showcase-features li:nth-child(5) { animation-delay: 1s; }

.showcase-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   How It Works - Detailed Workflow
   ========================================================================== */
.how-it-works {
    padding: 5rem 0;
    background: var(--gray-50);
}

.workflow-steps {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.workflow-step {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(47, 133, 90, 0.08);
}

.workflow-step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.workflow-step-content {
    flex: 1;
}

.workflow-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 700;
}

.workflow-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.workflow-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.workflow-list li {
    padding: 1rem 1.25rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
    background: var(--gray-50);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    font-weight: 500;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 3.5rem 0;
    text-align: center;
}

.cta-savings-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-hero {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0;
    border-bottom: 3px solid var(--primary);
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--gray-300);
}

.contact-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.form-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.65rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover {
    background: white;
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--gray-900);
    font-weight: 600;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 1.25rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-weight: 600;
}

.success-message p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
}

.info-card-accent {
    background: #f0f9ff;
    border-color: var(--primary);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.info-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.expect-list {
    list-style: none;
    padding: 0;
}

.expect-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.expect-icon {
    width: 20px;
    height: 20px;
    background: var(--green);
    color: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.pricing-note {
    margin-top: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 2.5rem 0 1.5rem;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-subtitle {
    color: var(--gray-500);
}

.footer-tagline {
    margin-top: 0.75rem;
    color: var(--gray-500);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: white;
}

.footer-location {
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 968px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .roi-stat {
        font-size: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-item,
    .showcase-item-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-item-reverse .showcase-image-wrapper {
        order: 1;
    }

    .showcase-item-reverse .showcase-content {
        order: 2;
    }

    .screenshot-showcase {
        gap: 4rem;
    }

    .showcase-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        padding: 6rem 0 4rem;
        min-height: 600px;
        background: #1e3a5f;
        margin-top: 80px;
        position: relative;
        will-change: auto;
    }

    .hero-video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: blur(0px);
    }

    .hero-video::-webkit-media-controls {
        display: none !important;
    }

    .hero-video::-webkit-media-controls-enclosure {
        display: none !important;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stat-callout {
        font-size: 1rem;
    }

    .hero-content {
        max-width: 100%;
    }

    /* Navigation Mobile */
    .nav {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .nav .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .nav-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo Mobile */
    .logo-text {
        font-size: 1.5rem;
    }

    .logo-rws {
        font-size: 1.65rem;
    }

    .logo-subtitle {
        display: none; /* Hide subtitle on tablet/mobile */
    }

    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel Mobile */
    .roi-carousel-container {
        padding: 4px 8px;
    }

    .carousel-dots {
        margin-top: 2rem;
    }

    .roi-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .roi-stat {
        font-size: 3rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Workflow Steps */
    .workflow-steps {
        gap: 2rem;
    }

    .workflow-step {
        flex-direction: column;
        text-align: center;
    }

    .workflow-step-number {
        margin-bottom: 1rem;
    }

    /* Contact */
    .contact-hero {
        padding: 4rem 0 3rem;
        margin-top: 80px;
    }

    .page-title {
        font-size: 2rem;
    }

    /* Buttons */
    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 480px) {
    /* Header Small Mobile */
    .header {
        padding: 0.75rem 0;
    }

    .nav-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    /* Hero Section Small Mobile */
    .hero {
        padding: 3rem 0;
        min-height: 500px;
        margin-top: 100px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    /* Navigation Small Mobile */
    .nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        display: none;
    }

    .nav .btn {
        width: auto;
        min-width: 160px;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
    }

    /* Logo Small Mobile */
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-rws {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        display: none; /* Hide subtitle on mobile */
    }

    /* Sections Small Mobile */
    .section-title {
        font-size: 1.5rem;
    }

    .roi-section {
        padding: 3rem 0;
    }

    /* Carousel Small Mobile */
    .roi-stat {
        font-size: 2.5rem;
    }

    .roi-label {
        font-size: 1rem;
    }

    .roi-description {
        font-size: 0.95rem;
    }

    /* Features Small Mobile */
    .features {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon svg {
        width: 36px;
        height: 36px;
    }

    /* Footer Small Mobile */
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 2rem 0;
    }

    /* Contact Small Mobile */
    .contact-hero {
        margin-top: 100px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    /* Showcase Small Mobile */
    .showcase-title {
        font-size: 1.25rem;
    }

    .showcase-description {
        font-size: 0.95rem;
    }

    .workflow-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    /* Container Padding */
    .container {
        padding: 0 16px;
    }
}
