:root{
  
  --fs-xxxl: clamp(2.4rem, 4vw, 3rem);      
  --fs-xxl: clamp(2rem, 3.2vw, 2.5rem);      
  --fs-xl: 1.9rem;                        

 
  --fs-lg: 1.25rem;                        
  --fs-1_2: 1.2rem;  

 
  --fs-md: 1.1rem;                          
  --fs-base: 1.5rem;                           
  --fs-sm: 1.2rem;                          
  --fs-xs: 0.82rem;                          
  --fs-tiny: 0.75rem;                        

 
  --fs-1_25: 1.25rem;             
  --fs-0_96: 0.96rem;             
  --fs-0_95: 0.95rem;
  --fs-0_88: 0.88rem;
  --fs-2_1: 2.1rem;               
  --fs-1_9: 1.9rem;              

 
  --fw-bold: 700;
  --fw-semibold: 600;
  --fw-medium: 500;
  --fw-normal: 400;

 
  --lh-hero-title: 1.1;
  --lh-title: 1.2;
  --lh-normal: 1.65;

}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}


.af-page {
    background: radial-gradient(circle at top left, #ecf3ff, #f9fafb 50%) no-repeat;
    color: var(--text);
}



.af-hero {
    padding: 4.5rem 0 3.5rem;
}

.af-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.af-eyebrow {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
    font-weight: var(--fw-semibold);
    margin-bottom: 0.9rem;
}

.af-hero__title {
    font-size: var(--fs-xxxl);
    line-height: var(--lh-hero-title);
    margin-bottom: 0.8rem;
    font-weight: var(--fw-bold);
}

.af-gradient-text {
    background: linear-gradient(120deg, #2563eb, #00b4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.af-hero__subtitle {
    font-size: var(--fs-md);
    color: var(--muted);
    max-width: 34rem;
    margin-bottom: 1.4rem;
    line-height: var(--lh-normal);
}

.af-hero-list {
    list-style: none;
    margin-bottom: 1.4rem;
    display: grid;
    gap: 0.35rem;
    font-size: var(--fs-base);
    color: var(--muted);
}

.af-hero-list li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.45rem;
    font-weight: var(--fw-bold);
}

.af-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.af-hero__note {
    font-size: var(--fs-xs);
    color: var(--muted);
}


.af-hero__mockup {
    display: flex;
    justify-content: flex-end;
}

.af-form-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.af-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
}

.af-chip {
    font-size: var(--fs-tiny);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    font-weight: var(--fw-semibold);
}

.af-progress {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-pill);
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.af-progress-fill {
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    animation: af-progress 1.8s ease-in-out infinite alternate;
}

@keyframes af-progress {
    0% { width: 65%; }
    100% { width: 92%; }
}

.af-progress-label {
    font-size: var(--fs-sm);
    color: #6b7280;
    margin-bottom: 0.9rem;
}

.af-form-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.af-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: var(--fs-sm);
    transform: translateY(8px);
    opacity: 0;
    animation: af-rowIn 0.5s var(--transition) forwards;
}

.af-form-row:nth-child(1) { animation-delay: 0.05s; }
.af-form-row:nth-child(2) { animation-delay: 0.12s; }
.af-form-row:nth-child(3) { animation-delay: 0.19s; }
.af-form-row:nth-child(4) { animation-delay: 0.26s; }
.af-form-row:nth-child(5) { animation-delay: 0.33s; }
.af-form-row:nth-child(6) { animation-delay: 0.4s; }

@keyframes af-rowIn {
    to { transform: translateY(0); opacity: 1; }
}

.af-label {
    color: #6b7280;
    font-size: var(--fs-sm);
}

.af-value {
    font-weight: var(--fw-semibold);
    color: #0f172a;
    font-size: var(--fs-sm);
}

.af-form-footer {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.af-badge {
    font-size: var(--fs-tiny);
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.af-badge i {
    font-size: var(--fs-base);
}

.af-book-btn {
    width: 100%;
    justify-content: center;
}


.af-floating-tag {
    position: absolute;
    right: -6px;
    bottom: -10px;
    transform: translateY(-40%);
    background: #0f172a;
    color: #e5e7eb;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-tiny);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
    animation: floatTag 4s ease-in-out infinite;
}

.af-floating-tag i {
    font-size: var(--fs-base);
    color: #fde047;
}

@keyframes floatTag {
    0%, 100% { transform: translateY(-40%); }
    50% { transform: translateY(-55%); }
}



.section {
    padding: 3.2rem 0;
}

.section__head {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 2.3rem;
}

.section__eyebrow {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
    margin-bottom: 0.4rem;
    font-weight: var(--fw-semibold);
}

.section__title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    margin-bottom: 0.45rem;
}

.section__subtitle {
    font-size: var(--fs-base);
    color: var(--muted);
    line-height: var(--lh-normal);
}


.af-how {
    background: #ffffff;
}

.af-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.af-step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.af-step-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(41, 152, 255, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.af-step-card:hover::after {
    opacity: 1;
}

.af-step-num {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    margin-bottom: 0.7rem;
}

.af-step-card h3 {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin-bottom: 0.5rem;
}

.af-step-card p {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.af-bullets {
    list-style: none;
    font-size: var(--fs-sm);
    color: #000000;
    display: grid;
    gap: 0.3rem;
}

.af-bullets li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.3rem;
}



.af-fields {
    background: #f3f4ff;
}

.af-fields__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: flex-start;
}

.af-fields-left .section__title,
.af-fields-left .section__subtitle {
    text-align: left;
}

.af-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.4rem;
}

.af-field-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
}

.af-field-card h4 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: 0.5rem;
}

.af-field-card ul {
    list-style: none;
    font-size: var(--fs-sm);
    color: var(--muted);
    display: grid;
    gap: 0.25rem;
}

.af-field-card ul li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.3rem;
}

.af-fields-right h3 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: 0.6rem;
}

.af-benefits-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.af-benefits-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: flex-start;
}

.af-benefit-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-base);
}

.af-benefit-icon.green {
    background: rgba(34, 197, 94, 0.18);
    color: #15803d;
}

.af-benefit-icon.blue {
    background: rgba(37, 99, 235, 0.16);
    color: #1d4ed8;
}

.af-benefit-icon.yellow {
    background: rgba(250, 204, 21, 0.18);
    color: #92400e;
}

.af-benefits-list strong {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
}

.af-benefits-list p {
    font-size: var(--fs-sm);
    color: #6b7280;
    line-height: var(--lh-normal);
}



.af-compare {
    background: #ffffff;
}

.af-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.7rem;
}

.af-compare-card {
    background: #f9fafb;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.af-compare-card--good {
    background: linear-gradient(135deg, #2563eb, #00b4ff);
    color: #e5e7eb;
    border-color: transparent;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.4);
}

.af-compare-card h3 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: 0.5rem;
}

.af-compare-card .af-bullets {
    color: inherit;
}



.af-cta {
    padding-bottom: 4rem;
}



.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 960px) {
    .af-hero__inner {
        grid-template-columns: 1fr;
    }
    .af-hero__mockup {
        justify-content: flex-start;
    }
    .af-fields__inner,
    .af-compare-grid,
    .af-steps-grid,
    .af-fields-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .af-hero {
        padding-top: 3.2rem;
    }
    .af-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .af-form-card {
        max-width: 100%;
    }
}
