/**
 * A Bra That Fits Calculator Styles
 * Modern, accessible, and responsive design
 */

/* CSS Variables */
:root {
    --abtf-primary: #7c3aed;
    --abtf-primary-dark: #6d28d9;
    --abtf-primary-light: #a78bfa;
    --abtf-secondary: #ec4899;
    --abtf-secondary-dark: #db2777;
    --abtf-success: #10b981;
    --abtf-warning: #f59e0b;
    --abtf-text: #1f2937;
    --abtf-text-light: #6b7280;
    --abtf-bg: #ffffff;
    --abtf-bg-soft: #f9fafb;
    --abtf-bg-muted: #f3f4f6;
    --abtf-border: #e5e7eb;
    --abtf-border-dark: #d1d5db;
    --abtf-radius: 12px;
    --abtf-radius-lg: 16px;
    --abtf-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --abtf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --abtf-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --abtf-gradient: linear-gradient(135deg, var(--abtf-primary), var(--abtf-secondary));
}

/* Base Container */
.abtf-calculator {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--abtf-text);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.abtf-calculator *,
.abtf-calculator *::before,
.abtf-calculator *::after {
    box-sizing: border-box;
}

/* Hero Section */
.abtf-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 50%, #fff7ed 100%);
    border-radius: var(--abtf-radius-lg);
    margin-bottom: 40px;
}

.abtf-hero__badge {
    margin-bottom: 20px;
}

.abtf-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--abtf-primary);
    box-shadow: var(--abtf-shadow);
}

.abtf-badge svg {
    color: #fbbf24;
}

.abtf-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px 0;
    background: var(--abtf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abtf-hero__subtitle {
    font-size: 1.125rem;
    color: var(--abtf-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.abtf-hero__subtitle strong {
    color: var(--abtf-text);
}

.abtf-hero__seo-text {
    max-width: 700px;
    margin: 24px auto 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--abtf-radius);
    font-size: 15px;
    color: var(--abtf-text-light);
}

.abtf-hero__seo-text p {
    margin: 0;
}

.abtf-hero__seo-text strong {
    color: var(--abtf-text);
}

/* Intro Section */
.abtf-intro-section {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 40px;
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius-lg);
}

.abtf-intro-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--abtf-text);
}

.abtf-intro-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--abtf-text);
    margin-bottom: 16px;
}

.abtf-intro-section a {
    color: var(--abtf-primary);
    text-decoration: none;
}

.abtf-intro-section a:hover {
    text-decoration: underline;
}

.abtf-feature-list {
    margin: 20px 0;
    padding: 0 0 0 24px;
}

.abtf-feature-list li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* Calculator Card */
.abtf-calc-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.abtf-calc-card {
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius-lg);
    box-shadow: var(--abtf-shadow-lg);
    overflow: hidden;
}

.abtf-calc-header {
    padding: 30px;
    background: var(--abtf-bg-soft);
    border-bottom: 1px solid var(--abtf-border);
    text-align: center;
}

.abtf-calc-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--abtf-text);
}

.abtf-calc-header p {
    color: var(--abtf-text-light);
    margin: 0 0 20px 0;
}

/* Unit Toggle */
.abtf-unit-toggle {
    display: inline-flex;
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: 50px;
    padding: 4px;
}

.abtf-unit-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--abtf-text-light);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.2s;
}

.abtf-unit-btn:hover {
    color: var(--abtf-text);
}

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

/* Form */
.abtf-form {
    padding: 30px;
}

.abtf-measurement-group {
    margin-bottom: 32px;
}

.abtf-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--abtf-text);
}

.abtf-group-icon {
    font-size: 1.25rem;
}

.abtf-group-desc {
    color: var(--abtf-text-light);
    font-size: 14px;
    margin: 0 0 20px 0;
}

.abtf-inputs-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.abtf-input-group {
    display: flex;
    flex-direction: column;
}

