/* Main CSS for Digital Process Templates Sales Page */

:root {
    --primary-bg: #0f172a;
    /* Dark blue background */
    --primary-accent: #3b82f6;
    /* Blue accent */
    --secondary-bg: #ffffff;
    /* White background */
    --text-dark: #1e293b;
    /* Dark text */
    --text-light: #ffffff;
    /* White text */
    --text-muted: #64748b;
    /* Muted text */
    --border-color: #e2e8f0;
    /* Light border */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--secondary-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

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


/* Contact Page Styles */

.contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-accent);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item h4 i {
    color: var(--primary-accent);
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}


/* Form Styles */

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--secondary-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}


/* Active Navigation Link */

.nav-link.active {
    color: var(--primary-accent);
    font-weight: 600;
}


/* Header */

.header {
    background: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-bg);
    color: var(--text-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-header-btn {
    background: var(--primary-bg);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-header-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}


/* Mobile Menu Button */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Hero Section */

.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1e293b 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--text-light);
    color: var(--text-dark);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-proof {
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.customer-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stars {
    color: #fbbf24;
    font-size: 16px;
}


/* Problem Section */

.problem-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}


/* How It Works Section */

.how-it-works-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 48px;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-accent);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-accent);
}

.guarantee-icon {
    font-size: 2rem;
    color: var(--primary-accent);
    flex-shrink: 0;
}

.guarantee-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.guarantee-content p {
    color: var(--text-muted);
    line-height: 1.6;
}


/* Testimonials Section */

.testimonials-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-accent);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}


/* FAQ Section */

.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

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

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    display: none;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.problem-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problem-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 48px;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    text-align: center;
    padding: 32px 24px;
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.problem-icon.yellow {
    background: #fef3c7;
    color: #92400e;
}

.problem-icon.gray {
    background: #f1f5f9;
    color: #475569;
}

.problem-icon.purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-muted);
    font-size: 1rem;
}


/* Templates Section */

.templates-section {
    padding: 120px 0 80px;
    background: var(--secondary-bg);
}

.templates-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.templates-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 48px;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}


/* Testing Codes */

.template-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: visible;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
}

.template-card:hover {
    box-shadow: var(--shadow-lg);
}


/* Top gradient bars for each card */

.template-card:nth-child(1)::before {
    content: '';
    height: 8px;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
}

.template-card:nth-child(2)::before {
    content: '';
    height: 8px;
    background: linear-gradient(to right, #10b981, #059669);
}

.template-card:nth-child(3)::before {
    content: '';
    height: 8px;
    background: linear-gradient(to right, #8b5cf6, #7c3aed);
}

.template-header {
    padding: 24px 24px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.template-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.template-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.template-icon-container.blue {
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
}

.template-icon-container.green {
    background: linear-gradient(to right, #10b981, #059669);
}

.template-icon-container.purple {
    background: linear-gradient(to right, #8b5cf6, #7c3aed);
}

.template-icon {
    font-size: 24px;
    color: var(--text-light);
}

.price-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: pricePulse 2s infinite;
}

.template-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.template-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.template-content {
    padding: 0 24px 24px 24px;
}

.template-description {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 14px;
}

.template-details {
    margin-bottom: 24px;
}

.detail-section {
    margin-bottom: 16px;
}

.detail-section:last-child {
    margin-bottom: 24px;
}

.detail-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.detail-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.detail-section li:last-child {
    margin-bottom: 0;
}

.detail-section li i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 16px;
}

.detail-section li i.fa-star {
    color: #f59e0b;
    font-size: 14px;
}

.detail-section li i.fa-gift {
    color: #8b5cf6;
    font-size: 16px;
}

.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--text-light);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.download-btn i {
    font-size: 16px;
}


/* Template Actions */

.template-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.learn-more-btn {
    flex: 1;
    background: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    text-decoration: none;
}

.learn-more-btn:hover {
    background: var(--primary-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.learn-more-btn i {
    font-size: 16px;
}

.template-actions .download-btn {
    flex: 1;
}


/* Bundle Section */

.bundle-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #10b981;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.bundle-header {
    margin-bottom: 32px;
}

.bundle-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.badge.best-value {
    background: var(--text-dark);
    color: var(--text-light);
}

.badge.save {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: pricePulse 2s infinite;
}

.badge.limited {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    animation: pulse 2s infinite;
}

.urgency-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius);
    color: #d97706;
    font-weight: 500;
    font-size: 0.875rem;
}

.urgency-message i {
    color: #f59e0b;
}

.bundle-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.bundle-header p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.bundle-pricing {
    margin-bottom: 12px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-right: 12px;
}

.bundle-price {
    font-size: 3rem;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    animation: pricePulse 2s infinite;
}

.purchase-type {
    font-size: 14px;
    color: var(--text-muted);
}

.bundle-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.bundle-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.bundle-column ul {
    list-style: none;
    padding: 0;
}

.bundle-column li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.bundle-column li i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

.bundle-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--text-light);
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.bundle-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.bundle-btn i {
    font-size: 16px;
}


