/* Custom CSS for DigitalVista - Replicating Spoken.io Design */

:root {
    --primary-color: rgb(185, 4, 77);
    --text-dark: rgb(9, 9, 11);
    --text-light: rgb(107, 114, 128);
    --bg-white: rgb(255, 255, 255);
    --bg-light: rgb(248, 249, 250);
    --border-color: rgb(229, 231, 235);
}

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

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.brand-text {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

.badge {
    font-size: 10px;
    padding: 2px 6px;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.text-accent {
    color: var(--primary-color);
}

.hero-intro {
    max-width: 800px;
    margin: 0 auto;
}

.intro-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgb(165, 4, 67);
    border-color: rgb(165, 4, 67);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(185, 4, 77, 0.3);
}

/* Product Cards */
.product-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.price-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
    margin-right: 8px;
}

.current-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.partner-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.feature-mockup {
    position: relative;
}

.mockup-container {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mockup-container img {
    border-radius: 12px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.campaign-gallery {
    position: relative;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
}

.gallery-overlay i {
    color: var(--primary-color);
}

/* Articles Section */
.articles-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.article-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: rgb(165, 4, 67);
}

/* Footer */
.footer {
    background-color: var(--text-dark) !important;
}

.footer .logo-circle {
    background: var(--primary-color);
}

.footer .brand-text {
    color: white;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 30, 255, 0.8);
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .partner-logos {
        justify-content: center;
    }
    
    .gallery-item img {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .product-image img {
        height: 200px;
    }
}

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

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

.hero-section > * {
    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%;
}

/* Pricing Page Styles */
.pricing-hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.pricing-plans {
    padding: 80px 0;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 16px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    vertical-align: top;
}

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

.period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.plan-description {
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 14px;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Contact Page Styles */
.contact-hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(185, 4, 77, 0.25);
}

.contact-info-section {
    padding: 80px 0;
}

.contact-info-item {
    padding: 30px 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 24px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: rgb(165, 4, 67);
}

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

/* FAQ Styles */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: white;
    border: none;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px 24px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

/* Terms and Privacy Page Styles */
.terms-section,
.privacy-section {
    padding: 80px 0;
}

.terms-content,
.privacy-content {
    line-height: 1.8;
}

.terms-content h2,
.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.terms-content h2:first-child,
.privacy-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.terms-content h3,
.privacy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-content p,
.privacy-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.terms-content ul,
.privacy-content ul {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-content li,
.privacy-content li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}
