/* Base styles */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #c7d2fe;
    --secondary-color: #10b981;
    --accent-color: #f472b6;
    --dark-bg: #111827;
    --gray-dark: #1f2937;
    --gray-medium: #374151;
    --gray-light: #6b7280;
    --gray-lightest: #f3f4f6;
    --text-dark: #111827;
    --text-light: #f9fafb;
    --text-muted: #9ca3af;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, .btn-primary, .btn-secondary {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    box-shadow: var(--shadow-md);
    font-size: 16px;
}

.btn-primary:hover {
    /* background-color: var(--primary-dark); */
    background: linear-gradient(-90deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 22px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Loading screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader {
    display: flex;
    gap: 12px;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    animation: bounce 0.8s infinite alternate;
}

.circle:nth-child(2) {
    animation-delay: 0.2s;
}

.circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

.loading-text {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-top: 24px;
    letter-spacing: 2px;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links li a {
    font-weight: 500;
    /* color: var(--gray-medium); */
    position: relative;
}

.nav-links li a:not(.btn-primary):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-links li a:not(.btn-primary):hover:after,
.nav-links li a.active:after {
    width: 100%;
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-links li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--gray-dark);
}

/* Hero Section */
.hero {
    padding: 160px 20px 100px;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-light);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.hero-image img {
    position: relative;
    z-index: 1;
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-element {
    position: absolute;
    background-color: white;
    box-shadow: var(--shadow-md);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--primary-color);
    animation: float 3s infinite alternate ease-in-out;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 70%;
    left: 15%;
    width: 40px;
    height: 40px;
    animation-delay: 0.5s;
}

.floating-element:nth-child(3) {
    top: 30%;
    right: 10%;
    width: 45px;
    height: 45px;
    animation-delay: 1s;
}

.floating-element:nth-child(4) {
    top: 60%;
    right: 20%;
    width: 35px;
    height: 35px;
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-15px) rotate(10deg);
    }
}

/* Features Section */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 20px;
    font-size: 32px;
    color: var(--primary-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-light);
    font-size: 16px;
}

/* Reset styles only for pricing section */
#pricing * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles for pricing section */
#pricing {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #f8f9fa;
    padding: 5rem 5%;
    position: relative;
}

/* Button styles specific to pricing section */
#pricing .btn {
    padding: 12px 28px;
    background: #6e45e0;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#pricing .btn-primary {
    background: linear-gradient(45deg, #6e45e0, #4facfe);
    box-shadow: 0 4px 15px rgba(110, 69, 224, 0.4);
}

#pricing .btn-outline {
    background: transparent;
    border: 2px solid #f8f9fa;
}

#pricing .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section title styles */
#pricing .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

#pricing .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f8f9fa;
}

#pricing .section-title .highlight {
    color: #4facfe;
}

#pricing .section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

/* Pricing container and cards */
#pricing .pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

#pricing .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#pricing .pricing-card:hover {
    transform: translateY(-10px);
}

#pricing .pricing-card.popular {
    transform: scale(1.05);
    border: 1px solid #4facfe;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.2);
}

#pricing .pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

#pricing .popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(45deg, #6e45e0, #4facfe);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-bottom-left-radius: 10px;
}

#pricing .price {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #f8f9fa;
}

#pricing .price span {
    font-size: 1rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
}

#pricing .pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#pricing .pricing-features {
    margin: 2rem 0;
    text-align: left;
    list-style: none;
}

#pricing .pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

#pricing .pricing-features i {
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    background-color: var(--gray-lightest);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.cta-shapes .shape-1 {
    width: 200px;
    height: 200px;
    background-color: rgba(79, 70, 229, 0.1);
    top: -50px;
    left: 10%;
    animation: moveShape 10s infinite alternate;
}

.cta-shapes .shape-2 {
    width: 250px;
    height: 250px;
    background-color: rgba(244, 114, 182, 0.1);
    bottom: -100px;
    right: 10%;
    animation: moveShape 12s infinite alternate;
}

.cta-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background-color: rgba(16, 185, 129, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: moveShape 8s infinite alternate;
}

@keyframes moveShape {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 20px);
    }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 3fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-medium);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-links-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}

.footer-links-column ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links-column ul li a:hover {
    color: white;
}

.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--gray-medium);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.newsletter {
    display: flex;
    max-width: 100%;
}

.newsletter input {
    flex: 1;
    border: none;
    background-color: var(--gray-medium);
    color: white;
    padding: 12px 16px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.newsletter input::placeholder {
    color: var(--text-muted);
}

.newsletter button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 12px 16px;
    white-space: nowrap;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    #pricing .pricing-card.popular {
        transform: scale(1);
    }

    #pricing .pricing-card.popular:hover {
        transform: scale(1) translateY(-10px);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}