/* Footer */

.footer {
    background: var(--primary-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-accent);
    color: var(--text-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.footer-brand .logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}


/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-accent);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.back-to-top:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}


/* Smooth Scrolling */

html {
    scroll-behavior: smooth;
}


/* Focus States for Accessibility */

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}


/* Enhanced Notifications */

.enhanced-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.enhanced-notification.show {
    transform: translateX(0);
}

.enhanced-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
}

.notification-success .notification-content {
    border-left-color: #10b981;
}

.notification-error .notification-content {
    border-left-color: #ef4444;
}

.notification-warning .notification-content {
    border-left-color: #f59e0b;
}

.notification-info .notification-content {
    border-left-color: #3b82f6;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    color: #10b981;
}

.notification-error .notification-icon {
    color: #ef4444;
}

.notification-warning .notification-icon {
    color: #f59e0b;
}

.notification-info .notification-icon {
    color: #3b82f6;
}

.notification-text {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}


/* Loading States */

.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


/* Enhanced CTA Buttons */

.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


/* Enhanced Template Cards */

.template-card {
    transition: all 0.3s ease;
    position: relative;
}

.template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover::before {
    opacity: 1;
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}


/* Enhanced Bundle Section */

.bundle-section {
    position: relative;
    overflow: hidden;
}

.bundle-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}


/* Print Styles */

@media print {
    .header,
    .footer,
    .back-to-top,
    .download-btn,
    .bundle-btn {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .template-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}


/* Notification System */

.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    border-left: 4px solid var(--primary-accent);
}

.notification-success {
    border-left-color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-info {
    border-left-color: var(--primary-accent);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #10b981;
}

.notification-error .notification-content i {
    color: #ef4444;
}

.notification-info .notification-content i {
    color: var(--primary-accent);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Fade In Animation */

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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


/* Lazy Loading */

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}


/* Mobile Responsive */


/* Mobile Menu Styles */

.mobile-menu-btn {
    display: none;
}


/* Mobile Menu Active States */

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    border-top: 1px solid var(--border-color);
}

.nav-menu.active .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.nav-menu.active .nav-link:last-child {
    border-bottom: none;
}


/* Mobile Menu Button Animation */

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Responsive Design - Mobile First Approach */