.abtf-input-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--abtf-text);
    margin-bottom: 8px;
}

.abtf-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--abtf-bg-muted);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    color: var(--abtf-text-light);
    cursor: help;
    transition: all 0.2s;
}

.abtf-tooltip:hover {
    background: var(--abtf-primary);
    color: white;
}

.abtf-tooltip-popup {
    position: fixed;
    max-width: 280px;
    padding: 12px 16px;
    background: var(--abtf-text);
    color: white;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: var(--abtf-shadow-lg);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.abtf-tooltip-popup.visible {
    opacity: 1;
    visibility: visible;
}

.abtf-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.abtf-input-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 2px solid var(--abtf-border);
    border-radius: var(--abtf-radius);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    appearance: none;
    -moz-appearance: textfield;
}

.abtf-input-wrapper input::-webkit-outer-spin-button,
.abtf-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.abtf-input-wrapper input:focus {
    outline: none;
    border-color: var(--abtf-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.abtf-unit {
    position: absolute;
    right: 16px;
    color: var(--abtf-text-light);
    font-size: 14px;
    font-weight: 500;
}

/* Checkbox/Option */
.abtf-option-group {
    padding: 20px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius);
    margin-bottom: 24px;
}

.abtf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.abtf-checkbox-label input {
    width: 20px;
    height: 20px;
    accent-color: var(--abtf-primary);
}

.abtf-checkbox-text {
    font-weight: 500;
}

.abtf-option-desc {
    font-size: 13px;
    color: var(--abtf-text-light);
    margin: 8px 0 0 32px;
}

/* Submit Button */
.abtf-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: var(--abtf-gradient);
    border: none;
    border-radius: var(--abtf-radius);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.abtf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* Results Section */
.abtf-results-card {
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius-lg);
    box-shadow: var(--abtf-shadow-xl);
    overflow: hidden;
}

.abtf-results-header {
    text-align: center;
    padding: 40px 30px;
    background: var(--abtf-gradient);
    color: white;
}

.abtf-results-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.abtf-results-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.abtf-results-header p {
    opacity: 0.9;
    margin: 0;
}

/* Primary Size Display */
.abtf-primary-size {
    text-align: center;
    padding: 40px 30px;
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-size-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--abtf-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.abtf-size-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.abtf-size-band {
    font-size: 4rem;
    font-weight: 800;
    color: var(--abtf-primary);
}

.abtf-size-cup {
    font-size: 4rem;
    font-weight: 800;
    color: var(--abtf-secondary);
}

.abtf-size-system {
    font-size: 14px;
    color: var(--abtf-text-light);
    margin-top: 8px;
}

/* Confidence */
.abtf-confidence {
    padding: 20px 30px;
    background: var(--abtf-bg-soft);
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-confidence-bar {
    height: 8px;
    background: var(--abtf-bg-muted);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.abtf-confidence-fill {
    height: 100%;
    background: var(--abtf-success);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.abtf-confidence-text {
    text-align: center;
    font-size: 14px;
    color: var(--abtf-text-light);
}

.abtf-confidence-text span {
    font-weight: 600;
    color: var(--abtf-success);
}

/* Size Notes */
.abtf-size-notes {
    padding: 20px 30px;
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
}

.abtf-size-notes:empty {
    display: none;
}

.abtf-shape-note {
    font-size: 14px;
    color: #92400e;
    margin: 0 0 8px 0;
}

.abtf-shape-note:last-child {
    margin-bottom: 0;
}

/* International Sizes */
.abtf-international {
    padding: 30px;
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-international h3 {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px 0;
}

.abtf-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.abtf-size-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius);
}

.abtf-size-flag {
    font-size: 1.5rem;
}

.abtf-size-country {
    font-size: 11px;
    font-weight: 500;
    color: var(--abtf-text-light);
    text-transform: uppercase;
}

.abtf-size-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--abtf-text);
}

/* Sister Sizes */
.abtf-sister-sizes {
    padding: 30px;
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-sister-sizes h3 {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px 0;
}

.abtf-sister-sizes > p {
    text-align: center;
    font-size: 14px;
    color: var(--abtf-text-light);
    margin: 0 0 20px 0;
}

.abtf-sister-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.abtf-sister-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius);
    border: 2px solid transparent;
}

