/* Shift Product Page - Light Theme Overrides */
:root {
    --shift-bg: #ffffff;
    --shift-bg-alt: #f8f9fa;
    --shift-text: #1a1a1a;
    --shift-text-dim: #555555;
    --shift-primary: #0066FF; /* Blue for trust/tech */
    --shift-accent: #00C2FF;
    --shift-border: #e1e4e8;
}

body.shift-page {
    background-color: var(--shift-bg) !important;
    color: var(--shift-text) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Hide main site background elements */
.shift-page .glow-bg,
.shift-page #canvas-container {
    display: none !important;
}

header.scrolled {
    background-color: transparent !important;
}

/* Navigation */
.shift-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shift-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Reduced space */
    font-weight: 700;
    font-size: 1.3rem; /* Slightly smaller to fit pill */
    color: #fff; /* Light text */
    text-decoration: none;
    letter-spacing: -0.5px;
    background: #1a1a1a; /* Dark background */
    padding: 0.4rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.shift-logo:hover {
    transform: translateY(-1px);
    background: #000;
}

.shift-logo img {
    height: 24px; /* Adjusted size */
    width: auto;
}

.shift-links {
    display: flex;
    gap: 2rem;
}

.shift-links a {
    color: var(--shift-text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.shift-links a:hover {
    color: var(--shift-primary);
}

.btn-sm-download {
    background: var(--shift-text);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-sm-download:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Hero Section */
.shift-hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden; /* Keep standard overflow */
}

/* ... Mesh styles kept same ... */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Text 1fr, Image slightly wider */
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    /* Kept same */
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 102, 255, 0.08);
    color: var(--shift-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.shift-hero h1 {
    font-size: 3.8rem; /* Slightly reduced for split layout */
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.1;
    letter-spacing: -2px;
    -webkit-text-fill-color: #000000;
}

.shift-hero p {
    font-size: 1.25rem;
    color: var(--shift-text-dim);
    margin: 0 0 2.5rem 0; /* Align left */
    line-height: 1.6;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align left */
    gap: 1rem;
}

/* 3D Wrapper */
.hero-3d-wrapper {
    position: relative;
    /* 3D Effect on the Group */
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    transform-style: preserve-3d; /* Important for children depth */
}

.hero-3d-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Screenshot styling */
.shift-screenshot-container {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid var(--shift-border);
    position: relative;
    background: #fff;
    /* Removed individual transform */
}

.shift-screenshot-placeholder {
    width: 100%;
    height: auto;
    min-height: 300px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 700px;
    }
    
    .shift-hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-cta-group {
        align-items: center;
    }

    .shift-hero h1 {
        font-size: 3rem;
    }

    .hero-3d-wrapper {
        transform: none !important; /* Remove 3D on mobile */
    }
    
    .code-snippet-card {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 90%; /* Responsive width */
        min-width: auto; /* Remove fixed min-width */
        margin: -2rem auto 0; /* Center and overlap slightly */
        z-index: 10;
        transform: translateY(10px) !important;
        font-size: 0.8rem; /* Smaller font */
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
}

/* Code Snippet Styles */
.hero-image-col {
    position: relative;
    display: flex;
    align-items: center;
}

.code-snippet-card {
    position: absolute;
    bottom: -40px;
    background: #0f111a; /* Dark terminal bg */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Distinct border */
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    font-family: 'Fira Code', 'Roboto Mono', monospace;
    font-size: 0.95rem;
    color: #e6e6e6;
    z-index: 5;
    min-width: 340px;
    /* Float slightly in front */
    transform: translateZ(50px);
    transition: border-color 0.3s ease;
    overflow: auto;
}

.hero-3d-wrapper:hover .code-snippet-card {
    border-color: var(--shift-primary);
}

.code-line {
    margin-bottom: 0.3rem;
    white-space: nowrap;
}

.code-line:last-child {
    margin-bottom: 0;
}

/* Syntax Highlighting */
.c-purple { color: #c678dd; }
.c-blue { color: #61afef; }
.c-yellow { color: #d19a66; }
.c-comment { color: #5c6370; font-style: italic; }

/* Features Grid */
.shift-features {
    padding: 5rem 0;
    background: var(--shift-bg-alt);
}

.shift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--shift-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--shift-primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shift-primary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--shift-text);
}

.feature-card p {
    color: var(--shift-text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Override */
.shift-footer {
    background: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--shift-border);
    text-align: center;
}

.created-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--shift-text-dim);
    font-size: 1.1rem;
}

.codend-mini-logo {
    height: 24px;
    width: auto;
}

@media (max-width: 768px) {
    .shift-hero h1 {
        font-size: 2.5rem;
    }
}

/* Light Theme Footer Overrides */
.shift-page .footer-card {
    background: #ffffff !important;
    border-top: 1px solid var(--shift-border);
}

.shift-page .footer-card h4,
.shift-page .footer-card p,
.shift-page .footer-card li,
.shift-page .footer-card a {
    color: var(--shift-text) !important;
}

.shift-page .footer-card a:hover {
    color: var(--shift-primary) !important;
}

.shift-page .footer-brand p {
    color: var(--shift-text-dim) !important;
}

/* Override inline white color for 'end' in logo */
.shift-page .footer-brand span[style] {
    color: var(--shift-text) !important;
}

.shift-page .currency-switcher select {
    background: #f1f5f9 !important;
    color: var(--shift-text) !important;
    border-color: #e2e8f0 !important;
}

.shift-page .currency-switcher option {
    background: #ffffff !important;
    color: var(--shift-text) !important;
}

.shift-page .footer-bottom p {
    color: var(--shift-text-dim) !important;
}
