:root {
    --bg-color: #F4EFE6;
    --text-color: #2D2A26;
    --accent-color: #CC553C;
    --card-color: #FFFFFF;
    
    --font-heading: 'Newsreader', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    color: var(--text-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-color);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-secondary {
    font-weight: 600 !important;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-align: center;
}

.btn-primary.glow {
    box-shadow: 0 10px 25px rgba(204, 85, 60, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(204, 85, 60, 0.45);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 100px);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 85, 60, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 540px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(204, 85, 60, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent-color);
    font-style: italic;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(45, 42, 38, 0.65);
    margin-bottom: 40px;
    max-width: 420px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(45, 42, 38, 0.5);
    font-weight: 500;
}

/* Hero Visual (Marquee) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
}

.stamp-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.stamp-track {
    display: inline-flex;
    gap: 40px;
    animation: marquee 25s linear infinite;
    padding: 30px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reusable Stamp Styles (used in marquee) */
.stamp {
    background: white;
    padding: 10px;
    width: 140px;
    height: 168px; /* 1:1.2 aspect ratio */
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Precise SVG path for perforations on edges */
    clip-path: path('M 0 0 L 8.4 0 A 5.6 5.6 0 0 0 19.6 0 L 22.4 0 A 5.6 5.6 0 0 0 33.6 0 L 36.4 0 A 5.6 5.6 0 0 0 47.6 0 L 50.4 0 A 5.6 5.6 0 0 0 61.6 0 L 64.4 0 A 5.6 5.6 0 0 0 75.6 0 L 78.4 0 A 5.6 5.6 0 0 0 89.6 0 L 92.4 0 A 5.6 5.6 0 0 0 103.6 0 L 106.4 0 A 5.6 5.6 0 0 0 117.6 0 L 120.4 0 A 5.6 5.6 0 0 0 131.6 0 L 140 0 L 140 8.4 A 5.6 5.6 0 0 0 140 19.6 L 140 22.4 A 5.6 5.6 0 0 0 140 33.6 L 140 36.4 A 5.6 5.6 0 0 0 140 47.6 L 140 50.4 A 5.6 5.6 0 0 0 140 61.6 L 140 64.4 A 5.6 5.6 0 0 0 140 75.6 L 140 78.4 A 5.6 5.6 0 0 0 140 89.6 L 140 92.4 A 5.6 5.6 0 0 0 140 103.6 L 140 106.4 A 5.6 5.6 0 0 0 140 117.6 L 140 120.4 A 5.6 5.6 0 0 0 140 131.6 L 140 134.4 A 5.6 5.6 0 0 0 140 145.6 L 140 148.4 A 5.6 5.6 0 0 0 140 159.6 L 140 168 L 131.6 168 A 5.6 5.6 0 0 0 120.4 168 L 117.6 168 A 5.6 5.6 0 0 0 106.4 168 L 103.6 168 A 5.6 5.6 0 0 0 92.4 168 L 89.6 168 A 5.6 5.6 0 0 0 78.4 168 L 75.6 168 A 5.6 5.6 0 0 0 64.4 168 L 61.6 168 A 5.6 5.6 0 0 0 50.4 168 L 47.6 168 A 5.6 5.6 0 0 0 36.4 168 L 33.6 168 A 5.6 5.6 0 0 0 22.4 168 L 19.6 168 A 5.6 5.6 0 0 0 8.4 168 L 0 168 L 0 159.6 A 5.6 5.6 0 0 0 0 148.4 L 0 145.6 A 5.6 5.6 0 0 0 0 134.4 L 0 131.6 A 5.6 5.6 0 0 0 0 120.4 L 0 117.6 A 5.6 5.6 0 0 0 0 106.4 L 0 103.6 A 5.6 5.6 0 0 0 0 92.4 L 0 89.6 A 5.6 5.6 0 0 0 0 78.4 L 0 75.6 A 5.6 5.6 0 0 0 0 64.4 L 0 61.6 A 5.6 5.6 0 0 0 0 50.4 L 0 47.6 A 5.6 5.6 0 0 0 0 36.4 L 0 33.6 A 5.6 5.6 0 0 0 0 22.4 L 0 19.6 A 5.6 5.6 0 0 0 0 8.4 Z');
    /* Simulated drop shadow for masked element */
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

.stamp:hover {
    transform: scale(1.1) rotate(0deg) translateY(-10px) !important;
    z-index: 10;
}

.stamp-inner {
    width: 100%;
    height: 100%;
    background-color: #E0E0E0;
    overflow: hidden;
}

.stamp-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stamp:hover .stamp-inner img {
    transform: scale(1.05);
}

/* Exact App Replica Stamp (Large) */
.sample-section {
    padding: 100px 5%;
    background-color: white;
}

.sample-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.sample-display {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.sample-display::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(204, 85, 60, 0.1) 0%, transparent 70%);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.app-stamp-replica {
    background: white;
    width: 280px;
    height: 336px;
    padding: 22.4px; /* size * 0.08 padding as in flutter */
    position: relative;
    z-index: 1;
    /* Match the Flutter _StampClipper exact look via precise SVG path */
    clip-path: path('M 0 0 L 16.8 0 A 11.2 11.2 0 0 0 39.2 0 L 44.8 0 A 11.2 11.2 0 0 0 67.2 0 L 72.8 0 A 11.2 11.2 0 0 0 95.2 0 L 100.8 0 A 11.2 11.2 0 0 0 123.2 0 L 128.8 0 A 11.2 11.2 0 0 0 151.2 0 L 156.8 0 A 11.2 11.2 0 0 0 179.2 0 L 184.8 0 A 11.2 11.2 0 0 0 207.2 0 L 212.8 0 A 11.2 11.2 0 0 0 235.2 0 L 240.8 0 A 11.2 11.2 0 0 0 263.2 0 L 280 0 L 280 16.8 A 11.2 11.2 0 0 0 280 39.2 L 280 44.8 A 11.2 11.2 0 0 0 280 67.2 L 280 72.8 A 11.2 11.2 0 0 0 280 95.2 L 280 100.8 A 11.2 11.2 0 0 0 280 123.2 L 280 128.8 A 11.2 11.2 0 0 0 280 151.2 L 280 156.8 A 11.2 11.2 0 0 0 280 179.2 L 280 184.8 A 11.2 11.2 0 0 0 280 207.2 L 280 212.8 A 11.2 11.2 0 0 0 280 235.2 L 280 240.8 A 11.2 11.2 0 0 0 280 263.2 L 280 268.8 A 11.2 11.2 0 0 0 280 291.2 L 280 296.8 A 11.2 11.2 0 0 0 280 319.2 L 280 336 L 263.2 336 A 11.2 11.2 0 0 0 240.8 336 L 235.2 336 A 11.2 11.2 0 0 0 212.8 336 L 207.2 336 A 11.2 11.2 0 0 0 184.8 336 L 179.2 336 A 11.2 11.2 0 0 0 156.8 336 L 151.2 336 A 11.2 11.2 0 0 0 128.8 336 L 123.2 336 A 11.2 11.2 0 0 0 100.8 336 L 95.2 336 A 11.2 11.2 0 0 0 72.8 336 L 67.2 336 A 11.2 11.2 0 0 0 44.8 336 L 39.2 336 A 11.2 11.2 0 0 0 16.8 336 L 0 336 L 0 319.2 A 11.2 11.2 0 0 0 0 296.8 L 0 291.2 A 11.2 11.2 0 0 0 0 268.8 L 0 263.2 A 11.2 11.2 0 0 0 0 240.8 L 0 235.2 A 11.2 11.2 0 0 0 0 212.8 L 0 207.2 A 11.2 11.2 0 0 0 0 184.8 L 0 179.2 A 11.2 11.2 0 0 0 0 156.8 L 0 151.2 A 11.2 11.2 0 0 0 0 128.8 L 0 123.2 A 11.2 11.2 0 0 0 0 100.8 L 0 95.2 A 11.2 11.2 0 0 0 0 72.8 L 0 67.2 A 11.2 11.2 0 0 0 0 44.8 L 0 39.2 A 11.2 11.2 0 0 0 0 16.8 Z');
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.15));
    transform: rotate(3deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-stamp-replica:hover {
    transform: rotate(0deg) scale(1.05);
}

.app-stamp-inner {
    width: 100%;
    height: 100%;
    background-color: #E0E0E0;
    overflow: hidden;
}

.app-stamp-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sample-text {
    flex: 1.2;
}

.sample-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.sample-text p {
    font-size: 1.1rem;
    color: rgba(45, 42, 38, 0.65);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    padding: 12px 20px;
    background-color: var(--bg-color);
    border-radius: 16px;
    transition: transform 0.2s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
}

/* How It Works Section */
.how-it-works {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    color: rgba(45, 42, 38, 0.6);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    background-color: var(--card-color);
    padding: 40px;
    border-radius: 32px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 2.2rem;
}

.step-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(45, 42, 38, 0.04);
    line-height: 1;
}

.step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.step-card p {
    color: rgba(45, 42, 38, 0.65);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 5%;
    background-color: white;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.pricing-header p {
    font-size: 1.15rem;
    color: rgba(45, 42, 38, 0.6);
}

.pricing-card {
    background-color: var(--bg-color);
    border-radius: 40px;
    padding: 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--accent-color);
}

.pricing-card-top {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(45, 42, 38, 0.1);
}

.tag {
    display: inline-block;
    background: rgba(204, 85, 60, 0.1);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.price {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 12px;
}

.billing-term {
    font-size: 1.1rem;
    color: rgba(45, 42, 38, 0.6);
    font-weight: 500;
}

.pricing-card-middle {
    margin-bottom: 40px;
}

.trial-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.benefits-list svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Footer */
footer {
    padding: 60px 5% 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

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

.footer-links a {
    color: rgba(45, 42, 38, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-content p {
    color: rgba(45, 42, 38, 0.4);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px auto;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .sample-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .step-card {
        transform: none !important;
    }
    
    .pricing-card {
        padding: 40px 24px;
    }
}