.abtf-sister-item.abtf-sister-current {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    border-color: var(--abtf-primary);
}

.abtf-sister-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--abtf-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.abtf-sister-size {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--abtf-text);
}

.abtf-sister-current .abtf-sister-size {
    background: var(--abtf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abtf-sister-note {
    font-size: 12px;
    color: var(--abtf-text-light);
    margin-top: 4px;
}

/* Shape Analysis */
.abtf-shape-analysis {
    padding: 30px;
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-shape-analysis h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.abtf-shape-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.abtf-shape-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--abtf-bg-soft);
    border-radius: 50px;
}

.abtf-shape-label {
    font-size: 13px;
    color: var(--abtf-text-light);
}

.abtf-shape-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--abtf-primary);
    text-transform: capitalize;
}

/* Fit Tips */
.abtf-fit-tips {
    padding: 30px;
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-fit-tips h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.abtf-tips-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.abtf-tips-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 14px;
    color: var(--abtf-text);
    border-bottom: 1px solid var(--abtf-border);
}

.abtf-tips-list li:last-child {
    border-bottom: none;
}

.abtf-tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--abtf-success);
    font-weight: 700;
}

/* Results Actions */
.abtf-results-actions {
    display: flex;
    gap: 12px;
    padding: 24px 30px;
    background: var(--abtf-bg-soft);
}

.abtf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--abtf-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.abtf-btn--primary {
    background: var(--abtf-gradient);
    border: none;
    color: white;
}

.abtf-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.abtf-btn--secondary {
    background: white;
    border: 2px solid var(--abtf-border);
    color: var(--abtf-text);
}

.abtf-btn--secondary:hover {
    border-color: var(--abtf-primary);
    color: var(--abtf-primary);
}

/* How It Works */
.abtf-how-it-works {
    padding: 60px 20px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius-lg);
    margin-bottom: 40px;
}

.abtf-how-it-works h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.abtf-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.abtf-step {
    text-align: center;
    padding: 24px;
}

.abtf-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--abtf-gradient);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.abtf-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.abtf-step p {
    font-size: 14px;
    color: var(--abtf-text-light);
    margin: 0;
}

/* Why Different Section */
.abtf-why-different {
    padding: 60px 20px;
    margin-bottom: 40px;
}

.abtf-why-different h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.abtf-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.abtf-reason {
    padding: 24px;
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius);
    text-align: center;
}

.abtf-reason-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.abtf-reason h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.abtf-reason p {
    font-size: 14px;
    color: var(--abtf-text-light);
    margin: 0;
}

/* Trust Section */
.abtf-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 20px;
    background: var(--abtf-gradient);
    border-radius: var(--abtf-radius-lg);
    margin-bottom: 60px;
}

.abtf-trust-item {
    text-align: center;
    color: white;
}

.abtf-trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.abtf-trust-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Shape Guide */
.abtf-shape-guide,
.abtf-sister-section,
.abtf-faq {
    padding: 60px 20px;
    margin-bottom: 40px;
}

.abtf-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.abtf-section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.abtf-section-header p {
    font-size: 1rem;
    color: var(--abtf-text-light);
    margin: 0;
}

/* Shape Categories */
.abtf-shape-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.abtf-shape-category {
    padding: 30px;
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius-lg);
}

.abtf-shape-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.abtf-shape-category > p {
    color: var(--abtf-text-light);
    margin: 0 0 24px 0;
}

.abtf-shape-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.abtf-shape-option {
    padding: 20px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius);
    text-align: center;
}

