:root {
    --bg-page: #FAFAFA;
    --bg-card: #FFFFFF;
    --text-main: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-muted: #86868B;
    --primary: #10B981;
    --primary-hover: #059669;
    --shadow-subtle: 0 2px 15px rgba(0,0,0,0.03);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-deep: 0 30px 80px -10px rgba(0,0,0,0.12);
}

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

body {
    background-color: var(--bg-page);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; color: var(--text-main); }

h1 { font-size: 80px; line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 24px; }
h2 { font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }

p {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
}

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

.main-header {
    background: var(--bg-page);
    padding: 32px 0 16px;
}

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

.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.nav-link,
.link-login {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.nav-link:hover,
.link-login:hover {
    color: var(--text-main);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-start;
    padding: 60px 0 140px;
}

.hero-sub {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

.link-secondary {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.link-secondary:hover {
    border-bottom-color: var(--text-main);
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
}

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

.hero-visual {
    position: relative;
    width: min(640px, 48vw);
}

.hero-visual .demo-card {
    width: 100%;
}

.demo-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    transform: perspective(2000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .demo-card { transform: perspective(2000px) rotateY(0deg) rotateX(0deg); }

.demo-screen {
    width: 100%; height: 100%;
    background: #1D1D1F;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.demo-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.demo-screen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.video-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0, 0, 0, 0.55);
}

.section-features {
    padding: 100px 0;
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: var(--shadow-subtle);
    margin: -80px auto 100px;
    max-width: 1200px;
}

.section-inner { padding: 0 60px; }

.section-header { margin-bottom: 60px; text-align: left; }

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

.feature-card {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.card-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--text-main); letter-spacing: -0.01em; }
.card-body { font-size: 16px; color: var(--text-secondary); line-height: 1.6; }

.section-dark {
    background: #000000;
    color: #F5F5F7;
    padding: 140px 0;
}

.section-dark h2 { color: #F5F5F7; text-align: center; margin-bottom: 80px; }

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

.dark-card {
    background: #111111;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #222;
}
.dark-card:hover { background: #161616; }

.dark-card .card-title { color: #FFFFFF; font-size: 18px; margin-bottom: 12px; font-weight: 600; }
.dark-card .card-body { color: #86868B; font-size: 15px; line-height: 1.6; }

.section-bottom {
    padding: 120px 0 60px;
    background: #FAFAFA;
    text-align: center;
}

.ready-title { font-size: 48px; margin-bottom: 40px; letter-spacing: -0.02em; }

.section-bottom .cta-group { justify-content: center; }

.footer {
    margin-top: 120px;
    border-top: 1px solid #E5E5E5;
    padding-top: 40px;
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-direction: column;
}

.footer-link { color: var(--text-main); text-decoration: none; font-weight: 500; }

.site-footer {
    padding: 32px 0 48px;
    background: var(--bg-page);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.site-footer a { color: var(--primary); font-weight: 600; }

.video-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 7, 11, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
}

.video-modal__dialog {
    position: relative;
    width: min(960px, 90vw);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 24px;
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    z-index: 1;
}

.video-modal__player {
    width: 100%;
    height: 100%;
}

.video-modal__player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
}

.video-modal__close:hover {
    background: rgba(15, 23, 42, 1);
}

@media (max-width: 900px) {
    h1 { font-size: 48px; }
    .hero-wrapper { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero-sub { margin: 0 auto 32px; }
    .hero-bullets { align-items: center; margin-bottom: 40px; }
    .cta-group { justify-content: center; }
    .hero-visual { width: 100%; max-width: 400px; margin: 0 auto; }
    .balanced-grid { grid-template-columns: 1fr; gap: 40px; }
    .dark-grid { grid-template-columns: 1fr; gap: 24px; }
    .section-inner { padding: 0 24px; }
}
