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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-bg: #eff6ff;
    --secondary: #64748b;
    --success: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--bg);
    color: var(--text);
}

.nav-link.active {
    background: var(--primary-bg);
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 24px;
}

.badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Main */
.main {
    padding: 48px 0;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
}

/* Card */
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    padding: 24px 24px 0;
}

.card-header .card-title {
    padding: 0;
}

/* Form */
.form-section .card {
    position: sticky;
    top: 100px;
}

.form-group {
    padding: 20px 24px 0;
}

.form-group:last-of-type {
    padding-bottom: 24px;
}

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

.help-text {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

input[type="text"],
input[type="email"],
input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder {
    color: var(--text-light);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover {
    border-color: var(--primary-light);
    background: var(--primary-bg);
}

.checkbox-label:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-content strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.checkbox-content small {
    font-size: 12px;
    color: var(--text-light);
}

.checkbox-text {
    font-size: 14px;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-small {
    padding: 8px 12px;
    font-size: 13px;
}

.btn-small svg {
    width: 14px;
    height: 14px;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* Output Section */
.output-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    color: var(--text-light);
}

.output-placeholder svg {
    margin-bottom: 16px;
}

.policy-output {
    padding: 24px;
    max-height: 700px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
}

.policy-output h1 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text);
}

.policy-output h2 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: var(--text);
}

.policy-output h3 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: var(--text);
}

.policy-output p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.policy-output ul,
.policy-output ol {
    margin: 12px 0;
    padding-left: 24px;
}

.policy-output li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.policy-output strong {
    color: var(--text);
}

/* Features Section */
.features {
    padding: 64px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: var(--bg);
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 48px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-logo svg circle,
.footer-logo svg path {
    stroke: rgba(255, 255, 255, 0.8);
}

.footer-logo svg circle:last-child {
    fill: rgba(255, 255, 255, 0.8);
}

.footer-text {
    font-size: 13px;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.5;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--success);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Scrollbar */
.policy-output::-webkit-scrollbar {
    width: 8px;
}

.policy-output::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 4px;
}

.policy-output::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.policy-output::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .form-section .card {
        position: static;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .nav {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .action-buttons {
        justify-content: center;
    }

    .toast {
        left: 24px;
        right: 24px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0;
    }

    .main {
        padding: 32px 0;
    }

    .badges {
        gap: 8px;
    }

    .badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .action-buttons {
        flex-wrap: wrap;
    }
}
/* Go Pro Button */
.go-pro-btn {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.go-pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Buy Me a Coffee Button */
.buy-me-coffee {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
}

.buy-me-coffee.hidden {
    display: none;
}

.coffee-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.coffee-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9CA3AF;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background-color: #F3F4F6;
    color: #374151;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.modal-body {
    color: #4B5563;
}

.modal-text {
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-list {
    list-style: none;
    padding-left: 12px;
    margin-bottom: 8px;
}

.feature-list li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    color: #10B981;
    font-weight: bold;
}

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

.email-notice {
    background-color: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 20px 0;
    color: #1E40AF;
    font-size: 14px;
}

.notify-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.notify-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.notify-form input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.notify-btn {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notify-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.price-text {
    text-align: center;
    font-weight: 600;
    color: #059669;
    margin: 0;
}

.thank-you {
    text-align: center;
    padding: 20px 0;
}

.thank-you.hidden {
    display: none;
}

.thank-you-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.thank-you p {
    color: #059669;
    font-weight: 600;
    margin: 0;
}

/* Disclaimer Modal Styles */
.disclaimer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.disclaimer-backdrop.hidden {
    display: none;
}

.disclaimer-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.disclaimer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s ease;
    z-index: 10;
}

.disclaimer-close:hover {
    color: #4b5563;
}

.disclaimer-content {
    padding: 40px;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.disclaimer-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.disclaimer-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.disclaimer-body {
    color: #4b5563;
    line-height: 1.8;
}

.disclaimer-body p {
    margin-bottom: 16px;
}

.disclaimer-body strong {
    color: #111827;
}

.disclaimer-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.disclaimer-link {
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.disclaimer-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.footer-text {
    margin-bottom: 8px;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}