/* Large Mobile and Small Tablet (481px - 768px) */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    /* Header Mobile Styles */
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: var(--transition);
    }
    .header-actions {
        gap: 8px;
    }
    .cta-header-btn {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    /* Hero Section Mobile */
    .hero {
        padding: 60px 0 40px;
    }
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 16px;
    }
    /* Social Proof Mobile */
    .social-proof {
        margin: 2rem 0;
    }
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .trust-badge {
        font-size: 14px;
        padding: 8px 16px;
    }
    .customer-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .stat {
        text-align: center;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 14px;
    }
    /* Problem Section Mobile */
    .problem-section {
        padding: 40px 0;
    }
    .problem-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .problem-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .problem-card {
        padding: 1.5rem;
    }
    /* How It Works Mobile */
    .how-it-works-section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .step-number {
        margin-bottom: 1rem;
    }
    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin-top: 2rem;
    }
    .guarantee-icon {
        margin-bottom: 1rem;
    }
    /* Templates Section Mobile */
    .templates-section {
        padding: 40px 0;
    }
    .templates-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .templates-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .template-card {
        padding: 1.5rem;
        height: auto;
        overflow: visible;
        min-height: auto;
        margin-bottom: 2rem;
    }
    .template-content {
        padding: 0 0 1rem 0;
    }
    .template-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    .template-details {
        margin-bottom: 1.5rem;
    }
    .detail-section {
        margin-bottom: 1rem;
    }
    .detail-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .detail-section p,
    .detail-section li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .template-header {
        margin-bottom: 1.5rem;
    }
    .template-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    .template-subtitle {
        font-size: 0.9rem;
    }
    .template-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .learn-more-btn,
    .download-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
    }
    /* Preview Section Mobile */
    .preview-section {
        padding: 30px 20px;
        margin: 30px 0;
    }
    .preview-header h3 {
        font-size: 1.5rem;
    }
    .preview-header p {
        font-size: 1rem;
    }
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .preview-item {
        padding: 1.5rem;
        height: auto;
        overflow: visible;
        margin-bottom: 1rem;
    }
    .preview-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    .preview-item p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    /* Bundle Section Mobile */
    .bundle-section {
        padding: 40px 0;
    }
    .bundle-header {
        padding: 2rem 1.5rem;
    }
    .bundle-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .bundle-header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .bundle-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    .bundle-pricing {
        margin: 1.5rem 0;
    }
    .bundle-price {
        font-size: 2.5rem;
    }
    .bundle-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .bundle-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        margin: 0 1.5rem;
    }
    /* Testimonials Mobile */
    .testimonials-section {
        padding: 40px 0;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    /* FAQ Mobile */
    .faq-section {
        padding: 40px 0;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .faq-question h3 {
        font-size: 1rem;
    }
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-sections {
        flex-direction: column;
        gap: 2rem;
    }
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    /* Contact Page Mobile */
    .contact-info {
        margin-top: 1rem;
    }
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .contact-item h4 {
        font-size: 0.95rem;
    }
    .contact-item p {
        font-size: 0.9rem;
    }
    /* Form Mobile */
    .form-group {
        margin-bottom: 1.25rem;
    }
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
    /* Utility Mobile */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    /* Urgency Message Mobile */
    .urgency-message {
        padding: 12px 16px;
        font-size: 14px;
    }
    /* Template Details Mobile */
    .template-details {
        margin: 1.5rem 0;
    }
    .detail-section {
        margin-bottom: 1.5rem;
    }
    .detail-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    .detail-section ul {
        margin-left: 1rem;
    }
    .detail-section li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}


/* Small Mobile (320px - 480px) */

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .templates-title {
        font-size: 1.6rem;
    }
    .bundle-header h2 {
        font-size: 1.5rem;
    }
    .template-title {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    .template-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    .detail-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .detail-section p,
    .detail-section li {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .bundle-price {
        font-size: 2rem;
    }
    .cta-button {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 15px;
    }
    .learn-more-btn,
    .download-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    .bundle-btn {
        padding: 14px 20px;
        font-size: 15px;
        margin: 0 12px;
    }
    .preview-grid {
        grid-template-columns: 1fr;
    }
    .trust-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 13px;
    }
}


/* Tablet (769px - 1024px) */

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .bundle-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .step:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}


/* Large Tablet and Small Desktop (1025px - 1200px) */

@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .preview-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}


/* Touch Device Optimizations */

@media (hover: none) and (pointer: coarse) {
    .cta-button:hover,
    .download-btn:hover,
    .learn-more-btn:hover,
    .bundle-btn:hover {
        transform: none;
    }
    .template-card:hover {
        transform: none;
    }
    .faq-question:hover {
        background: none;
    }
    /* Increase touch targets */
    .cta-button,
    .download-btn,
    .learn-more-btn,
    .bundle-btn {
        min-height: 44px;
    }
    .faq-question {
        min-height: 44px;
    }
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    /* Better touch feedback */
    .cta-button:active,
    .download-btn:active,
    .learn-more-btn:active,
    .bundle-btn:active {
        transform: scale(0.98);
    }
    .template-card:active {
        transform: scale(0.99);
    }
}


/* Landscape Mobile Optimizations */

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .preview-grid {
        grid-template-columns: 1fr;
    }
}


/* High DPI Display Optimizations */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .template-card,
    .problem-card,
    .testimonial-card {
        border-width: 0.5px;
    }
}


/* Reduced Motion for Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .template-card:hover,
    .cta-button:hover,
    .download-btn:hover {
        transform: none;
    }
}


/* Social Proof Section */


/* Responsive Design */


/* Product Preview Section */

.preview-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid #e2e8f0;
}

.preview-header {
    text-align: center;
    margin-bottom: 40px;
}

.preview-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.preview-header p {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

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

.preview-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-item:hover::before {
    opacity: 1;
}

.preview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.preview-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
}

.preview-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.preview-item p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.preview-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pricePulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
    }
}


/* GDPR Modal Styles */

