/* Custom CSS for RiverdaleWay - Pixel-perfect replica of akool.com design */

:root {
    /* Exact color palette extracted from akool.com */
    --primary-bg: rgb(11, 11, 13);
    --secondary-bg: rgb(21, 21, 26);
    --card-bg: rgb(17, 17, 17);
    --text-primary: rgb(255, 255, 255);
    --text-secondary: rgb(245, 245, 247);
    --text-muted: rgb(153, 153, 153);
    --accent-purple: rgb(120, 97, 250);
    --accent-purple-light: rgb(139, 92, 255);
    --accent-orange: rgb(245, 102, 48);
    --accent-blue: rgb(104, 132, 253);
    --accent-teal: rgb(39, 137, 177);
    --accent-pink: rgb(196, 45, 207);
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

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

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

.nav-link:hover {
    color: var(--text-primary) !important;
    background-color: var(--hover-bg);
    border-radius: 6px;
}

.dropdown-menu {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

.pricing-link {
    position: relative;
}

.discount-badge {
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    font-weight: 600;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 97, 250, 0.3);
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(120, 97, 250, 0.1) 0%, transparent 70%);
}

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

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.icon-4 {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.icon-5 {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.icon-6 {
    background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-pink));
    top: 60%;
    right: 5%;
    animation-delay: 5s;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.trusted-section {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.trusted-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    padding: 1rem 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* Introduction Section */
.introduction-section {
    background-color: var(--secondary-bg);
}

.intro-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.intro-card h2 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.intro-card h4 {
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.intro-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
}

.feature-tabs .nav-tabs {
    border: none;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 0.5rem;
}

.feature-tabs .nav-link {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    color: white;
}

.tab-content {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

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

.feature-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.demo-placeholder {
    background-color: var(--secondary-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Footer */
.footer {
    background-color: var(--secondary-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-brand h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.separator {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .floating-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .intro-card {
        padding: 2rem;
    }
    
    .tab-content {
        padding: 2rem;
    }
    
    .feature-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .company-logos {
        gap: 1rem;
    }
    
    .logo-placeholder {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple-light);
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple-light);
}
