/* ============================================
   Services Page Styles
   ============================================ */

/* Page Header */
.page-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.page-header h1 {
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Service Detail Sections */
.service-detail {
    position: relative;
}

.service-detail.alternate {
    background: var(--darker-bg);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-detail-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Service Features */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.service-features .feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-features .feature-item i {
    color: #10b981;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-features .feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.service-features .feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Pricing */
.service-pricing {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-tag {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.price-tag span {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 5px;
}

/* Visual Cards */
.visual-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

/* Code Preview */
.code-preview {
    background: #1a1a24;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.code-header {
    background: #252530;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.code-content {
    padding: 25px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.code-content .comment {
    color: #6a9955;
}

.code-content .keyword {
    color: #569cd6;
}

.code-content .function {
    color: #dcdcaa;
}

.code-content .string {
    color: #ce9178;
}

.code-content .number {
    color: #b5cea8;
}

.code-content .boolean {
    color: #569cd6;
}

/* Stats Mini */
.stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
}

.stat-mini-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-mini-item h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.stat-mini-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s;
}

.gallery-item:hover .placeholder-image {
    transform: scale(1.05);
}

.generation-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
}

.generation-prompt p {
    flex: 1;
    color: var(--text-secondary);
    font-style: italic;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Chat Interface */
.chat-interface {
    background: #1a1a24;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.chat-header {
    background: var(--gradient-primary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-header h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.online-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.online-status i {
    font-size: 0.5rem;
    color: #10b981;
}

.chat-messages {
    padding: 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    animation: messageSlide 0.3s ease;
}

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

.bot-message {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    align-self: flex-start;
}

.user-message {
    background: var(--gradient-primary);
    align-self: flex-end;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    align-self: flex-start;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: #1a1a24;
    border-radius: 15px;
    padding: 20px;
}

.dashboard-header {
    margin-bottom: 20px;
}

.dashboard-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dash-stat {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 15px;
    position: relative;
}

.dash-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.dash-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-trend {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.stat-trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dashboard-chart {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px;
    height: 150px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 10px;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 6px 6px 0 0;
    animation: barGrow 1s ease;
}

@keyframes barGrow {
    from {
        height: 0;
    }
}

/* Video Preview */
.video-preview {
    background: #1a1a24;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-player {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s;
}

.video-player:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    font-size: 0.9rem;
}

.video-timeline {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.timeline-progress {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #252530;
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.video-controls button:hover {
    color: var(--primary-color);
}

.video-controls .time {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Custom AI Visual */
.custom-ai-visual {
    background: #1a1a24;
    border-radius: 15px;
    padding: 40px;
    min-height: 400px;
    position: relative;
}

.ai-nodes {
    position: relative;
    height: 300px;
    margin-bottom: 30px;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    animation: nodeFloat 3s infinite ease-in-out;
}

.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node-2 {
    bottom: 0;
    left: 10%;
    animation-delay: -1s;
}

.node-3 {
    bottom: 0;
    right: 10%;
    animation-delay: -2s;
}

.node-4 {
    top: 50%;
    right: 0;
    animation-delay: -1.5s;
}

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

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connections line {
    stroke: rgba(99, 102, 241, 0.3);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.integration-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.integration-badges .badge {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .service-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 50vh;
        padding-top: 100px;
    }
    
    .service-detail-content h2 {
        font-size: 2rem;
    }
    
    .stats-mini {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .generation-prompt {
        flex-direction: column;
    }
    
    .ai-nodes {
        height: 250px;
    }
    
    .node {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section { background: var(--bg-secondary); }

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

.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    margin: 20px 0 30px;
}

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

.price .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section { background: var(--bg-primary); }

.faq-grid {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

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

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

/* ============================================
   Animated Illustrations Styles
   ============================================ */

/* Real Image Wrapper with Animation */
.real-image-wrapper {
    width: 100%;
    height: 450px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    animation: imageZoomPulse 8s ease-in-out infinite;
}

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

.service-real-image:hover {
    transform: scale(1.12) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

/* Image Overlay with Icon */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.real-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 80px;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
}

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

/* Animated border effect */
.real-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: gradientShift 4s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.real-image-wrapper:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glowing particles effect */
.real-image-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particles 20s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

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

/* Tech Badges under images */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
}

.tech-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive adjustments for real images */
@media (max-width: 768px) {
    .real-image-wrapper {
        height: 350px;
    }
    
    .overlay-icon {
        font-size: 60px;
    }
    
    .tech-badges {
        gap: 8px;
        padding: 15px;
    }
    
    .tech-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .real-image-wrapper {
        height: 280px;
    }
    
    .overlay-icon {
        font-size: 50px;
    }
}

/* ============================================
   AIZONIQ ACADEMY - PREMIUM STYLES
   ============================================ */

.ai-academy-section {
    background: var(--dark-bg);
}

/* Academy Hero */
.academy-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.academy-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.5rem;
    animation: floatAnim 6s ease-in-out infinite;
}

.float-1 { top: 15%; left: 10%; animation-delay: 0s; }
.float-2 { top: 25%; right: 15%; animation-delay: 1s; }
.float-3 { top: 60%; left: 8%; animation-delay: 2s; }
.float-4 { top: 70%; right: 10%; animation-delay: 3s; }
.float-5 { top: 40%; right: 5%; animation-delay: 4s; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.badge-live {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.academy-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.academy-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.academy-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.btn-academy-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}

.btn-academy-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.4);
}

.btn-academy-cta.large {
    padding: 22px 50px;
    font-size: 1.2rem;
}

/* Curriculum Section */
.academy-curriculum {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.section-badge.emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.curriculum-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.curriculum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.curriculum-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.curriculum-card:hover::before {
    transform: scaleX(1);
}

.curriculum-card.featured {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
}

.curriculum-card.featured::before {
    transform: scaleX(1);
}

.card-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

[dir="rtl"] .card-ribbon {
    right: auto;
    left: -30px;
    transform: rotate(-45deg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 20px;
}

.card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

[dir="rtl"] .card-number {
    right: auto;
    left: 25px;
}

.curriculum-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.curriculum-card > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

/* Instructor Section */
.academy-instructor {
    padding: 80px 0;
    background: var(--darker-bg);
}

.instructor-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 50px;
}

.instructor-image {
    position: relative;
    flex-shrink: 0;
}

.instructor-avatar {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
}

.instructor-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.instructor-badge i {
    color: #10b981;
}

.instructor-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.instructor-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.instructor-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.instructor-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.instructor-stats {
    display: flex;
    gap: 40px;
}

.ins-stat {
    text-align: center;
}

.ins-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 5px;
}

.ins-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Academy Pricing */
.academy-pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}

/* Single Plan Layout */
.pricing-cards.single-plan {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.price-card.single {
    transform: none;
}

.price-card.single:hover {
    transform: translateY(-10px);
}

.price-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
}

.price-card.featured {
    border: 2px solid #10b981;
    transform: scale(1.05);
    z-index: 2;
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.price-header {
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-card.featured .price-header {
    padding-top: 60px;
}

.price-tier {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.price-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.price-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 5px;
}

.price-amount .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-savings {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 15px;
}

.price-body {
    padding: 30px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: #10b981;
    margin-top: 3px;
}

.price-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.price-features li.disabled i {
    color: var(--text-muted);
}

.btn-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-price:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.btn-price.featured {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    color: #fff;
}

.btn-price.featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-price.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: transparent;
    color: #fff;
}

.btn-price.premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* WhatsApp Button */
.btn-price.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-price.whatsapp-btn i {
    font-size: 1.4rem;
    margin-right: 10px;
}

[dir="rtl"] .btn-price.whatsapp-btn i {
    margin-right: 0;
    margin-left: 10px;
}

.btn-price.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* Simple Payment Showcase */
.payment-showcase.simple {
    text-align: center;
    padding: 40px;
}

.payment-showcase.simple .payment-header {
    flex-direction: column;
    gap: 15px;
}

.payment-showcase.simple .payment-header h4 {
    margin: 0;
}

.payment-desc {
    color: var(--text-secondary);
    margin: 20px 0;
    font-size: 1rem;
}

.payment-methods-simple {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.payment-methods-simple span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-methods-simple i {
    color: #10b981;
}

/* Payment Showcase */
.payment-showcase {
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 50px;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.payment-header i {
    font-size: 2rem;
    color: #10b981;
}

.payment-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.payment-methods-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.method-icon {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.8rem;
}

.method-icon.apple { background: #000; color: #fff; }
.method-icon.google { background: #fff; color: #4285f4; }
.method-icon.stripe { background: #6772e5; color: #fff; }
.method-icon.paypal { background: #003087; color: #fff; }
.method-icon.visa { background: #1a1f71; color: #fff; }
.method-icon.mastercard { background: #eb001b; color: #fff; }
.method-icon.amex { background: #006fcf; color: #fff; }

.payment-method span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-trust {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-item i {
    color: #10b981;
}

/* Testimonials */
.academy-testimonials {
    padding: 100px 0;
    background: var(--dark-bg);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #f59e0b;
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 3px;
}

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

/* Academy FAQ */
.academy-faq {
    padding: 100px 0;
    background: var(--darker-bg);
}

.faq-accordion {
    max-width: 800px;
    margin: 60px auto 0;
}

.academy-faq .faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.academy-faq .faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.academy-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.academy-faq .faq-question i {
    color: #10b981;
    transition: transform 0.3s ease;
}

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

.academy-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.academy-faq .faq-item.active .faq-answer {
    max-height: 200px;
}

.academy-faq .faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Final CTA */
.academy-final-cta {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.cta-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-content > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-guarantee i {
    color: #10b981;
}

/* Responsive */
@media (max-width: 1024px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .academy-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .academy-stats-row {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .payment-methods-row {
        gap: 10px;
    }
    
    .payment-method {
        padding: 15px 20px;
    }
    
    .payment-trust {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-card {
        padding: 50px 30px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .float-icon {
        display: none;
    }
}

/* ============================================
   Payment Modal Styles
   ============================================ */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.payment-modal-overlay.active {
    opacity: 1;
}

.payment-modal {
    background: var(--card-bg, #1a1a2e);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.payment-modal-overlay.active .payment-modal {
    transform: translateY(0);
}

.payment-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary, #fff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[dir="rtl"] .payment-modal-close {
    right: auto;
    left: 15px;
}

.payment-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header h2 {
    font-size: 1.8rem;
    color: var(--text-primary, #fff);
    margin-bottom: 10px;
}

.payment-header .course-name {
    color: var(--text-secondary, #aaa);
    font-size: 1rem;
    margin-bottom: 15px;
}

.payment-header .payment-amount {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #fff);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-btn i {
    font-size: 1.5rem;
}

.payment-method-btn.apple-pay:hover {
    background: #000;
    border-color: #000;
}

.payment-method-btn.google-pay:hover {
    background: #4285f4;
    border-color: #4285f4;
}

.payment-method-btn.paypal:hover {
    background: #003087;
    border-color: #003087;
}

.payment-method-btn.stripe:hover {
    background: #6772e5;
    border-color: #6772e5;
}

/* Card Form */
.card-form-container {
    animation: fadeIn 0.3s ease;
}

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

.card-form-container .form-group {
    margin-bottom: 20px;
}

.card-form-container label {
    display: block;
    color: var(--text-secondary, #aaa);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.card-form-container input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary, #fff);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.card-form-container input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.card-form-container input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.card-form-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pay-now-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pay-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #888);
    font-size: 0.85rem;
}

.payment-security i {
    color: #10b981;
}

/* Payment Processing */
.payment-processing {
    text-align: center;
    padding: 60px 20px;
}

.processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(16, 185, 129, 0.2);
    border-top-color: #10b981;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-processing h3 {
    color: var(--text-primary, #fff);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.payment-processing p {
    color: var(--text-secondary, #aaa);
}

/* Payment Success */
.payment-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.payment-success h3 {
    color: #10b981;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.payment-success > p {
    color: var(--text-secondary, #aaa);
    margin-bottom: 25px;
}

.success-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.success-details p {
    color: var(--text-primary, #fff);
    margin-bottom: 10px;
}

.success-details p:last-child {
    margin-bottom: 0;
}

.email-notice {
    color: var(--text-muted, #888);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.email-notice i {
    margin-right: 8px;
    color: #6366f1;
}

[dir="rtl"] .email-notice i {
    margin-right: 0;
    margin-left: 8px;
}

/* Training Pricing Section */
.training-pricing-section .pricing-card {
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.training-pricing-section .pricing-card.featured {
    border-color: #10b981;
}

.training-pricing-section .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Payment Icons */
.payment-icons .payment-icon {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.payment-icons .payment-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 600px) {
    .payment-modal {
        padding: 25px;
        margin: 10px;
    }
    
    .payment-header h2 {
        font-size: 1.4rem;
    }
    
    .payment-header .payment-amount {
        font-size: 2.5rem;
    }
    
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .card-form-container .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-icons {
        gap: 10px !important;
    }
    
    .payment-icon {
        padding: 8px 12px !important;
    }
}
/* ============================================
   Premium Checkout Modal
   ============================================ */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-overlay.active .checkout-modal {
    transform: translateY(0) scale(1);
}

.checkout-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

[dir="rtl"] .checkout-close {
    right: auto;
    left: 20px;
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

.checkout-header {
    position: relative;
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.checkout-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.checkout-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.plan-name {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
}

.checkout-body {
    padding: 25px 30px;
}

.payment-options h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.payment-option.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-option.active .option-radio {
    border-color: #10b981;
}

.option-radio span {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.payment-option.active .option-radio span {
    opacity: 1;
    transform: scale(1);
}

.option-icon {
    width: 45px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.option-icon.apple { background: #000; color: #fff; }
.option-icon.google { background: #fff; color: #4285f4; }
.option-icon.paypal { background: #003087; color: #fff; }
.option-icon.card { background: linear-gradient(135deg, #6772e5, #8b5cf6); color: #fff; }

.option-info {
    flex: 1;
}

.option-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

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

.card-form {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.form-field input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.card-input-wrapper {
    position: relative;
}

.card-brands {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

[dir="rtl"] .card-brands {
    right: auto;
    left: 15px;
}

.card-brands i {
    font-size: 1.3rem;
    opacity: 0.4;
}

.card-input-wrapper input {
    padding-right: 100px;
}

[dir="rtl"] .card-input-wrapper input {
    padding-right: 16px;
    padding-left: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-footer {
    padding: 25px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.checkout-btn.success {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.checkout-btn.success:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.checkout-security i {
    color: #10b981;
}

/* Processing Animation */
.checkout-processing {
    padding: 80px 30px;
    text-align: center;
}

.processing-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.processing-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(16, 185, 129, 0.1);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.processing-animation i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #10b981;
}

.checkout-processing h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.checkout-processing p {
    color: var(--text-muted);
}

/* Success Animation */
.checkout-success {
    padding: 50px 30px;
    text-align: center;
}

.success-animation {
    margin-bottom: 25px;
}

.success-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-circle i {
    font-size: 2.5rem;
    color: #fff;
    animation: checkmark 0.3s ease 0.3s both;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.checkout-success h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.checkout-success > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.checkout-success .success-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: var(--text-muted);
}

.detail-row strong {
    color: var(--text-primary);
}

.success-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.success-email i {
    color: #6366f1;
}

@media (max-width: 500px) {
    .checkout-modal {
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }
    
    .checkout-header,
    .checkout-body,
    .checkout-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Saudi Arabia Checkout Enhancements 🇸🇦
   ============================================ */

/* Saudi Checkout Modal */
.saudi-checkout .checkout-header {
    position: relative;
}

.saudi-checkout .saudi-flag {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.5rem;
}

[dir="rtl"] .saudi-checkout .saudi-flag {
    left: auto;
    right: 20px;
}

/* Mada Payment Icon */
.option-icon.mada {
    background: linear-gradient(135deg, #1D4ED8, #3B82F6);
    color: #fff;
    font-weight: bold;
    font-size: 0.7rem;
}

.option-icon.mada svg {
    width: 100%;
    height: 100%;
}

/* STC Pay Icon */
.option-icon.stcpay {
    background: #4F3C8B;
    padding: 4px;
}

.option-icon.stcpay svg {
    width: 100%;
    height: 100%;
}

/* Tamara Icon */
.option-icon.tamara {
    background: #3CAEA3;
    padding: 4px;
}

.option-icon.tamara svg {
    width: 100%;
    height: 100%;
}

/* Tabby Icon */
.option-icon.tabby {
    background: #292929;
    padding: 4px;
}

.option-icon.tabby svg {
    width: 100%;
    height: 100%;
}

/* Popular Tag */
.payment-option .popular-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

[dir="rtl"] .payment-option .popular-tag {
    margin-left: 0;
    margin-right: auto;
}

/* Installment Tag */
.payment-option .installment-tag {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

[dir="rtl"] .payment-option .installment-tag {
    margin-left: 0;
    margin-right: auto;
}

/* Featured Payment Option */
.payment-option.featured {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

/* Installment Payment Option */
.payment-option.installment {
    border-color: rgba(245, 158, 11, 0.3);
}

.payment-option.installment:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.1);
}

.payment-option.installment.active {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

/* Phone Input with Country Code */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.phone-input-wrapper .country-code {
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

[dir="rtl"] .phone-input-wrapper .country-code {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-input-wrapper input {
    border: none;
    background: transparent;
    flex: 1;
}

.phone-input-wrapper input:focus {
    border: none;
    background: transparent;
}

/* Installment Details Box */
.installment-details {
    margin-top: 20px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.installment-breakdown h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 15px;
}

.installment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.installment-item:last-child {
    border-bottom: none;
}

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

.installment-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.installment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
}

.installment-total span {
    color: var(--text-secondary);
    font-weight: 600;
}

.installment-total strong {
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: 700;
}

.installment-total small {
    color: #10b981;
    font-size: 0.75rem;
    margin-left: 10px;
}

[dir="rtl"] .installment-total small {
    margin-left: 0;
    margin-right: 10px;
}

/* Saudi Success Page */
.saudi-success .success-flag {
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-whatsapp {
    margin: 20px 0;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

/* Installment Note in Success */
.detail-row.installment-note {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 5px -10px;
}

.detail-row.installment-note strong {
    color: #f59e0b;
}

/* Saudi Payment Methods Showcase */
.payment-showcase .saudi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(0, 128, 53, 0.2), rgba(0, 88, 38, 0.2));
    color: #10b981;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 15px;
}

[dir="rtl"] .payment-showcase .saudi-badge {
    margin-left: 0;
    margin-right: 15px;
}

.payment-method.featured {
    position: relative;
    border: 2px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

.payment-method .method-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.payment-method .method-badge.installment {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.method-icon.mada {
    background: linear-gradient(135deg, #1D4ED8, #3B82F6);
    color: #fff;
}

.method-icon.stcpay {
    background: #4F3C8B;
}

.method-icon.tamara {
    background: #3CAEA3;
}

.method-icon.tabby {
    background: #292929;
}

.processing-note {
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Price Amount - SAR styling */
.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-amount .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-amount .currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}