:root {
    /* Apple Color Palette */
    --sf-bg: #F5F5F7;
    --sf-text: #1D1D1F;
    --sf-text-secondary: #86868B;
    --sf-blue: #0071E3;
    --sf-blue-hover: #0077ED;
    --sf-white: #FFFFFF;
    --sf-glass: rgba(255, 255, 255, 0.72);
    --sf-glass-border: rgba(255, 255, 255, 0.5);
    --sf-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --sf-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
    --sf-error: #FF3B30;
    --sf-success: #34C759;

    /* Typography */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

    /* Spacing & Radius */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --container-width: 980px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-stack);
    background-color: var(--sf-bg);
    color: var(--sf-text);
    line-height: 1.5;
    font-size: 17px;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 48px;
    line-height: 1.1;
}

h2 {
    font-size: 32px;
}

p {
    color: var(--sf-text-secondary);
    margin-bottom: 1.5em;
}

/* Components */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(52, 199, 89, 0.1);
    color: var(--sf-success);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: var(--sf-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.testimonial-card {
    background: #F5F5F7;
    padding: 24px;
    border-radius: var(--radius-md);
    position: relative;
}

.pricing-card {
    background: linear-gradient(135deg, #0071e3 0%, #40a0ff 100%);
    color: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.2);
}

/* Astro Paper Style Blog */
.blog-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-post-item {
    margin-bottom: 40px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 32px;
}

.blog-title {
    font-family: "Georgia", serif;
    font-size: 24px;
    color: #111;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.blog-title:hover {
    color: var(--sf-blue);
    text-decoration: underline;
    text-decoration-color: rgba(0, 113, 227, 0.3);
}

.blog-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    font-family: "Courier New", monospace;
}

.blog-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.navbar {
    background: var(--sf-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

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

.logo {
    font-weight: 600;
    font-size: 20px;
    color: var(--sf-text);
    text-decoration: none;
}

.card {
    background: var(--sf-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--sf-shadow);
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sf-shadow-hover);
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--sf-text);
}

.advanced-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--sf-blue);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
    user-select: none;
}

.advanced-options {
    display: none;
    padding: 16px;
    background: var(--sf-bg);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.advanced-options.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-field {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    border: 1px solid #D2D2D7;
    border-radius: var(--radius-md);
    background: var(--sf-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--font-stack);
}

.input-field:focus {
    outline: none;
    border-color: var(--sf-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 980px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--sf-blue);
    color: white;
}

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

.btn-primary:active {
    transform: scale(0.98);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 32px;
}

.ads-placeholder {
    display: none;
    /* Hidden for V1 */
    background: #f0f0f0;
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    color: #999;
    margin: 32px 0;
    border-radius: var(--radius-md);
}

.footer-disclaimer {
    font-size: 13px;
    color: var(--sf-text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 32px;
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-link {
    color: var(--sf-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--sf-blue);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    .card {
        padding: 24px;
    }
}