/* Base Styles */

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}
    
/* Pricing Page Specific Styles */
.pricing-hero {
    background: linear-gradient(135deg, #112240, #0a192f);
    min-height: 100vh;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hologrid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
    animation: gridPulse 15s infinite alternate;
}

@keyframes gridPulse {
    0% { opacity: 0.2; background-size: 40px 40px; }
    50% { opacity: 0.4; background-size: 45px 45px; }
    100% { opacity: 0.2; background-size: 40px 40px; }
}

.pricing-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.glitch-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 15px;
}

.pricing-glitch-title {
    font-size: clamp(1.8rem, 6vw, 4rem);
    color: #64ffda;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    animation: glitchSkew 4s infinite;
}

@keyframes glitchSkew {
    0%, 40%, 44%, 58%, 61%, 65%, 69%, 73%, 100% {
        transform: skew(0deg);
    }
    41% {
        transform: skew(5deg);
    }
    42% {
        transform: skew(-5deg);
    }
    59% {
        transform: skew(10deg);
    }
    60% {
        transform: skew(-10deg);
    }
    63% {
        transform: skew(5deg);
    }
    70% {
        transform: skew(-2deg);
    }
    71% {
        transform: skew(2deg);
    }
}

.pricing-subtext {
    color: #ccd6f6;
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

.pricing-subtext::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #64ffda, transparent);
    bottom: -15px;
    left: 25%;
    animation: lineExtend 3s infinite alternate;
}

@keyframes lineExtend {
    0% { width: 50%; }
    100% { width: 70%; }
}

/* Pricing Tiers */
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    padding: 0 15px;
}

.cyber-tier {
    background: rgba(17, 34, 64, 0.7);
    border-radius: 15px;
    padding: 30px 25px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cyber-tier:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.5);
}

.tier-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(100, 255, 218, 0.2);
    color: #64ffda;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.tier-name {
    color: #64ffda;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.tier-name::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #64ffda;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.cyber-tier:hover .tier-name::after {
    width: 100%;
}

.tier-price {
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: #64ffda;
    margin-bottom: 20px;
    font-weight: bold;
}

.tier-price span {
    font-size: 0.8rem;
    color: #a8b2d1;
}

.tier-desc {
    color: #a8b2d1;
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: auto;
}

.tier-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #ccd6f6;
    font-size: clamp(0.85rem, 3vw, 1rem);
}

.feature-item i {
    color: #64ffda;
    font-size: 0.9rem;
}

.tier-btn {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    font-size: clamp(0.85rem, 3vw, 1rem);
    z-index: 9999;
}


.tier-btn.secondary {
    background: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    margin-top: 10px;
}

.tier-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.4);
}

/* Popular Tier */
.popular-tier {
    border: 1px solid rgba(100, 255, 218, 0.5);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.2);
}

.popular-badge {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
}

/* Comparison Table */
.comparison-section {
    background: rgba(17, 34, 64, 0.5);
    border-radius: 15px;
    padding: 40px 20px;
    margin-bottom: 60px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    overflow-x: auto;
}

.comparison-title {
    text-align: center;
    color: #64ffda;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 40px;
    padding: 0 15px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    color: #64ffda;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.3);
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    color: #ccd6f6;
    font-size: clamp(0.85rem, 3vw, 1rem);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.feature-check {
    color: #64ffda;
    text-align: center;
}

.feature-missing {
    color: #a8b2d1;
    opacity: 0.5;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
    padding: 0 15px;
}

.faq-title {
    text-align: center;
    color: #64ffda;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(17, 34, 64, 0.5);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    color: #64ffda;
    font-size: clamp(1rem, 3vw, 1.2rem);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(100, 255, 218, 0.1);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #a8b2d1;
    line-height: 1.6;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #112240, #0a192f);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.2);
    margin-bottom: 60px;
}

.cta-title {
    color: #64ffda;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}

.cta-text {
    color: #ccd6f6;
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
    padding: 0 15px;
}

.cta-btn {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(1rem, 3vw, 1.1rem);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.4);
}


.cyber-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 40px;
}

.brand-name {
    color: #64ffda;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagline {
    color: #a8b2d1;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}


.cyber-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    color: #ccd6f6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

.icon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #64ffda;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-icon:hover .icon-ring {
    opacity: 0.3;
    transform: scale(1.2);
}

.cyber-copyright {
    text-align: center;
    color: #a8b2d1;
    font-size: 0.8rem;
    margin-top: 30px;
}

.binary-effect {
    color: rgba(100, 255, 218, 0.3);
    margin-bottom: 10px;
    font-size: 0.7rem;
    word-break: break-all;
}

.pr-btn-active{
    background: linear-gradient(45deg, #da5757, #d34848);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cyber-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .pricing-hero {
        padding: 100px 0 40px;
    }
    
    .cyber-tier {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 12px 15px;
    }
    
    .cta-section {
        padding: 50px 15px;
    }
}

@media (max-width: 375px) {
    .cyber-tier {
        padding: 20px 15px;
    }
    
    .tier-btn {
        padding: 10px 15px;
    }
    
    .cta-btn {
        padding: 12px 20px;
    }
}



/* Modal Styles */
.cyber-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cyber-modal.active {
    opacity: 1;
    visibility: visible;
}

.cyber-modal-content {
    background: rgba(17, 34, 64, 0.95);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.cyber-modal.active .cyber-modal-content {
    transform: translateY(0);
}

.cyber-modal-header {
    padding: 25px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cyber-modal-title {
    color: #64ffda;
    font-size: 1.8rem;
    margin: 0;
}

.cyber-modal-title span {
    color: #ccd6f6;
    text-transform: uppercase;
}

.cyber-modal-close {
    background: transparent;
    border: none;
    color: #64ffda;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.cyber-modal-close:hover {
    transform: rotate(90deg);
    color: #2dd4bf;
}

.cyber-modal-body {
    padding: 25px;
    color: #ccd6f6;
}

.cyber-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Get Started Modal Specific Styles */
.modal-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #64ffda;
    margin-top: 0;
    margin-bottom: 10px;
}

.step-content p {
    margin: 0;
    line-height: 1.6;
}

.modal-contact-info {
    background: rgba(13, 27, 42, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.modal-contact-info h3 {
    color: #64ffda;
    margin-top: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.contact-method {
    color: #ccd6f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.contact-method i {
    width: 20px;
    text-align: center;
}

/* Learn More Modal Specific Styles */
.plan-details h3 {
    color: #64ffda;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-details ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.plan-details li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.plan-details li strong {
    color: #64ffda;
}

/* Modal Buttons */
.cyber-modal-btn {
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.cyber-modal-btn.primary {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
}

.cyber-modal-btn.secondary {
    background: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
}

.cyber-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cyber-modal-title {
        font-size: 1.5rem;
    }
    
    .cyber-modal-content {
        width: 95%;
    }
    
    .cyber-modal-footer {
        flex-direction: column;
    }
    
    .cyber-modal-btn {
        width: 100%;
        justify-content: center;
    }
}



/* Chatbot Container Adjustments */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-width: calc(100% - 40px);
    z-index: 1000; /* Below modals but above other content */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

/* When modal is open, lower chatbot z-index */
.modal-open .chatbot-container {
    z-index: 900; /* Below modal */
}

/* Chatbot toggle button should be above most content */
.chatbot-toggle {
    z-index: 1001;
}

/* Chatbot window should be below modals */
.chatbot-window {
    z-index: 1000;
}

/* Modals should be above everything */
.cyber-modal {
    z-index: 1100;
}

/* Ensure modal content is above chatbot */
.cyber-modal-content {
    z-index: 1101;
}