/* Subscriptions Page Styles */
:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #CC8E35;
    --background: #FAFAF9;
    --secondary-bg: #F5F4F1;
    --card-bg: #FFFFFF;
    --text-primary: #1e293b;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --destructive: #DC2626;
}

.subscriptions-page-wrapper {
    font-family: 'Cairo', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
}

.subscriptions-page-wrapper * {
    box-sizing: border-box;
}

.subscriptions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #FAFAF9 0%, #F5F4F1 100%);
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.hero-decorative-1 {
    position: absolute;
    top: 5rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: rgba(204, 142, 53, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-decorative-2 {
    position: absolute;
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(30, 41, 59, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 41, 59, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1.25rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    box-shadow: 0 8px 30px -6px rgba(30, 41, 59, 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(30, 41, 59, 0.3);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(30, 41, 59, 0.05);
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-svg {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(30, 41, 59, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(204, 142, 53, 0.3);
    animation: pulse 2s infinite;
}

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

/* Problem Solution Section */
.problem-solution-section {
    padding: 5rem 0;
    background: var(--card-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto;
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-box, .solution-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ps-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ps-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon-box {
    background: rgba(220, 38, 38, 0.1);
}

.solution-icon-box {
    background: rgba(30, 41, 59, 0.1);
}

.ps-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.ps-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.problem-card {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.problem-card:hover {
    box-shadow: 0 4px 20px -4px rgba(220, 38, 38, 0.15);
}

.solution-card {
    background: rgba(30, 41, 59, 0.05);
    border: 1px solid rgba(30, 41, 59, 0.1);
}

.solution-card:hover {
    box-shadow: 0 4px 20px -4px rgba(30, 41, 59, 0.15);
}

.ps-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-card-icon {
    background: rgba(220, 38, 38, 0.1);
}

.solution-card-icon {
    background: rgba(30, 41, 59, 0.1);
}

.ps-card-content h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.ps-card-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.connection-arrow {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.arrow-circle {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: rgba(204, 142, 53, 0.1);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--background);
}

.badge-accent {
    display: inline-block;
    background: rgba(204, 142, 53, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(30, 41, 59, 0.3);
    box-shadow: 0 8px 30px -6px rgba(30, 41, 59, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background: var(--secondary-bg);
}

.comparison-table {
    max-width: 64rem;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(30, 41, 59, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #F9FAFB;
}

.comparison-header-cell {
    padding: 1.5rem;
    text-align: center;
    border-left: 1px solid var(--border);
    font-weight: 700;
}

.comparison-header-cell:first-child {
    text-align: right;
    border-left: none;
}

.comparison-header-cell:last-child {
    background: rgba(30, 41, 59, 0.05);
    position: relative;
}

.comparison-badge {
    position: absolute;
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-top: 1px solid var(--border);
}

.comparison-row:nth-child(even) {
    background: rgba(249, 250, 251, 0.5);
}

.comparison-cell {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border);
}

.comparison-cell:first-child {
    justify-content: flex-start;
    border-left: none;
}

.comparison-cell:last-child {
    background: rgba(30, 41, 59, 0.02);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 8px 30px -6px rgba(30, 41, 59, 0.15);
}

.pricing-card-featured {
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px rgba(204, 142, 53, 0.2);
}

.pricing-featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pricing-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-icon-box-accent {
    background: rgba(204, 142, 53, 0.2);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-period {
    color: var(--text-secondary);
}

.pricing-old-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.pricing-old-price-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-discount {
    background: rgba(204, 142, 53, 0.2);
    color: var(--accent);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pricing-feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-feature-icon-accent {
    background: rgba(204, 142, 53, 0.2);
}

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

.btn-accent:hover {
    background: #B87A2E;
}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.trust-decorative-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.trust-decorative-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.trust-content {
    position: relative;
    z-index: 10;
}

.trust-header {
    text-align: center;
    margin-bottom: 4rem;
}

.trust-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.trust-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 48rem;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.trust-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.trust-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.trust-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.trust-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--secondary-bg);
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    box-shadow: 0 4px 20px -4px rgba(30, 41, 59, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    text-align: right;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.faq-question:hover {
    background: rgba(30, 41, 59, 0.02);
}

.faq-icon {
    transition: transform 0.3s;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--background);
}

.cta-box {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-decorative-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 10rem;
    height: 10rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-decorative-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15rem;
    height: 15rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-decorative-3 {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 5rem;
    height: 5rem;
    background: rgba(204, 142, 53, 0.2);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 32rem;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-cta-accent {
    background: var(--accent);
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    box-shadow: 0 10px 40px rgba(204, 142, 53, 0.3);
}

.btn-cta-accent:hover {
    transform: scale(1.05);
}

.btn-cta-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    background: transparent;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2rem;
}

/* SVG Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

/* Responsive */
@media (min-width: 640px) {
    .hero-buttons, .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .cta-title {
        font-size: 3rem;
    }
    .trust-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
    .hero-text {
        text-align: right;
    }
    .hero-title {
        font-size: 3.75rem;
    }
    .problem-solution-grid {
        grid-template-columns: 1fr 1fr;
    }
}
