:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

.hero-row {
    min-height: 50vh;
    padding-bottom: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -100px;
    animation-delay: 7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(100px, 0) rotate(180deg);
    }
    75% {
        transform: translate(50px, 50px) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-tagline {
    margin-bottom: 2.5rem;
}

.tagline-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.cycle-word {
    display: inline-block;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.category-word {
    background: rgba(255, 107, 53, 0.9);
    color: white;
}

.subcategory-word {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image-container {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-image-container img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

/* Trust Section */
.trust-section {
    background: var(--bg-white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-stat {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.category-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.category-icon i {
    font-size: 2.5rem;
    color: white;
}

.category-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.specialty-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.category-price {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.how-step {
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 3rem auto 1.5rem;
    color: var(--primary-color);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.how-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.how-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
}

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

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

/* Expert CTA Section */
.expert-cta-section {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0;
}

.expert-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.expert-cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.expert-cta-section .btn-outline-light {
    border: 2px solid white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.expert-cta-section .btn-outline-light:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .tagline-text {
        font-size: 1.2rem;
    }

    .hero-image-container {
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .tagline-text {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .btn-cta {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
}

/* Animation classes for jQuery */
.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Authentication Styles */
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#auth-buttons-guest .btn {
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

#auth-buttons-guest .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

#auth-buttons-guest .btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

#auth-buttons-guest .btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
}

#auth-buttons-guest .btn-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* User dropdown styles */
.navbar-auth .dropdown-toggle {
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    font-weight: 500;
}

.navbar-auth .dropdown-toggle:hover {
    background: var(--bg-light);
    border-radius: 50px;
}

.navbar-auth .dropdown-menu {
    min-width: 220px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.navbar-auth .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
}

.navbar-auth .dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(4px);
}

.navbar-auth .dropdown-item i {
    width: 20px;
    font-size: 1.1rem;
}

.navbar-auth .dropdown-divider {
    margin: 0.5rem 0;
}

/* Admin menu link styling */
.navbar-auth .admin-link {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    font-weight: 600;
    color: #667eea !important;
    border-left: 3px solid #667eea;
}

.navbar-auth .admin-link:hover {
    background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
    color: #5568d3 !important;
    border-left-color: #5568d3;
}

.navbar-auth .admin-link i {
    color: #667eea;
}
