:root {
    --primary: #274c77;
    --primary-dark: #1a365d;
    --secondary: #6096ba;
    --accent: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --warning: #f8961e;
    --danger: #f72585;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--success));
}

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

body {
    font-family: 'Lora', serif !important;
    background: url('/theme/image/background.svg') no-repeat center center fixed;
    background-size: cover;
    background-color: #f0f3fb;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 54px;
}

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

/* Header Styles */
.header-policy {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.header-policy::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(20px);
}

.header-policy::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(30px);
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.logo-policy {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-policy i {
    color: var(--accent);
    font-size: 1.2em;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Steps Indicator - Responsive Version */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0 4rem;
    position: relative;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.steps-line {
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 0;
    border-radius: 5px;
}

.steps-line-progress {
    position: absolute;
    top: 25px;
    left: 50px;
    height: 5px;
    background: var(--gradient-accent);
    z-index: 1;
    transition: width 0.4s ease-out;
    border-radius: 5px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    flex: 1;
    min-width: 100px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    font-size: 1.25rem;
    border: 2px solid transparent;
}

.step.active .step-number {
    background-color: white;
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3);
}

.step.completed .step-number {
    background-color: var(--success);
    color: white;
    border-color: white;
}

.step-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 120px;
    transition: var(--transition);
}

.step.active .step-label {
    color: white;
    font-weight: 600;
    transform: translateY(5px);
}

.step.completed .step-label {
    color: var(--success);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .steps-container {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .step {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: auto;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .step-label {
        font-size: 0.85rem;
    }
    
    .steps-line,
    .steps-line-progress {
        display: none;
    }
}

@media (max-width: 480px) {
    .step {
        flex: 0 0 calc(50% - 0.5rem);
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.8rem;
        max-width: 80px;
    }
}

/* Form Styles */
.form-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

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

h2 {
    color: var(--primary);
    margin-bottom: 1.75rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.75rem;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fcfcfc;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    outline: none;
    background-color: white;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}

.checkbox-group {
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 6px;
}

.checkbox-label:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.checkbox-input {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateY(-3px);
}

.btn-success {
    background: var(--gradient-accent);
}

.btn-success:hover {
    background: linear-gradient(135deg, #3ab5d8, #4895ef);
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Result Container */
.result-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-container.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.document-tabs {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.tab-btn:hover:not(.active)::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.document-content {
    max-height: 500px;
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1.75rem;
    background-color: #fafafa;
    font-family: 'Lora', serif;
    line-height: 1.8;
    color: #333;
}

.document-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 18px;
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    color: var(--dark);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.action-btn:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Premium Container */
.premium-container {
    background: linear-gradient(135deg, #f5f7ff, #e8ecff);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.premium-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.premium-container::before {
    content: 'PREMIUM';
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: var(--accent);
    color: white;
    padding: 4px 45px;
    font-size: 0.85rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
    letter-spacing: 1px;
}

.premium-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background-color: rgba(72, 149, 239, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    color: var(--success);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 18px;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.payment-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.payment-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Testimonials */
.testimonials {
    margin: 4rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(67, 97, 238, 0.05);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--dark);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    cursor: help;
}

.tooltip-icon {
    color: var(--primary);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
}

.tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: var(--dark);
    color: white;
    text-align: left;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.6;
    box-shadow: var(--shadow-lg);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* SEO Content Section */
.seo-content-section {
    padding: 4rem 0;
    background-color:transparent;
    border-top: 1px solid #eaeef5;
    border-bottom: 1px solid #eaeef5;
}

.seo-article {
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}

.seo-article h1 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.seo-article h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.seo-article h2 {
    font-size: 1.9rem;
    color: var(--primary);
    margin: 3rem 0 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eaeef5;
    font-weight: 600;
}

.seo-article h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2.5rem 0 1.25rem;
    font-weight: 600;
}

.intro-box {
    background-color: white;
    border-left: 4px solid var(--primary);
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
    border-radius: 0 8px 8px 0;
    position: relative;
    overflow: hidden;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.03), transparent);
    pointer-events: none;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #eaeef5;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(67, 97, 238, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateX(5px);
}

.benefit-item i {
    color: var(--success);
    font-size: 1.5rem;
}

.comparison-table {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: white;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.comparison-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #eaeef5;
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: rgba(67, 97, 238, 0.03);
}

.comparison-table i.fa-check {
    color: var(--success);
    font-size: 1.25rem;
}

.comparison-table i.fa-times {
    color: var(--danger);
    font-size: 1.25rem;
}

.seo-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.seo-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.seo-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.seo-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.seo-step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.faq-container {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eaeef5;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--dark);
}

.faq-question:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: white;
    line-height: 1.8;
}

.faq-answer.show {
    padding: 1.5rem;
    max-height: 1000px;
}

.cta-box {
    text-align: center;
    padding: 4rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    margin: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-box h2 {
    color: white;
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    border: none;
    padding: 0;
}

.cta-box h2::after {
    display: none;
}

.cta-box .btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    margin: 2rem 0;
    background: white;
    color: var(--primary);
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-large:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Responsive Improvements */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-policy {
        font-size: 2.25rem;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .header-policy {
        padding: 2.5rem 0;
    }
    
    .logo-policy {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .form-container, .result-container, .premium-container {
        padding: 1.75rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .seo-article h1 {
        font-size: 2rem;
    }
    
    .seo-article h2 {
        font-size: 1.6rem;
    }
    
    .feature-cards, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-policy {
        padding: 2rem 0;
    }
    
    .logo-policy {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .form-container, .result-container, .premium-container {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .seo-article h1 {
        font-size: 1.8rem;
    }
    
    .seo-article h2 {
        font-size: 1.4rem;
    }
    
    .document-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .cta-box {
        padding: 2rem 1rem;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
}

/* Animation for premium container */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(72, 149, 239, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(72, 149, 239, 0); }
    100% { box-shadow: 0 0 0 0 rgba(72, 149, 239, 0); }
}

.premium-container {
    animation: pulse 3s infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}


.ad-middle {
  margin: 30px auto;
  text-align: center;
}
  
.ad-results {
  margin: 20px 0;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
}

.ad-sidebar {
  position: sticky;
  top: 20px;
  width: 300px;
  margin-left: 30px;
  float: right;
}

@media (max-width: 1024px) {
  .ad-sidebar { display: none; }
}

.ad-top {
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 20px;
}
