/* WithKaylee English Center - Main Stylesheet */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(99, 102, 241, 0.9) !important;
    backdrop-filter: blur(10px);
}

.navbar.navbar-dark {
    background: rgba(99, 102, 241, 0.9) !important;
}

.navbar.fixed-top {
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--text-dark) !important;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-color) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
}

/* Logo Container */
.logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Navbar Logo Styles */
.navbar-logo {
    height: 100px !important;
    width: auto !important;
    max-width: 300px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
}

.navbar-logo-dark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Logo transition on scroll */
.navbar.scrolled #logo-light {
    opacity: 0;
}

.navbar.scrolled #logo-dark {
    opacity: 1;
}

/* Navbar brand height adjustment */
.navbar-brand {
    min-height: 100px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 5px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Level Check Button - Special CTA */
.btn-level-check {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-level-check::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-level-check:hover::before {
    left: 100%;
}

.btn-level-check:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    color: white !important;
}

.btn-level-check:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes ctaPulse {
    0% { box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6), 0 0 0 10px rgba(245, 158, 11, 0.1); }
    100% { box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

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

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: -1s;
}

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

.shape-4 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 30%;
    animation-delay: -0.5s;
}

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

.hero-content {
    color: white;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.badge-pulse {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.7; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Cards */
.hero-cards {
    position: relative;
    height: 300px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20px;
    right: 20px;
    animation-delay: -1s;
}

.floating-card.card-2 {
    top: 120px;
    right: 100px;
    animation-delay: -2s;
}

.floating-card.card-3 {
    bottom: 20px;
    right: 50px;
    animation-delay: -0.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-content h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--text-dark);
}

.card-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Course Cards */
.courses-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    border: 2px solid transparent;
}

.course-card.popular {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-header {
    text-align: center;
    margin-bottom: 25px;
}

.course-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.course-price {
    text-align: center;
    margin-bottom: 25px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.course-features ul {
    list-style: none;
    padding: 0;
}

.course-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-light);
}

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

.btn-course {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modern Platform Section */
.platform-section-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

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

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

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    animation: float 8s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

.platform-content-modern {
    z-index: 2;
    position: relative;
}

.content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modern-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.modern-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.platform-features-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.glass-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.glass-card.feature-card-1 { animation-delay: 0s; }
.glass-card.feature-card-2 { animation-delay: 0.2s; }
.glass-card.feature-card-3 { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-icon {
    flex-shrink: 0;
}

.icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.glass-card:hover .icon-bg::before {
    left: 100%;
}

.card-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.glass-card:hover .card-glow {
    opacity: 1;
}

.btn-platform-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.btn-platform-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-platform-modern:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Modern Mockup */
.platform-mockup-modern {
    position: relative;
    padding: 40px 0;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.dashboard-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.card-stats {
    top: 20px;
    right: 20px;
    width: 200px;
    animation-delay: 0s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.card-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 50px;
}

.chart-bar {
    width: 12px;
    height: var(--height);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    animation: chartGrow 1s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: var(--height); }
}

.main-progress-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.1);
    animation: float 8s ease-in-out infinite;
    animation-delay: -2s;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.panel-header h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.status-indicator {
    font-size: 0.85rem;
    font-weight: 600;
    color: #22c55e;
}

.progress-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item-modern {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.skill-percent {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.progress-track {
    height: 8px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--color);
    border-radius: 20px;
    width: 0;
    position: relative;
    overflow: hidden;
    animation: progressFill 2s ease-out forwards;
    animation-delay: 0.5s;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes progressFill {
    to { width: var(--width); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400px); }
}

.achievement-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
    animation: float 10s ease-in-out infinite;
    animation-delay: -5s;
}

.badge-icon {
    font-size: 1.5rem;
}

.achievement-title {
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
}

.achievement-desc {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
}

/* Platform Section Responsive */
@media (max-width: 768px) {
    .modern-title {
        font-size: 2.5rem;
    }
    
    .platform-features-modern {
        gap: 16px;
    }
    
    .glass-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .main-progress-panel {
        width: 300px;
        padding: 24px;
    }
    
    .dashboard-card.card-stats {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .achievement-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
}

/* Compact CTA Section */
.cta-section-compact {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    opacity: 0.1;
}

.cta-content-compact {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-title-compact {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.4;
}

.emoji-icon {
    font-size: 2rem;
    margin-right: 10px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.cta-actions-compact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-cta-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

.btn-icon {
    font-size: 1.2rem;
}

/* Modern Footer */
.footer-modern {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 80px 0 0;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="a" patternUnits="userSpaceOnUse" width="20" height="20" patternTransform="scale(2) rotate(0)"><rect x="0" y="0" width="100%" height="100%" fill="none"/><path d="M 10,-2.55e-7 V 20 Z M -1.1677362e-8,10 H 20 Z" stroke-width="0.5" stroke="%23ffffff" fill="none" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23a)"/></svg>') repeat;
    opacity: 0.1;
}

.footer-brand-modern {
    position: relative;
    z-index: 2;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.social-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.footer-section {
    position: relative;
    z-index: 2;
}

.footer-title-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.title-icon {
    font-size: 1.2rem;
}

.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-modern li {
    margin-bottom: 10px;
}

.footer-links-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links-modern a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links-modern a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links-modern a:hover::before {
    opacity: 1;
}

.footer-contact-modern {
    position: relative;
    z-index: 2;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item-modern i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-item-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-modern a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    z-index: 2;
}

.copyright-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.copyright-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.copyright-text {
    margin-left: 5px;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.footer-link-bottom {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link-bottom:hover {
    color: white;
}

.admin-link {
    background: rgba(99, 102, 241, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.admin-link:hover {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

/* CTA and Footer Responsive */
@media (max-width: 768px) {
    .cta-title-compact {
        font-size: 1.4rem;
    }
    
    .cta-actions-compact {
        gap: 15px;
    }
    
    .btn-cta-primary, .btn-cta-secondary {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .footer-modern {
        padding: 60px 0 0;
    }
    
    .brand-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-social-modern {
        justify-content: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
        margin-top: 20px;
    }
    
    .copyright-modern {
        justify-content: center;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cards {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* CTA Mobile */
    .cta-content-compact {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .cta-title-compact {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .cta-actions-compact {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cta-primary, .btn-cta-secondary {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    .footer-modern {
        padding: 60px 0 0;
    }
    
    .brand-logo {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-social-modern {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-contact-modern {
        text-align: center;
    }
    
    .contact-item-modern {
        justify-content: center;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
    }
    
    .copyright-modern {
        justify-content: center;
    }
}

/* Logo Container */
.logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Navbar Logo Styles */
.navbar-logo {
    max-width: 300px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
}

.navbar-logo-dark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Logo transition on scroll */
.navbar.scrolled #logo-light {
    opacity: 0;
}

.navbar.scrolled #logo-dark {
    opacity: 1;
}

/* Navbar height adjustment for larger logo */
.navbar {
}

.navbar.scrolled {
}
