/* ===== Our Values Page — ZSM Digital ===== */

:root {
    --bg-color: #050505;
    --card-bg-top: #0a0a0b;
    --card-bg-bottom: #111113;
    --accent-glow: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-color: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* ===== Navbar (shared) ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; width: 100%;
    background: rgba(5, 5, 5, 0.85);
    padding: 16px 40px;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}
.logo { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 600; font-size: 16px; }
.logo-icon { width: 32px; height: 32px; background: url('/static/images/logo.png') center/contain no-repeat; filter: brightness(1.2); }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { color: #999; text-decoration: none; font-weight: 400; font-size: 14px; transition: all 0.3s ease; letter-spacing: 0.01em; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-buttons { display: flex; align-items: center; gap: 16px; }
.login-btn { color: #999; text-decoration: none; font-weight: 400; font-size: 14px; transition: color 0.3s ease; }
.login-btn:hover { color: white; }
.signup-btn { background: white; color: #000; padding: 10px 22px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 14px; transition: all 0.3s ease; }
.signup-btn:hover { background: #e5e5e5; transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
    min-height: 55vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
    position: relative;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px; font-size: 13px; color: #999;
    margin-bottom: 40px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }
.hero h1 { font-size: 4rem; font-weight: 300; margin-bottom: 24px; line-height: 1.1; color: white; letter-spacing: -0.03em; font-style: italic; }
.hero h1 strong { font-weight: 400; }
.hero p { font-size: 1.1rem; color: #666; max-width: 620px; margin: 0 auto; line-height: 1.6; font-weight: 400; }

/* ===== Shared Typography ===== */
.highlight { font-weight: 300; font-style: italic; }
h2 { font-size: 2.5rem; font-weight: 400; letter-spacing: -0.02em; }
.section-subtitle { color: #888; font-size: 1rem; margin-top: 12px; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Values Intro ===== */
.values-intro { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.values-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.values-intro-text h2 { margin-bottom: 30px; }
.values-intro-text p { font-size: 1rem; color: #888; line-height: 1.7; margin-bottom: 20px; }
.values-intro-visual {
    background: rgba(255, 255, 255, 0.02); border-radius: 16px; padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06); text-align: center;
    min-height: 320px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.intro-visual-content { position: relative; z-index: 2; }
.intro-icon {
    width: 80px; height: 80px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.values-intro-visual h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 10px; }
.values-intro-visual p { color: #666; font-size: 0.9rem; }

/* ===== Core Values Grid ===== */
.core-values { padding: 100px 20px; max-width: 1400px; margin: 0 auto; text-align: center; }
.core-values-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    margin-top: 60px; text-align: left;
}
.core-value-card {
    background: rgba(255, 255, 255, 0.02); border-radius: 16px;
    padding: 36px 30px; border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(24px);
}
.core-value-card.animate { opacity: 1; transform: translateY(0); }
.core-value-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-6px); }
.core-value-card.animate:hover { transform: translateY(-6px); }
.core-value-number {
    position: absolute; top: 20px; right: 24px;
    font-size: 3.5rem; font-weight: 700; color: rgba(255, 255, 255, 0.03);
    line-height: 1; pointer-events: none;
}
.core-value-icon {
    width: 56px; height: 56px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.core-value-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.core-value-card p { color: #888; line-height: 1.65; font-size: 0.92rem; margin-bottom: 20px; }
.core-value-tag {
    display: inline-block; padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px; font-size: 0.75rem; color: #666;
    text-transform: uppercase; letter-spacing: 0.08em;
}

/* ===== Diagram Placeholders ===== */
.values-diagram-section,
.process-diagram-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.values-diagram-section { padding: 60px 20px; }
.values-diagram-section .diagram-img-wrap { max-width: 480px; }
.diagram-img-wrap {
    margin: 40px auto 0; max-width: 900px;
    border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.diagram-img-wrap:hover {
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}
.diagram-img-wrap img { display: block; width: 100%; height: auto; }

/* ===== Values in Action ===== */
.values-in-action { padding: 100px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; text-align: left; }
.action-card {
    background: rgba(255, 255, 255, 0.02); border-radius: 16px;
    padding: 36px 30px; border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0; transform: translateY(24px);
}
.action-card.animate { opacity: 1; transform: translateY(0); }
.action-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-4px); }
.action-card.animate:hover { transform: translateY(-4px); }
.action-icon {
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.05); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.action-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.action-card p { color: #888; line-height: 1.6; font-size: 0.9rem; }

/* ===== Process Steps ===== */
.process-steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; margin: 60px auto 0; max-width: 1100px; flex-wrap: nowrap;
}
.process-step {
    flex: 1; text-align: center; padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px; position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0; transform: translateY(24px);
}
.process-step.animate { opacity: 1; transform: translateY(0); }
.process-step:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-4px); }
.process-step.animate:hover { transform: translateY(-4px); }
.step-number {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 1rem; font-weight: 600; color: #fff;
}
.step-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.step-content p { color: #888; font-size: 0.85rem; line-height: 1.6; }
.step-value-tag {
    display: inline-block; margin-top: 16px; padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px; font-size: 0.7rem; color: #666;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.process-connector {
    width: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center;
    position: relative; align-self: center;
}
.process-connector::after {
    content: ''; width: 100%; height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06));
}

/* ===== Commitment Section ===== */
.commitment-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.commitment-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.commitment-text h2 { margin-bottom: 24px; }
.commitment-text p { color: #888; font-size: 1rem; line-height: 1.7; margin-bottom: 40px; }
.commitment-stats { display: flex; gap: 40px; }
.commitment-stat {
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateY(16px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.commitment-stat.animate { opacity: 1; transform: translateY(0); }
.commitment-number { font-size: 2rem; font-weight: 600; color: #fff; }
.commitment-label { color: #666; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.commitment-visual { display: flex; align-items: center; justify-content: center; }
.commitment-visual .diagram-img-wrap { width: 100%; margin-top: 0; }

/* ===== CTA Section ===== */
.cta-section {
    background: rgba(255, 255, 255, 0.02); margin: 80px 20px;
    padding: 60px 40px; border-radius: 20px; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 900px; margin-left: auto; margin-right: auto;
}
.cta-section h2 { font-size: 2rem; font-weight: 400; margin-bottom: 16px; }
.cta-section p { color: #888; margin-bottom: 36px; font-size: 1rem; }
.cta-btn {
    background: white; color: #000; padding: 14px 28px; border-radius: 8px;
    text-decoration: none; font-weight: 500; font-size: 14px;
    transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block;
}
.cta-btn:hover { background: #e5e5e5; transform: translateY(-2px); }

/* ===== Footer ===== */
.footer {
    background: rgba(0, 0, 0, 0.4); padding: 60px 20px 30px;
    margin-top: 80px; border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-section h4 { font-weight: 500; margin-bottom: 18px; font-size: 0.9rem; color: #fff; }
.footer-section a, .footer-section p { color: #666; text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.85rem; transition: color 0.3s ease; }
.footer-section a:hover { color: #999; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: #555; font-size: 0.85rem; }

/* ===== Mobile Menu ===== */
.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 8px; border-radius: 8px; transition: all 0.3s ease; }
.hamburger:hover { background: rgba(255, 255, 255, 0.05); }
.hamburger span { width: 20px; height: 2px; background: white; margin: 3px 0; transition: all 0.3s ease; border-radius: 2px; transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
    display: none; position: absolute; top: calc(100% + 10px); left: 20px; right: 20px;
    background: rgba(10, 10, 12, 0.98); border-radius: 16px; padding: 24px 20px;
    backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0; transform: translateY(-10px); transition: all 0.3s ease;
}
.mobile-menu.active { display: block; opacity: 1; transform: translateY(0); }
.mobile-nav-links { list-style: none; margin-bottom: 20px; }
.mobile-nav-links a { color: #999; text-decoration: none; font-weight: 400; font-size: 15px; display: block; padding: 12px 16px; border-radius: 10px; transition: all 0.3s ease; }
.mobile-nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.mobile-buttons { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.mobile-buttons .login-btn { text-align: center; padding: 12px 20px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: #999; border: 1px solid rgba(255, 255, 255, 0.08); transition: all 0.3s ease; font-weight: 400; }
.mobile-buttons .login-btn:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.mobile-buttons .signup-btn { text-align: center; padding: 12px 20px; border-radius: 8px; background: white; color: #000; border: none; transition: all 0.3s ease; font-weight: 500; }
.mobile-buttons .signup-btn:hover { background: #e5e5e5; }
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.mobile-overlay.active { display: block; opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .navbar { padding: 14px 20px; }
    .nav-links, .nav-buttons { display: none; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.8rem; }
    .values-intro-inner { grid-template-columns: 1fr; gap: 40px; }
    .core-values-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .action-grid { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; gap: 12px; }
    .process-connector { width: 100%; height: 24px; min-width: unset; }
    .process-connector::after { width: 1px; height: 100%; }
    .commitment-inner { grid-template-columns: 1fr; gap: 40px; }
    .commitment-stats { justify-content: center; }
}

@media (max-width: 600px) {
    .hero { padding: 120px 20px 60px; }
    .hero h1 { font-size: 2.2rem; }
    .core-values-grid { grid-template-columns: 1fr; }
    .commitment-stats { flex-direction: column; align-items: center; gap: 24px; }
    .cta-section { margin: 60px 10px; padding: 40px 20px; }
    .diagram-img-wrap { border-radius: 14px; }
    h2 { font-size: 2rem; }
}
