/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #10b981;
    --error-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-color: #ffffff;
    --bg-gray: #f9fafb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-gray);
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 30px 0 10px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo {
    height: 80px;
    width: auto;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 20px 0 15px;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.hero-highlight {
    margin-top: 10px;
    font-size: 1.05rem;
    color: var(--primary-color);
}

/* Signup section */
.signup-section {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

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

input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    font-family: inherit;
}

small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Checkbox and radio groups */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input,
.radio-label input {
    margin-right: 10px;
    cursor: pointer;
}

/* Trial note above button */
.trial-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
    margin-top: 5px;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

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

/* Form response */
.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.form-response.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-response.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Pricing section */
.pricing-section {
    padding: 40px 0;
    text-align: center;
}

.pricing-section h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 600px;
    margin: 0 auto 25px;
}

.pricing-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-footer {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Features section */
.features {
    padding: 40px 0;
}

.features h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .signup-section {
        padding: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Loading/disabled state */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Danger button variant */
.btn-danger {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--error-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-danger:hover {
    background-color: #dc2626;
}

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