/* 
   iCaptain Landing Page Styles
*/

:root {
    --primary-color: #0066FF;
    /* Vibrant Tech Blue */
    --primary-dark: #004ecc;
    --secondary-color: #0F172A;
    /* Deep Navy/Black */
    --accent-color: #64748B;
    /* Cool Gray */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;

    --font-heading: 'Outfit', 'Pretendard', sans-serif;
    --font-body: 'Inter', 'Pretendard', sans-serif;

    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

.text-nowrap {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .text-nowrap {
        white-space: normal;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: keep-all;
    word-wrap: break-word;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 40px 0;
    /* Reduced padding */
    scroll-margin-top: 80px;
    /* Optimized for 80px header */
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.6rem;
    word-break: keep-all;
}

h2 {
    font-size: 2.0rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 0;
    /* Prevent global radius clipping */
}

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

.nav a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn.sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn.lg {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid #E2E8F0;
    margin-left: 10px;
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: #F8FAFC;
}

/* Hero Section */
.hero {
    position: relative;
    /* height: 100vh; */
    /* min-height: 700px; */
    padding-top: 120px;
    padding-bottom: 60px;
    background-color: #FFFFFF;
    /* Pure white background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-video,
.hero-overlay {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-shadow: none;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    max-width: 800px;
    text-align: left;
    padding-right: 0;
    position: relative;
    z-index: 10;
    /* Ensure text is on top */
}

.hero .badge {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border: none;
}

.hero h1 {
    color: var(--text-main);
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
    /* Use normal break to respect manual <br>, prevent keep-all from forcing wide blocks */
    word-break: normal;
    word-wrap: break-word;
    /* White halo for legibility */
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.hero p.hero-sub {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.hero p.hero-desc {
    color: var(--text-light);
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.hero .btn-secondary {
    border-color: #CBD5E1;
    color: var(--text-main);
}

.hero .btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.hero-image {
    display: block;
    flex: 1.5;
    /* Increased flex share */
    position: relative;
    z-index: 1;
    /* Lower than content */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center to allow full expansion */
    margin-left: -200px;
    /* Pull image left to overlap under text */
}

/* Add a soft white fading gradient on the left side of the image */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 05%;
    /* Mask only the very left edge */
    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-image img {
    width: 120%;
    max-width: 1600px;
    height: auto;
    object-fit: contain;
    transform: translateY(0%);
    animation: float 6s ease-in-out infinite;
    clip-path: inset(0 0 2% 0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Generic Section Styles */
.section-header {
    margin-bottom: 40px;
    /* Reduced margin */
}

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

.section-header p {
    font-size: 1.2rem;
}

/* Problem Section */
.problem {
    background-color: var(--bg-light);
    /* Changed to light gray to separate from Hero */
}

/* Main Wrapper */
.problem-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    /* Reduced gap */
}

.problem-image {
    flex: 1;
}

.problem-image img {
    width: 100%;
    /* Full width of column */
    /* Removed max-width restriction */
    height: auto;
    object-fit: contain;
}

.problem-text-group {
    flex: 1;
    max-width: 600px;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.problem-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon.warning {
    width: 30px;
    height: 30px;
    background-color: #FFE4E6;
    color: #E11D48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.problem-item h3 {
    font-size: 1.35rem;
    /* Standardized h3 size */
    margin-bottom: 8px;
    color: var(--text-main);
}

.problem-item p {
    font-size: 1.05rem;
    /* Standardized p size */
    color: var(--text-light);
}

/* Solution Section */
.solution {
    background-color: white;
    /* Alternating background: White */
    color: var(--text-main);
}

.solution-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Spread them out */
    gap: 40px;
    /* Reduced gap */
}

.solution-text {
    flex: 1;
    max-width: 600px;
}

.solution-text h2 {
    color: var(--text-main);
}

.solution-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
    /* Ensure consistency */
}

.solution-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.solution-item .icon-wrap {
    margin-top: 4px;
    /* Align icon with h4 title */
    flex-shrink: 0;
}

.solution-item .text-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.solution-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.solution-item p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.solution-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Align image to right */
    padding-left: 0;
    /* Remove previous padding */
}

.solution-image img {
    width: 100%;
    /* Full width of column */
    height: auto;
    object-fit: contain;
}

/* Core Features */
/* Core Features */
.core-features {
    background-color: var(--bg-light);
}

/* Main Wrapper */
.feature-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    /* Full width of column */
    height: auto;
    object-fit: contain;
}

.feature-text-group {
    flex: 1;
    max-width: 600px;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    /* Removed card styling to match Section 2/3 list style */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Removed hover effects */

.feature-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    /* Standardized h3 size */
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 1.05rem;
    /* Standardized p size */
    color: var(--text-light);
}

.feature-card h3 svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Main Wrapper for Section 5 */
.differentiation-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.diff-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.diff-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.diff-text-group {
    flex: 1;
    max-width: 600px;
}

.diff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Differentiation Section */
.differentiation {
    background-color: white;
    /* Alternating: White */
}

.diff-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.diff-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    /* Standardized h3 size */
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.diff-item p {
    font-size: 1.05rem;
    /* Standardized p size */
    color: var(--text-light);
}

.diff-item h3 svg {
    color: var(--primary-color);
    flex-shrink: 0;
}


/* Use Cases */
/* Use Cases */
.use-cases {
    background-color: var(--bg-light);
    /* Alternating: Gray */
}

/* Main Wrapper for Section 6 - SPLIT LAYOUT */
.use-case-split-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.use-case-col {
    flex: 1;
}

.center-col {
    flex: 1.2;
    /* Give image slightly more width */
    display: flex;
    justify-content: center;
}

.center-col img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.side-col {
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Spacing between vertical items */
}

/* Left Column Styling */
.left-align .use-case-card-side {
    align-items: flex-end;
    text-align: right;
    flex-direction: row-reverse;
}

.left-align .text-wrap {
    align-items: flex-end;
}

/* Right Column Styling */
.right-align .use-case-card-side {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
}

.right-align .text-wrap {
    align-items: flex-start;
}

/* Common Card Styling */
.use-case-card-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.text-wrap {
    display: flex;
    flex-direction: column;
}

.icon-wrap-side {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.use-case-card-side h3 {
    font-size: 1.35rem;
    /* Standardized h3 size */
    margin-bottom: 5px;
    color: var(--text-main);
}

.use-case-card-side p {
    font-size: 1.05rem;
    /* Standardized p size */
    color: var(--text-light);
    margin: 0;
}

.use-case-flow {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.use-case-flow img {
    max-width: 100%;
    width: 600px;
    /* Limit max size for clean look */
    height: auto;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.target-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
    border: 1px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.target-card:hover {
    transform: translateY(-5px);
    border-color: #E2E8F0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.target-card .icon-wrap {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Trusted By Section - Infinite Rolling */
.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 0px;
    /* Space between logos */
    width: max-content;
    animation: scroll 20s linear infinite;
    /* Adjust speed here */
}

.logo-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    /* Fixed width for consistent spacing */
}

.logo-item img,
.logo-item .sewol-logo {
    height: 24px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
    border-radius: 0 !important;
}

.logo-item:hover img,
.logo-item:hover .sewol-logo {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
        /* Move half way + half gap */
    }
}

/* Proof Section */
.proof {
    text-align: center;
    background-color: var(--bg-white);
}

/* Proof Grid - 4 Columns Standard */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 items per row */
    gap: 20px;
    margin: 0 auto 50px;
    max-width: 1400px;
}

.proof-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    /* Stack Vertical again */
    border: 1px solid #e2e8f0;
    height: 100%;
    /* Fill height */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.proof-img-box {
    width: 100%;
    /* Full width */
    height: 180px;
    /* Consistent thumbnail height */
    flex-shrink: 0;
    background-color: #ffffff;
    /* White background */
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full image */
    padding: 0;
    /* Maximize size */
    transition: transform 0.3s ease;
}

.proof-card:hover .proof-img-box img {
    transform: scale(1.05);
}

.proof-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

/* ... (middle unrelated skipped) ... */

/* Client Logo Wrapper adjustments */
/* Year Badge: Top Left */
/* Year Badge: Top Left Corner Snap */
.proof-year {
    position: absolute;
    top: 0;
    /* Snap to top */
    left: 0;
    /* Snap to left */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.98);
    padding: 8px 16px;
    border-radius: 0 0 12px 0;
    /* Only round bottom-right */
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Company Logo Badge: Bottom Right Corner Snap */
.company-logo-badge {
    position: absolute;
    top: auto;
    bottom: 0;
    /* Snap to bottom */
    right: 0;
    /* Snap to right */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100px;
    height: 36px;
    padding: 4px;
    border-radius: 12px 0 0 0;
    /* Only round top-left */
    box-shadow: -2px -2px 6px rgba(0, 0, 0, 0.05);
    /* Shadow pointing up-left */
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.company-logo-badge img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* Adjust Sewol Logo in badge */
.company-logo-badge .sewol-logo {
    transform: scale(0.7);
    /* Scale down for smaller box */
    transform-origin: center;
    margin: 0;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1200px) {
    .proof-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .proof-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .proof-img-box {
        height: 200px;
        /* Taller image on mobile */
    }
}

.proof-card:hover .proof-img-box img {
    transform: scale(1.05);
}

.proof-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.proof-year {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    margin: 0;
}

.proof-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.proof-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

.proof-footer {
    margin-top: 50px;
}

.proof-footer p {
    font-size: 1.3rem;
    color: var(--text-main);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: #F1F5F9;
    color: var(--primary-dark);
}

.cta .btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin-left: 0;
    /* Reset default margin if any */
}

.cta .btn-secondary:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.contact-info .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-contact {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.footer-contact .sep {
    color: #64748B;
    margin: 0 8px;
}

.copyright {
    color: #64748B;
    font-size: 0.9rem;
}

.footer-links a {
    color: #64748B;
    font-size: 0.9rem;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children if needed */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-container,
    .solution-wrapper,
    .differentiation-wrapper,
    .use-case-split-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    /* Reverse order for Text-first on Mobile */
    .problem-wrapper,
    .feature-wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }

    /* Reset Use Case Alignment on Mobile */
    .left-align .use-case-card-side,
    .right-align .use-case-card-side {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .left-align .text-wrap,
    .right-align .text-wrap {
        align-items: flex-start;
    }

    .use-case-col.side-col {
        width: 100%;
        gap: 20px;
    }

    .center-col img {
        max-width: 300px;
        /* Smaller image on mobile */
    }

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

    /* Hero Image Reset for Mobile */
    .hero-image {
        margin-left: 0;
        width: 100%;
        margin-top: 30px;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        transform: scale(1);
    }

    /* Center image containers on mobile */
    .problem-image,
    .solution-image,
    .feature-image,
    .diff-image {
        justify-content: center;
        width: 100%;
        display: flex;
    }

    /* Unified Image Sizing on Mobile */
    .problem-image img,
    .solution-image img,
    .feature-image img,
    .diff-image img {
        width: 100%;
        max-width: 480px;
        /* Consistent max width */
        height: auto;
        margin: 0 auto;
        /* Center block if not flex */
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--secondary-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Menu Active State */
    .nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        /* Below header */
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #eee;
        gap: 15px;
        animation: slideDown 0.3s ease-out;
        z-index: 999;
    }

    .nav.mobile-active .btn {
        width: 100%;
        text-align: center;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .diff-text-grid,
    .target-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: 1fr !important;
    }

    .cta-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .cta-actions .btn {
        width: 100% !important;
    }
}