:root {
    /* Dark Theme Variables */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #252525;
    --bg-sidebar: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-hover: rgba(255, 255, 255, 0.05);
    --bg-active: rgba(77, 121, 255, 0.1);
    
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-muted: #707070;
    
    --border-color: #333333;
    
    /* Color Variables */
    --primary: #4d79ff;
    --primary-dark: #3a66e0;
    --secondary: #6c757d;
    --success: #28c76f;
    --success-dark: #1f9d57;
    --info: #00cfe8;
    --info-dark: #00a8bd;
    --warning: #ff9f43;
    --warning-dark: #e08c3c;
    --danger: #ea5455;
    --danger-dark: #d03f40;
    
    /* Shadow Variables */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

.hero-section {
     max-height: 50px !important;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 50px !important;
    background: radial-gradient(ellipse at top right, rgba(77, 121, 255, 0.2), transparent 70%),
                radial-gradient(ellipse at bottom left, rgba(40, 199, 111, 0.2), transparent 70%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar {
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.login-btn {
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.login-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 121, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #4d79ff, #28c76f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGradient 5s ease infinite;
}

@keyframes titleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    max-width: 100%;
    max-height: 50px !important;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Section spacing fix */
section {
    padding: 100px 0;
}

section:first-of-type {
    padding-top: 0;
}

/* Feature cards */
.feature-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 30px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(77, 121, 255, 0.1), rgba(40, 199, 111, 0.1));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(77, 121, 255, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Interactive demo section */
.demo-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-primary), rgba(18, 18, 18, 0.9));
}

.demo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(77, 121, 255, 0.1), transparent 70%);
    z-index: -1;
}

.demo-card {
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.demo-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tab {
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.demo-tab.active {
    color: var(--primary);
}

.demo-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.demo-tab:hover:not(.active) {
    color: var(--text-primary);
}

.demo-screen {
    display: none;
}

.demo-screen.active {
    display: block;
}

.demo-feature {
    background-color: rgba(37, 37, 37, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.animate-click {
    animation: click-animation 0.3s ease;
}

@keyframes click-animation {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Testimonials */
.testimonial-card {
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-quote {
    margin-top: 20px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Stats */
.stats-container {
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 50px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

/* Pricing */
.price-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 30px;
}

.price-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(77, 121, 255, 0.2);
    position: relative;
    transform: scale(1.05);
}

.price-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.price-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.price-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features i {
    margin-right: 10px;
    color: var(--success);
}

.price-features i.fa-xmark {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 60px;
    margin: 80px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(77, 121, 255, 0.3), transparent 70%),
                radial-gradient(ellipse at bottom left, rgba(40, 199, 111, 0.3), transparent 70%);
    z-index: -1;
}

.cta-btn {
    background-color: var(--success);
    color: white;
    border-radius: 8px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.cta-btn:hover {
    background-color: var(--success-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(40, 199, 111, 0.3);
    color: white;
    text-decoration: none;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Animation Classes */
.floating {
    animation: floating 3s ease-in-out infinite;
}

.floating-delayed {
    animation: floating 3.5s ease-in-out 0.5s infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    display: inline-block;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    width: 6px;
    height: 10px;
    background-color: var(--text-primary);
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    border-radius: 3px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.scroll-indicator p {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .cta-section {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
    }
    
    .cta-section {
        padding: 30px;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .demo-tabs {
        flex-wrap: wrap;
    }
    
    .demo-tab {
        padding: 10px 15px;
    }
}
