/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Default CSS variables that will be overridden by JavaScript */
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --background-color: #f8fafc;
    --header-color: #ffffff;
    --footer-color: #1e293b;
    --button-background-color: #3b82f6;
    --button-text-color: #ffffff;
    --card-border-radius: 12px;
    --font-size-scale: 1;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: var(--header-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-image {
    max-height: 40px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

/* Hero section */
#hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated background elements for Web3 feel */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, 10px) rotate(1deg);
    }
    50% {
        transform: translate(0, 20px) rotate(0deg);
    }
    75% {
        transform: translate(10px, 10px) rotate(-1deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

#hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

#hero .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated elements */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 150px;
}

.hero-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-feature p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Stats section */
.stats-section {
    background-color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-size: 1rem;
}

/* Services section */
#services {
    padding: 6rem 0;
    background-color: var(--background-color);
}

#services .container > h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

#services .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: var(--card-border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.service-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.service-card i.icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card .btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

/* How It Works Section */
#how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

#how-it-works .container > h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

#how-it-works .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Digital Marketing Section */
#digitalMarketing {
    padding: 6rem 0;
    background-color: #f1f5f9;
}

#digitalMarketing .container > h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

#digitalMarketing .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.marketing-service-card {
    background: white;
    border-radius: var(--card-border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.marketing-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.marketing-service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.marketing-service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials Section */
#testimonials {
    padding: 6rem 0;
    background-color: white;
}

#testimonials .container > h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

#testimonials .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--background-color);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card blockquote {
    margin-bottom: 1.5rem;
    color: #334155;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
#cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

#cta .container > h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

#cta .container > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer styles */
footer {
    background-color: var(--footer-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}
    
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
    
.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
    
.social-links a:hover {
    color: var(--primary-color);
}
    
.social-text-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
    
.social-text-link:hover {
    color: var(--primary-color);
}
    
.social-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
    
.social-image:hover {
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #hero {
        padding: 4rem 0;
        min-height: auto;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    #services .container > h2,
    #how-it-works .container > h2,
    #digitalMarketing .container > h2,
    #testimonials .container > h2,
    #cta .container > h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .steps-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 3rem 0;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}