/* Reset & base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fafafa;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Nav */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}
.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a1a1a;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.nav-link {
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover {
    color: #555;
}
.nav-link.btn-primary {
    background-color: #4f46e5;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}
.nav-link.btn-primary:hover {
    background-color: #4338ca;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 0.375rem;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-primary {
    background-color: #4f46e5;
    color: #fff;
}
.btn-primary:hover {
    background-color: #4338ca;
}
.btn-secondary {
    background-color: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}
.btn-secondary:hover {
    background-color: #4f46e522;
}
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

/* Hero */
.hero {
    background-color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden.
}
.hero-content {
    text-align: center;
}
.badge {
    display: inline-block;
    background-color: #10b981;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.hero-price {
    font-weight: 600;
    font-size: 1.25rem;
    color: #111;
}
.hero-price-note {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}
.hero-guarantee {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
}
.hero-visual {
    margin-top: 2rem;
}
.mockup-frame {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.mockup-header {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.mockup-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #9ca3af;
    border-radius: 50%;
    margin: 0 2px;
}
.mockup-content {
    display: flex;
}
.mockup-sidebar {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sidebar-item {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}
.sidebar-item.active {
    background-color: #4f46e5;
    color: #fff;
}
.mockup-main {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.mockup-card {
    background-color: #e5e7eb;
    border-radius: 0.25rem;
    flex: 1 1 calc(33.333% - 0.5rem);
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #666;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: #555;
    font-size: 1.125rem;
}

/* Templates Section */
.templates {
    padding: 4rem 0;
    background-color: #fff;
}
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.template-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.template-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.template-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #111;
}
.template-card p {
    margin-bottom: 1rem;
    color: #555;
}
.template-features {
    list-style: none;
    padding-left: 0;
}
.template-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #444;
    margin-bottom: 0.25rem;
}
.template-features li::before {
    content: "•";
    color: #10b981;
}
.template-preview {
    margin-top: 1rem;
}
.preview-placeholder {
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background-color: #f9fafb;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.benefit {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.benefit h3 {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #111;
}
.benefit p {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Trust Section */
.trust {
    padding: 4rem 0;
    background-color: #fff;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.trust-item {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.trust-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.trust-item h3 {
    font-size: 1.125rem;
    color: #111;
    margin-bottom: 0.5rem;
}
.trust-item p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: #f9fafb;
}
.faq-grid {
    max-width: 800px;
    margin: 2rem auto 0;
}
.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}
.faq-item summary:hover {
    background-color: #f9fafb;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: #4f46e5;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: #444;
    line-height: 1.7;
    font-size: 0.9375rem;
}
.faq-item code {
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'SF Mono', Monaco, monospace;
}
.faq-item kbd {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.8125rem;
    font-family: 'SF Mono', Monaco, monospace;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.cta-content {
    text-align: center;
    color: #fff;
}
.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-content .btn-primary {
    background-color: #fff;
    color: #4f46e5;
}
.cta-content .btn-primary:hover {
    background-color: #f3f4f6;
}
.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
    display: block;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
}
footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    .nav-link:not(.btn-primary) {
        display: none;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
    .templates-grid,
    .benefits-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .mockup-content {
        flex-direction: column;
    }
    .mockup-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    .mockup-main {
        width: 100%;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 0.75rem;
    }
    .hero {
        padding: 2.5rem 0;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
    .template-card,
    .benefit,
    .trust-item {
        padding: 1.25rem;
    }
    .faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }
    .faq-item p {
        padding: 0 1.25rem 1rem;
        font-size: 0.875rem;
    }
}