:root {
    --primary: #1c1917;
    --secondary: #44403c;
    --accent-red: #dc2626;
    --accent-green: #059669;
    --bg-stone: #f5f5f4;
    --text-stone: #1c1917;
    --text-muted: #78716c;
    --card-bg: #fff;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

.mockup-content.video-mode {
    padding: 0;
    background: #000;
}

.hero-video-full {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-stone);
    color: var(--text-stone);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #000;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 245, 244, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(28, 25, 23, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 8px;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    font-family: var(--font-mono);
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

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

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(28, 25, 23, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.highlight {
    background: linear-gradient(120deg, #fce7f3 0%, #fce7f3 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
}

.stat-highlight {
    font-weight: 900;
    color: var(--primary);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, #fef08a 45%);
    padding: 0 0.1em;
    display: inline-block;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.meta-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-style: italic;
    text-align: center;
}

/* Mockup Frame */
.hero-visual {
    display: flex;
    justify-content: center;
}

.app-frame {
    width: 320px;
    height: 640px;
    background: #fff;
    border-radius: 54px;
    padding: 5px;
    box-shadow:
        0 0 0 2px #1c1917,
        0 20px 50px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    border: none;
    overflow: hidden;
}

.mockup-header {
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 20;
    pointer-events: none;
}

.dot {
    display: none;
}

.mockup-content {
    background: #fff;
    height: 100%;
    border-radius: 44px;
    overflow: hidden;
    font-family: var(--font-mono);
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.receipt-header {
    text-align: center;
    border-bottom: 1px dashed #d6d3d1;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.receipt-title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.receipt-date {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.mascot-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-logo-main {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.receipt-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.r-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.productive {
    color: var(--accent-green);
    font-weight: 700;
}

.receipt-footer {
    border-top: 2px dashed var(--primary);
    padding-top: 12px;
    margin-top: 12px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.total-row.net {
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 8px;
}

.loss {
    background: var(--accent-red);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.zig-zag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: #fff;
    clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%, 100% 100%, 0% 100%);
}

/* Features */
.features {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    padding-bottom: 3.5rem;
    background: #fff;
    border-radius: 0;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-family: var(--font-mono);
}

.feature-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.feature-card:nth-child(even) {
    transform: rotate(1deg) translateY(10px);
}

.feature-card:hover {
    transform: translateY(-15px) rotate(0deg) scale(1.05) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: #fff;
    clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%, 100% 100%, 0% 100%);
}

.f-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-weight: 900;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.f-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.f-divider {
    border-bottom: 1px dashed #d6d3d1;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--primary);
    color: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.p-header {
    padding: 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.p-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    background: #fff;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.p-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.7;
}

.amount {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.p-body {
    padding: 3rem;
}

.p-body ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.p-body li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.p-body li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: 900;
}

.p-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid rgba(28, 25, 23, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo-text {
    display: block;
    margin-bottom: 0;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

.footer-credit {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.credit-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credit-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.credit-link:hover {
    color: var(--accent-red);
}

.footer-links-group {
    display: flex;
    gap: 1.5rem;
}

.footer-links-group a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-bottom {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
}

/* Screenshot Showcase Sections */
.screenshot-section {
    padding: 120px 0;
    overflow: hidden;
}

.screenshot-section:nth-child(even) {
    background: #fff;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.screenshot-section.reverse .screenshot-grid {
    direction: rtl;
}

.screenshot-section.reverse .screenshot-text {
    direction: ltr;
}

.screenshot-text h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.screenshot-text p {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.app-screenshot {
    width: 100%;
    max-width: 380px;
    border-radius: 50px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border: 2px solid #1c1917;
    margin: 0 auto;
    display: block;
    transition: transform 0.5s ease;
}

.screenshot-section:hover .app-screenshot {
    transform: scale(1.02) rotate(1deg);
}

.screenshot-section.reverse:hover .app-screenshot {
    transform: scale(1.02) rotate(-1deg);
}

/* Carousel / Card Stack */
.screenshot-carousel {
    position: relative;
    cursor: pointer;
    user-select: none;
    max-width: 380px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.screenshot-carousel .app-screenshot {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center center;
}

.screenshot-carousel .app-screenshot:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.9) translateY(20px) rotate(2deg);
    pointer-events: none;
    z-index: 1;
}

.screenshot-carousel .app-screenshot.active {
    position: relative;
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
    pointer-events: auto;
    z-index: 10;
}

.carousel-instructions {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.indicator {
    width: 12px;
    height: 4px;
    background: rgba(28, 25, 23, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    width: 24px;
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-red);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .screenshot-section.reverse .screenshot-grid {
        direction: ltr;
    }

    .app-screenshot {
        max-width: 300px;
    }

    .screenshot-text h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .hero-actions {
        margin: 0 auto;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    h1 {
        font-size: 2.75rem;
    }

    nav {
        display: none;
    }
}