/* SmartApply Pro - Modern Landing Page Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-gray-50: #f8fafc;
    --bg-gray-100: #f1f5f9;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-logo {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-gray-50);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    background: var(--bg-gray-50);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: var(--bg-white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.hero-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Features Section */
.features {
    padding: 7rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.2));
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Pricing Section */
.pricing {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, var(--bg-white) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.pricing-card-featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-price-bdt {
    display: none;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.05rem;
    color: var(--text-light);
}

.pricing-savings {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 0.75rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-medium);
    font-size: 0.98rem;
    border-bottom: 1px solid var(--bg-gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq {
    padding: 7rem 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-gray-50);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.7;
    display: none;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, var(--bg-white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-details h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-gray-100);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1000;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
    position: relative;
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.25rem;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--text-dark);
    background: var(--bg-gray-100);
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

#card-element {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

#card-element:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

#card-errors,
#payment-errors {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.payment-summary {
    background: var(--bg-gray-50);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.summary-item:last-child {
    margin-bottom: 0;
    font-weight: 700;
    border-top: 2px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.1rem;
}

.summary-label {
    color: var(--text-light);
}

.summary-value {
    color: var(--text-dark);
    font-weight: 600;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Payment Method Selection */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-method-option {
    position: relative;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-method-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.payment-method-label:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.02);
}

.payment-method-option input[type="radio"]:checked+.payment-method-label {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.payment-method-label i {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.payment-method-label .payment-method-description {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.375rem;
}

/* Bkash/Nagad Instructions */
.bkash-instructions {
    background: var(--gradient-secondary);
    color: white;
    padding: 1.75rem;
    border-radius: 16px;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 16px rgba(236, 72, 153, 0.3);
}

.bkash-instructions h4 {
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.bkash-instructions ol {
    margin-left: 1.5rem;
}

.bkash-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.bkash-instructions strong {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

.success-message,
.activation-steps,
.order-details {
    line-height: 1.8;
}

.activation-steps,
.order-details {
    background: var(--bg-gray-50);
    padding: 1.75rem;
    border-radius: 16px;
    margin: 1.75rem 0;
    border-left: 4px solid var(--primary-color);
}

.support-note {
    padding: 1.25rem;
    background: var(--bg-gray-50);
    border-radius: 12px;
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Icons */
.icon-check::before {
    content: 'âœ"';
    font-weight: bold;
    color: var(--success-color);
}

.icon-chart::before {
    content: 'ðŸ"Š';
}

.icon-target::before {
    content: 'ðŸŽ¯';
}

.icon-rocket::before {
    content: 'ðŸš€';
}

.icon-clock::before {
    content: 'â±ï¸';
}

.icon-layout::before {
    content: 'ðŸ"±';
}

.icon-shield::before {
    content: 'ðŸ"';
}

.icon-zap::before {
    content: 'âš¡';
}

.icon-lock::before {
    content: 'ðŸ"';
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        gap: 4rem;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-feature {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1.25rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-feature {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .hero-feature-icon {
        width: 20px;
        height: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-img {
        transform: none;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .features,
    .pricing,
    .faq,
    .contact {
        padding: 5rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
}

/* User Dashboard Link Styles */
.user-dashboard-link {
    display: inline-flex !important;
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-dashboard-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.user-dashboard-link i {
    margin-right: 0.5rem;
}

/* Trial Modal Styles */
.trial-benefits {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.trial-benefits h4 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.trial-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trial-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-medium);
}

.trial-benefits li i {
    color: var(--success-color);
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.spinner {
    display: inline-block;
    margin-left: 0.5rem;
}

.spinner.hidden {
    display: none;
}

/* Ensure modal is centered on all devices */
@media (max-width: 768px) {
    .modal.active {
        padding: 10px;
    }

    .modal-content {
        width: 95%;
        max-width: none;
        margin: 0;
    }
}