.abtf-shape-visual {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--abtf-bg);
    border: 2px solid var(--abtf-border);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: var(--abtf-primary);
    margin-bottom: 12px;
}

.abtf-shape-option h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.abtf-shape-option p {
    font-size: 13px;
    color: var(--abtf-text-light);
    margin: 0;
}

/* Shape Tips */
.abtf-shape-tips {
    margin-top: 40px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: var(--abtf-radius);
    border-left: 4px solid var(--abtf-primary);
}

.abtf-shape-tips h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.abtf-shape-tips ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.abtf-shape-tips li {
    margin-bottom: 12px;
    font-size: 14px;
}

.abtf-shape-tips li:last-child {
    margin-bottom: 0;
}

/* Sister Section Standalone */
.abtf-sister-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.abtf-sister-diagram {
    padding: 30px;
    background: var(--abtf-bg);
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius-lg);
}

.abtf-sister-row--header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--abtf-text-light);
    margin-bottom: 20px;
}

.abtf-sister-examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.abtf-sister-set {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.abtf-ss {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius);
    font-weight: 600;
}

.abtf-ss--primary {
    background: var(--abtf-gradient);
    color: white;
}

.abtf-sister-when {
    padding: 30px;
    background: var(--abtf-bg-soft);
    border-radius: var(--abtf-radius-lg);
}

.abtf-sister-when h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.abtf-sister-when ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.abtf-sister-when li {
    margin-bottom: 12px;
    font-size: 14px;
}

/* FAQ Section */
.abtf-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.abtf-faq-item {
    border: 1px solid var(--abtf-border);
    border-radius: var(--abtf-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.abtf-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: var(--abtf-bg);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--abtf-text);
    cursor: pointer;
    transition: all 0.2s;
}

.abtf-faq-question:hover {
    background: var(--abtf-bg-soft);
}

.abtf-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.abtf-faq-item.active .abtf-faq-question svg {
    transform: rotate(180deg);
}

.abtf-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.abtf-faq-item.active .abtf-faq-answer {
    max-height: 1000px;
}

.abtf-faq-answer > * {
    padding: 0 24px;
}

.abtf-faq-answer > *:first-child {
    padding-top: 0;
}

.abtf-faq-answer > *:last-child {
    padding-bottom: 24px;
}

.abtf-faq-answer p {
    font-size: 15px;
    color: var(--abtf-text);
    line-height: 1.7;
}

.abtf-faq-answer ul,
.abtf-faq-answer ol {
    font-size: 15px;
    color: var(--abtf-text);
    line-height: 1.7;
    padding-left: 44px;
}

.abtf-faq-answer li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .abtf-hero {
        padding: 40px 16px;
    }
    
    .abtf-hero__title {
        font-size: 1.75rem;
    }
    
    .abtf-calc-header,
    .abtf-form {
        padding: 20px;
    }
    
    .abtf-inputs-row {
        grid-template-columns: 1fr;
    }
    
    .abtf-size-band,
    .abtf-size-cup {
        font-size: 3rem;
    }
    
    .abtf-sister-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .abtf-sister-explainer {
        grid-template-columns: 1fr;
    }
    
    .abtf-trust {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .abtf-trust-number {
        font-size: 2rem;
    }
    
    .abtf-results-actions {
        flex-direction: column;
    }
    
    .abtf-size-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .abtf-calculator {
        padding: 12px;
    }
    
    .abtf-unit-toggle {
        width: 100%;
    }
    
    .abtf-unit-btn {
        flex: 1;
        padding: 10px 16px;
    }
    
    .abtf-faq-question {
        padding: 16px;
        font-size: 15px;
    }
}

/* Print Styles */
@media print {
    .abtf-calc-card,
    .abtf-how-it-works,
    .abtf-why-different,
    .abtf-results-actions,
    .abtf-unit-toggle {
        display: none !important;
    }
    
    .abtf-results {
        display: block !important;
    }
    
    .abtf-results-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