.gdpr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.gdpr-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-content {
    background: var(--secondary-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.gdpr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gdpr-header h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.gdpr-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.gdpr-close:hover {
    color: var(--text-dark);
    background: var(--border-color);
}

.gdpr-body p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.gdpr-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 120px;
}

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

.gdpr-btn.primary:hover {
    background: var(--primary-dark);
}

.gdpr-btn.secondary {
    background: var(--border-color);
    color: var(--text-dark);
}

.gdpr-btn.secondary:hover {
    background: var(--text-muted);
    color: white;
}


/* Enhanced Trust Badge with Stripe */

.trust-badge.stripe {
    background: linear-gradient(135deg, #6772e5 0%, #5469d4 100%);
    color: white;
    font-weight: 600;
}


/* Enhanced Footer Trust Elements */

.footer-trust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

.stripe-logo {
    filter: grayscale(100%);
}

.stripe-logo:hover {
    filter: grayscale(0%);
}

.trust-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-links-mini a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-mini a:hover {
    color: var(--primary-accent);
}

.footer-links-mini span {
    color: var(--text-muted);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .footer-trust {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* Enhanced Accessibility & Contrast Improvements */


/* Ensure minimum contrast ratios for text */

.hero-title,
.hero-description,
.section-title,
.templates-title,
.problem-title {
    color: #1a1a1a;
}

.hero-title,
.hero-description {
    color: #ffffff;
}


/* Improve button contrast */

.cta-button.primary {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #ffffff;
    font-weight: 700;
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #b71c1c, #8e0000);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}


/* Improve focus states for keyboard navigation */

.cta-button:focus,
.nav-link:focus,
.faq-question:focus,
.mobile-menu-btn:focus {
    outline: 3px solid #2196f3;
    outline-offset: 2px;
    border-radius: 4px;
}


/* Enhanced focus for interactive elements */

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}


/* Improve text contrast for better readability */

.template-description,
.problem-subtitle,
.section-subtitle,
.footer-description {
    color: #424242;
    line-height: 1.6;
}


/* Ensure sufficient touch targets on mobile */

@media (max-width: 768px) {
    .cta-button,
    .nav-link,
    .faq-question {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* Improve form accessibility */

input,
textarea,
select {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    /* Prevents zoom on iOS */
}

input:focus,
textarea:focus,
select:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}


/* Enhanced error states */

.error {
    border-color: #f44336;
    background-color: #ffebee;
}

.error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 4px;
}


/* Improve loading states */

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


/* Skip to main content link for screen readers */

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}


/* Accessibility improvements */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.field-help {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}


/* Improve semantic structure */

main {
    outline: none;
}


/* Enhanced ARIA support */

[aria-hidden="true"] {
    display: none !important;
}


/* FAQ answers controlled by JavaScript display property */

.faq-answer {
    display: none;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 500px !important;
    overflow: visible !important;
    padding: 1.5rem !important;
}

[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}


/* Improve color contrast for trust badges */

.trust-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}


/* Enhanced mobile menu accessibility */

.mobile-menu-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* Improve testimonial accessibility */

.testimonial-card {
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: #e0e0e0;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}


/* Enhanced footer accessibility */

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #2196f3;
    text-decoration: underline;
}


/* Improve bundle section contrast */

.bundle-price {
    color: #d32f2f;
    font-weight: 800;
    font-size: 2rem;
}

.original-price {
    color: #666;
    text-decoration: line-through;
    font-size: 1.2rem;
}


/* Enhanced notification accessibility */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Improve GDPR modal accessibility */

.gdpr-modal {
    backdrop-filter: blur(5px);
}

.gdpr-content {
    max-height: 90vh;
    overflow-y: auto;
}

.gdpr-btn:focus {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}


/* Enhanced social proof section */

.customer-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}


/* Improve template card accessibility */

.template-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.template-card:focus-within {
    outline: 2px solid #2196f3;
    outline-offset: 4px;
}


/* Enhanced download button accessibility */

.download-btn {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.download-btn:focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}


/* Improve learn more button accessibility */

.learn-more-btn {
    background: transparent;
    color: #2196f3;
    border: 2px solid #2196f3;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #2196f3;
    color: #ffffff;
}

.learn-more-btn:focus {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}


/* Enhanced bundle button accessibility */

.bundle-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.bundle-btn:hover {
    background: linear-gradient(135deg, #f57c00, #e65100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.bundle-btn:focus {
    outline: 2px solid #ff9800;
    outline-offset: 2px;
}


/* Improve back to top button accessibility */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2196f3;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

.back-to-top:focus {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}


/* Enhanced trust logos accessibility */

.trust-logo {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.trust-logo:hover {
    filter: grayscale(0%) brightness(1);
}


/* Improve footer trust section */

.footer-trust {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.trust-text {
    color: #666;
    font-size: 0.875rem;
}

.footer-links-mini a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-mini a:hover {
    color: #2196f3;
}


/* Enhanced mobile responsiveness */

@media (max-width: 768px) {
    .customer-stats {
        gap: 1rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    .bundle-btn {
        width: 100%;
        justify-content: center;
    }
    .template-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .download-btn,
    .learn-more-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Print styles for accessibility */

@media print {
    .header,
    .footer,
    .back-to-top,
    .gdpr-modal {
        display: none !important;
    }
    .hero {
        background: #ffffff !important;
        color: #000000 !important;
        min-height: auto;
    }
    .cta-button {
        border: 1px solid #000000 !important;
        background: #ffffff !important;
        color: #000000 !important;
    }
}