/* ================================
   Q-Align Multi-Page Website Styles
   ================================ */

/* ================================
   Site Header & Navigation
   ================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.site-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--card-radius);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(132, 93, 222, 0.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-start {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    text-decoration: none;
    border-radius: var(--card-radius);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-start:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* Mobile actions - hidden by default on desktop */
.mobile-actions {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px;
        background: #ffffff;
        z-index: 9999;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        display: block;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }

    .nav-link {
        display: block;
        padding: 16px;
        font-size: 16px;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu li:last-of-type .nav-link {
        border-bottom: none;
    }

    .header-actions {
        display: none;
    }

    .nav-menu.active .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-actions .btn-start {
        display: block;
        text-align: center;
        padding: 14px 24px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    }

    .nav-menu.active .mobile-actions .btn-start {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.3s;
    }
}

/* ================================
   Site Footer
   ================================ */

.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 28px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Footer Mobile */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 60px 24px 24px;
    }

    .footer-container {
        padding: 0;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-top: 24px;
    }
}

/* ================================
   Page Hero (Subpages)
   ================================ */

.page-hero {
    padding: 140px 0 80px;
    background: #ffffff;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 16px;
    }
}

/* ================================
   Page Section (Generic)
   ================================ */

.page-section {
    padding: 80px 0;
}

.page-section.bg-light {
    background: #f8f8f8;
}

.page-section.bg-dark {
    background: var(--bg-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Pricing Components
   ================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--card-radius);
    padding: 32px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.popular::before {
    content: '가장 인기';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--card-radius);
}

.pricing-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
}

.pricing-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-medium);
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ================================
   Feature Cards (Product Page)
   ================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    display: flex;
    gap: 24px;
    background: white;
    border: 1px solid #eee;
    border-radius: var(--card-radius);
    padding: 32px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(132, 93, 222, 0.08);
    border-radius: var(--card-radius);
    color: var(--primary-color);
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

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

/* ================================
   Feature Demo Screenshots
   ================================ */

.feature-demo {
    margin: 48px 0;
    text-align: center;
}

.demo-frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.demo-frame::before {
    content: '';
    display: block;
    height: 32px;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
    border-bottom: 1px solid #ddd;
    position: relative;
}

.demo-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 16px;
    width: 12px;
    height: 12px;
    background: #ff5f57;
    border-radius: 50%;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #28ca42;
}

.demo-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Placeholder when image doesn't exist */
.demo-frame.demo-placeholder img {
    display: none;
}

.demo-placeholder-text {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 80px 24px;
    background: #f8f8f8;
    color: #999;
}

.demo-frame.demo-placeholder .demo-placeholder-text {
    display: flex;
}

.demo-placeholder-text svg {
    opacity: 0.5;
}

.demo-placeholder-text span {
    font-size: 14px;
    font-weight: 500;
}

.demo-placeholder-text .demo-size {
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
}

@media (max-width: 768px) {
    .feature-demo {
        margin: 32px 0;
    }

    .demo-frame {
        border-radius: 8px;
    }

    .demo-placeholder-text {
        padding: 60px 16px;
    }
}

/* Demo Gallery Grid - Multiple images */
.demo-gallery {
    display: grid;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

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

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

.demo-gallery .demo-frame {
    max-width: 100%;
}

.demo-gallery .demo-placeholder-text {
    padding: 60px 16px;
}

.demo-gallery .demo-placeholder-text .demo-size {
    font-size: 11px;
}

@media (max-width: 900px) {
    .demo-gallery.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .demo-gallery.cols-2,
    .demo-gallery.cols-3 {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Demo Carousel
   ================================ */

.demo-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-slide {
    flex: 0 0 60%;
    padding: 0 16px;
    opacity: 0.5;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-sizing: border-box;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide .demo-frame {
    max-width: 100%;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn svg {
    color: #333;
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot:hover {
    background: #bbb;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Carousel Responsive */
@media (max-width: 1000px) {
    .carousel-slide {
        flex: 0 0 75%;
    }
    .carousel-prev {
        left: 10px;
    }
    .carousel-next {
        right: 10px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 85%;
        padding: 0 8px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ================================
   Use Case Cards
   ================================ */

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--card-radius);
    padding: 32px;
    transition: all 0.25s ease;
}

.usecase-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow-hover);
}

.usecase-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.usecase-icon svg {
    width: 32px;
    height: 32px;
}

.usecase-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

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

/* ================================
   Contact Form
   ================================ */

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: var(--card-radius);
    background: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* ================================
   Team/About Components
   ================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f0f0f0;
    margin: 0 auto 16px;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

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

/* ================================
   Value Proposition Cards (Home)
   ================================ */

.value-props-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 24px;
}

.value-props-grid .value-prop-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.value-prop-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--card-radius);
    padding: 28px;
    text-align: center;
    transition: all 0.25s ease;
}

.value-prop-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.value-prop-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.value-prop-icon svg {
    width: 32px;
    height: 32px;
}

.value-prop-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-prop-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .value-props-grid {
        flex-wrap: wrap;
    }
    .value-props-grid .value-prop-card {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .value-props-grid .value-prop-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* ================================
   Social Proof Section
   ================================ */

.social-proof {
    text-align: center;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    opacity: 0.6;
}

.client-logos img {
    height: 32px;
    filter: grayscale(100%);
    transition: all 0.2s ease;
}

.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-medium);
}

@media (max-width: 600px) {
    .stats-row {
        flex-direction: column;
        gap: 32px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* ================================
   Testimonials
   ================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--card-radius);
    padding: 32px;
}

.testimonial-quote {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 2px 0;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

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

/* ================================
   Sticky Cards Stack (About Page)
   ================================ */

.cards-stack-container {
    perspective: 1000px;
}

.cards-stack-wrapper {
    position: relative;
    padding: 24px 0;
}

.card-sticky {
    position: sticky;
    backface-visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sticky:nth-child(1) { top: 100px; z-index: 1; }
.card-sticky:nth-child(2) { top: 120px; z-index: 2; }
.card-sticky:nth-child(3) { top: 140px; z-index: 3; }

.value-card-stack {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--card-radius);
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
}

.value-card-stack:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.value-card-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.15;
    line-height: 1;
    min-width: 80px;
}

.value-card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card-content .value-subtitle {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 16px;
}

.value-card-content p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

/* Two Column Layout for About */
.about-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-split-left {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.about-split-left h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-split-left p {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-split-left {
        position: relative;
        top: 0;
    }

    .cards-stack-container {
        min-height: auto;
    }

    .card-sticky {
        position: relative;
        top: 0 !important;
    }

    .value-card-stack {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .value-card-number {
        font-size: 48px;
    }

    .value-card-content h3 {
        font-size: 20px;
    }
}

/* ================================
   Page Specific Adjustments
   ================================ */

/* Adjust hero padding when header is present */
body.has-header .hero {
    padding-top: 160px;
}

body.has-header .page-hero {
    padding-top: 140px;
}
