/* ============================================
   PRICING PAGE - DARK THEME (Matching Homepage)
   ============================================ */

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary, #0a0a1a);
    color: var(--text-primary, #f8fafc);
    min-height: 100vh;
}

/* Hero Section - Dark Theme with Gradient */
.hero {
    background: linear-gradient(135deg, var(--bg-primary, #0a0a1a) 0%, var(--bg-secondary, #0d1117) 50%, var(--bg-tertiary, #0f172a) 100%);
    padding: 120px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary, #94a3b8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Area */
.content {
    max-width: 1200px;
    margin: -40px auto 60px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Pricing Table Container - Glassmorphism */
.pricing-table {
    background: var(--glass-bg, rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.1));
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pricing-table h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary, #f8fafc);
    text-align: center;
    font-weight: 700;
}

/* Pricing Card - Dark Glassmorphism Style */
.pricing-card {
    background: var(--glass-bg, rgba(15, 23, 42, 0.6));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.1));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 25px 50px -12px rgba(99, 102, 241, 0.25),
        0 0 30px rgba(99, 102, 241, 0.15);
}

/* Card Header - Gradient Style */
.pricing-card .card-header {
    background: linear-gradient(135deg, var(--primary, #6366f1) 0%, var(--secondary, #8b5cf6) 100%) !important;
    padding: 32px 24px !important;
    position: relative;
    overflow: hidden;
}

.pricing-card .card-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pricing-card:hover .card-header::before {
    transform: translateX(100%);
}

.pricing-card .card-header h2 {
    color: #fff !important;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Card Body - Dark Theme */
.pricing-card .card-body {
    background: var(--glass-bg, rgba(15, 23, 42, 0.8)) !important;
    padding: 24px !important;
}

.pricing-card .card-body p {
    color: var(--text-secondary, #94a3b8) !important;
    font-size: 15px;
    line-height: 1.6;
}

/* Feature List */
.pricing-card .list-group {
    background: transparent !important;
    border: none !important;
}

.pricing-card .list-group-item {
    background: rgba(99, 102, 241, 0.05) !important;
    border: 1px solid rgba(99, 102, 241, 0.1) !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    padding: 12px 16px !important;
    color: var(--text-primary, #f8fafc) !important;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.pricing-card .list-group-item:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
}

.pricing-card .list-group-item i {
    color: var(--accent, #06b6d4) !important;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary, #6366f1) 0%, var(--secondary, #8b5cf6) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.choose-plan-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.choose-plan-btn:focus {
    outline: 2px solid var(--accent, #06b6d4);
    outline-offset: 2px;
}

.choose-plan-btn.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.choose-plan-btn.btn-success:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.choose-plan-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary, #6366f1) 0%, var(--secondary, #8b5cf6) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.choose-plan-btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary, #8b5cf6) 0%, var(--primary, #6366f1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.choose-plan-btn.btn-outline-primary {
    background: transparent;
    color: var(--primary, #6366f1);
    border: 2px solid var(--primary, #6366f1);
}

.choose-plan-btn.btn-outline-primary:hover {
    background: var(--primary, #6366f1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Table Styles (if used) */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, var(--primary, #6366f1) 0%, var(--secondary, #8b5cf6) 100%);
    color: #fff;
}

th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

th:first-child {
    border-radius: 12px 0 0 0;
}

th:last-child {
    border-radius: 0 12px 0 0;
}

td {
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--text-primary, #f8fafc);
}

tbody tr {
    transition: background 0.3s ease;
}

tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

tbody tr:last-child td {
    border-bottom: none;
}

.dial-code {
    font-weight: 700;
    color: var(--accent, #06b6d4);
    font-size: 18px;
}

.price {
    font-weight: 600;
    color: var(--text-primary, #f8fafc);
}

.price-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.price-badge.expensive {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

/* List Items */
li.list-group-item {
    list-style: none;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .content {
        padding: 0 20px;
        margin: -20px auto 40px;
    }
    
    .pricing-table {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card .card-header {
        padding: 24px 16px !important;
    }
    
    .pricing-card .card-body {
        padding: 16px !important;
    }
}

/* Light Theme Override */
body.light-theme {
    background: #f8fafc;
    color: #1e293b;
}

body.light-theme .hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

body.light-theme .hero::before {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

body.light-theme .hero h1 {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .hero p {
    color: rgba(255, 255, 255, 0.9);
}

body.light-theme .pricing-table {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body.light-theme .pricing-table h2 {
    color: #1e293b;
}

body.light-theme .pricing-card {
    background: #fff;
    border-color: #e2e8f0;
}

body.light-theme .pricing-card .card-body {
    background: #fff !important;
}

body.light-theme .pricing-card .card-body p {
    color: #64748b !important;
}

body.light-theme .pricing-card .list-group-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

body.light-theme td {
    color: #1e293b;
    border-color: #e2e8f0;
}

body.light-theme tbody tr:hover {
    background: #f8fafc;
}