/* ============================================
   FORCE SYNE FONT THROUGHOUT SITE
   ============================================ */

/* Override theme fonts globally */
body,
body * {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Specific overrides for hero section */
.hero-title,
.hero-word,
.hero-subtitle,
.section-title,
.work-title,
.capability-title,
.cta-text,
h1, h2, h3, h4, h5, h6,
p, a, span, div {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* ============================================
   LODE REPLICA - ADDITIONAL CUSTOM STYLES
   ============================================ */

/* Additional typography refinements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-weight: 300;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-speed) var(--transition-ease);
}

a:hover {
    opacity: 0.6;
}

/* ============================================
   CUSTOM CURSOR (optional - like LODE)
   ============================================ */

body {
    cursor: default;
}

a, button, .project-item {
    cursor: pointer;
}

/* ============================================
   HEADER CUSTOMIZATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}


/* ============================================
   NAVIGATION STYLES
   ============================================ */

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ============================================
   CONTENT ANIMATIONS
   ============================================ */

.stagger-item {
    opacity: 0;
    transform: translateY(40px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
}

/* ============================================
   IMAGE STYLES
   ============================================ */

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

.image-wrapper {
    overflow: hidden;
    position: relative;
}

.image-wrapper img {
    transition: transform 1s var(--transition-ease);
}

.image-wrapper:hover img {
    transform: scale(1.08);
}

/* ============================================
   SPLIT TEXT ANIMATION SETUP
   ============================================ */

.split-text {
    overflow: hidden;
}

.split-text .line {
    overflow: hidden;
}

.split-text .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

/* ============================================
   PARALLAX SECTIONS
   ============================================ */

.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: -1;
}

/* ============================================
   CUSTOM BUTTONS
   ============================================ */

.lode-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* TEST - If you see this in dev tools, CSS is loading */
.lode-button::after {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: right 0.4s ease;
    z-index: -1;
}

.lode-button:hover::after {
    right: 0;
}

.lode-button:hover {
    color: #fff;
    opacity: 1 !important;
}

/* ============================================
   PROJECT HOVER EFFECTS
   ============================================ */

.project-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.project-category {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 1024px) {
    header {
        padding: 1.5rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 1.5rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   SMOOTH REVEAL CLASSES (for GSAP)
   ============================================ */

.reveal {
    opacity: 0;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   LOADING TRANSITIONS
   ============================================ */

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    pointer-events: none;
    transform: translateY(-100%);
}

/* ============================================
   TEXT SELECTION
   ============================================ */

::selection {
    background: #000;
    color: #fff;
}

::-moz-selection {
    background: #000;
    color: #fff;
}






/* ============================================
   HOMEPAGE STYLES - LODE REPLICA
   ============================================ */

/* Hero Section */
.lode-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;  /* Increased top padding to clear header */
    background: #fff;
    position: relative;
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-line {
    display: block;
    white-space: nowrap;  /* Keep words on same line within each group */
}

.hero-word {
    display: inline-block;
    margin: 0 0.2em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    /* Remove any opacity or transform */
}

/* Featured Work Section */
.lode-featured-work {
    padding: 8rem 2rem;
    background: #fff;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.work-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

.work-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.work-item:hover .work-image-wrapper img {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-category {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Capabilities Section */
.lode-capabilities {
    padding: 8rem 2rem;
    background: #f5f5f5;
}

.capabilities-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

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

.capability-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.capability-icon {
    margin-bottom: 2rem;
    color: #000;
}

.capability-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.capability-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.capability-description p {
    margin-bottom: 0.5rem;
}

/* ============================================
   INDUSTRIES SERVED SECTION
   ============================================ */

.lode-industries {
    padding: 8rem 2rem;
    background: #fafafa;
}

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

.industry-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-8px);
}

.industry-icon {
    margin-bottom: 2rem;
    color: #000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.industry-item:hover .industry-icon {
    opacity: 0.7;
    transform: scale(1.05);
}

.industry-icon svg {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
}

.industry-name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .lode-industries {
        padding: 6rem 1.5rem;
    }

    /* Mobile: Smaller title - natural line height like Featured Work */
    .lode-industries .section-title {
        font-size: 2.2rem;
        /* line-height removed - uses default */
        margin-bottom: 2rem;
    }

    /* 1 COLUMN VERTICAL STACK */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .industry-icon svg {
        width: 80px;
        height: 80px;
    }

    .industry-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Even smaller title for very small phones */
    .lode-industries .section-title {
        font-size: 2.2rem;
    }

    .industries-grid {
        gap: 2rem;
    }

    .industry-icon svg {
        width: 70px;
        height: 70px;
    }
}

/* CTA Section */
.lode-cta {
    padding: 8rem 2rem;
    background: #f5f5f5;
}

.cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-text {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #333;
}

/* Section CTA Button Container */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .lode-hero-section,
    .lode-featured-work,
    .lode-capabilities,
    .lode-cta {
        padding: 4rem 1.5rem;
    }

    .work-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-word {
        display: block;
        margin: 0.2em 0;
    }

    .section-title {
        margin-bottom: 3rem;
    }
}

/* Animation Classes (already in use) */
.stagger-container .stagger-item {
    opacity: 0;
    transform: translateY(40px);
}

/* Disable all hover effects on work items */
.work-item *,
.work-item:hover *,
.work-image-wrapper img,
.work-item:hover .work-image-wrapper img,
.work-overlay,
.work-item:hover .work-overlay {
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .lode-featured-work .container { padding: 0 10px !important; }
    .work-grid { gap: 1rem !important; }
    .work-item { border-radius: 4px !important; overflow: hidden; }
}




/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.lode-contact {
    padding: 8rem 2rem;
    background: #fff;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

.contact-form {
    text-align: left;
    margin-top: 3rem;
}

/* Honeypot - hidden from users, visible to bots */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: #000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    color: #000;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg ' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
}


.form-submit .lode-button {
    min-width: 200px;
    cursor: pointer;
    border: 2px solid #000 !important;
    background: transparent !important;
    color: #000 !important;
    font-family: 'Syne', sans-serif;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

/* Use ::after instead of ::before for the slide-in effect */
.form-submit .lode-button::after {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: right 0.4s ease;
    z-index: -1;
}

.form-submit .lode-button:hover {
    color: #fff !important;
}

.form-submit .lode-button:hover::after {
    right: 0;
}

.form-submit .lode-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lode-contact {
        padding: 6rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .form-submit .lode-button {
        min-width: 100%;
    }
}




/* ============================================
   OUR WORK PAGE - CASE STUDY STYLES
   ============================================ */

/* Page Hero */
.case-study-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: #fff;
}

.page-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    text-align: center;
    color: #666;
    font-weight: 300;
}

/* Case Study Container */
.case-study {
    padding: 6rem 2rem;
    background: #fff;
}

.case-study .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Header */
.case-study-header {
    text-align: center;
    margin-bottom: 4rem;
}

.project-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.project-category {
    font-size: 1.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* Full Width Image */
.case-study-image-full {
    margin: 4rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.case-study-image-full img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Study Sections */
.case-study-section {
    margin: 6rem 0;
}

.section-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content ul {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.section-content ul li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #000;
}

/* User Journey Flow */
.user-journey-section {
    margin: 6rem 0;
    padding: 4rem 2rem;
    background: #f5f5f5;
    border-radius: 12px;
}

.journey-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.journey-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.journey-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journey-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.journey-arrow {
    font-size: 2rem;
    font-weight: 300;
    color: #000;
    flex-shrink: 0;
}

/* Screenshots Grid */
.case-study-screenshots {
    margin: 6rem 0;
}

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

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 1.5rem;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Case Study CTA */
.case-study-cta {
    text-align: center;
    margin: 6rem 0 2rem;
}

/* Case Study Divider */
.case-study-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    margin: 8rem 0;
}

/* View Details Button - UPDATED to use ::after instead of ::before */
.view-details-btn-wrapper {
    text-align: center;
    margin: 3rem 0;
}

.view-details-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 2px solid #000;
    background: transparent;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}

.view-details-btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: right 0.4s ease;
    z-index: -1;
}

.view-details-btn * {
    position: relative;
    z-index: 1;
}

.view-details-btn:hover {
    color: #fff;
}

.view-details-btn:hover::after {
    right: 0;
}

.view-details-btn .btn-text-hide {
    display: none;
}

.view-details-btn.active .btn-text-show {
    display: none;
}

.view-details-btn.active .btn-text-hide {
    display: inline;
}

/* Collapsible Content */
.case-study-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.case-study-content.expanded {
    max-height: 10000px; /* Large enough to fit all content */
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .case-study-divider {
        display: none;
    }
    .case-study-hero {
        min-height: 50vh;
        padding: 4rem 1.5rem;
    }

    .case-study {
        padding: 4rem 1rem;
    }

    .case-study .container {
        padding: 0 0.5rem;
    }

    .journey-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .journey-arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .journey-step {
        min-width: 100%;
    }

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

    .user-journey-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .case-study-divider {
        display: none;
    }
    .case-study-section {
        margin: 4rem 0;
    }

    .section-content {
        font-size: 1rem;
    }

    .journey-step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
}



/* Legal Pages Styling */
.page-privacy-policy,
.page-terms-of-service {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}

.page-privacy-policy h1,
.page-terms-of-service h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-privacy-policy h2,
.page-terms-of-service h2 {
    font-size: 1.3rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-privacy-policy ul,
.page-terms-of-service ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-privacy-policy li,
.page-terms-of-service li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

