/* Custom CSS for GalaxyCore - Pixel-perfect replica of spok.app design */

:root {
    /* Exact colors extracted from spok.app */
    --primary-bg: rgb(27, 27, 35);
    --primary-purple: rgb(123, 66, 255);
    --secondary-purple: rgb(104, 38, 255);
    --text-white: rgb(255, 255, 255);
    --text-gray: rgb(217, 217, 217);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background gradient matching spok.app */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgb(27, 27, 35) 0%, 
        rgb(45, 25, 85) 25%, 
        rgb(65, 35, 125) 50%, 
        rgb(85, 45, 165) 75%, 
        rgb(105, 55, 205) 100%);
    z-index: -1;
    opacity: 0.9;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white) !important;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

.btn-primary {
    background: var(--primary-purple);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 66, 255, 0.3);
}

.btn-outline-light {
    border: 1px solid var(--border-color);
    color: var(--text-white);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--card-bg);
    border-color: var(--primary-purple);
    color: var(--text-white);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    padding: 2rem 0;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(123, 66, 255, 0.2);
    border-color: var(--primary-purple);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Pricing Preview */
.pricing-preview {
    padding: 80px 0;
}

.pricing-highlight {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.price-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1;
}

.price-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.pricing-note {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(123, 66, 255, 0.25);
    color: var(--text-white);
}

.contact-form .form-control::placeholder {
    color: var(--text-gray);
}

.contact-form .form-label {
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.thank-you-message {
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.footer-title {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-purple);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: var(--text-gray);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .contact-card,
    .pricing-highlight {
        padding: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* Pricing Cards */
.pricing-section {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(123, 66, 255, 0.2);
    border-color: var(--primary-purple);
}

.pricing-card.featured {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(123, 66, 255, 0.3);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-toggle {
    margin-bottom: 1rem;
}

.toggle-label {
    color: var(--text-gray);
    font-size: 0.875rem;
}

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

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1;
    display: block;
}

.price-period {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.pricing-description {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-description p {
    color: var(--text-gray);
    line-height: 1.6;
}

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

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-purple);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.pricing-cta {
    text-align: center;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
}

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

.faq-icon {
    color: var(--primary-purple);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

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

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

/* Search Box */
.search-container {
    max-width: 500px;
    margin: 0 auto;
}

.search-box {
    position: relative;
}

.search-input {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 1rem 1rem 1rem 3rem;
    color: var(--text-white);
    font-size: 1rem;
    width: 100%;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(123, 66, 255, 0.25);
    color: var(--text-white);
}

.search-input::placeholder {
    color: var(--text-gray);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

/* Legal Pages */
.legal-content {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.legal-document {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.legal-updated {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background: rgba(123, 66, 255, 0.1);
    border: 1px solid var(--primary-purple);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-details p {
    color: var(--text-white);
    margin: 0;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.pricing-highlight,
.contact-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}
