@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #c3cfe2 0%, #764ba2 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-muted: #666666;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --header-bg: rgba(13, 18, 24, 0.92);
    --card-bg: #ffffff;
    --border-color: rgba(255,255,255,0.08);
    --shadow-color: rgba(0,0,0,0.1);
    --loader-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
html[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-gradient: linear-gradient(135deg, #1a1f2e 0%, #2d1b69 100%);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --header-bg: rgba(15, 20, 25, 0.95);
    --card-bg: #1a1f2e;
    --border-color: rgba(255,255,255,0.1);
    --shadow-color: rgba(0,0,0,0.3);
    --loader-bg: linear-gradient(135deg, #1a1f2e 0%, #2d1b69 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}
#loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--loader-bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
#loader.hide { opacity: 0; pointer-events: none; }
.spinner {
    width: 70px; height: 70px; border: 7px solid #e0e7ff; border-top: 7px solid #764ba2;
    border-radius: 50%; animation: spin 1s linear infinite;
    box-shadow: 0 0 20px #764ba233, 0 0 40px #667eea22;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
header {
    background: var(--header-bg);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--border-color);
    padding: 1.1rem 0;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 4px 24px rgba(102,126,234,0.13);
    animation: slideDown 0.8s ease-out;
    transition: background 0.3s ease, border-color 0.3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.nav-container {
    max-width: 1300px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-size: 1.7rem; font-weight: 800; color: white; text-decoration: none;
    display: flex; align-items: center; gap: 1rem; position: relative;
    transition: all 0.3s ease;
}
.logo:hover { transform: scale(1.05); }
.logo img { height: 42px; width: auto; border-radius: 10px; transition: all 0.3s ease; }
.logo:hover img { transform: rotate(5deg) scale(1.1); }
.logo-text {
    font-size: 1.5rem; font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.nav-menu {
    display: flex; list-style: none; gap: 0.5rem; align-items: center;
    background: rgba(255,255,255,0.04); border-radius: 50px; padding: 0.5rem 1rem;
    animation: fadeInUp 0.8s 0.3s both;
    transition: background 0.3s ease;
}
.nav-menu a {
    color: rgba(255,255,255,0.92); text-decoration: none; font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    padding: 0.7rem 1.3rem; border-radius: 25px; display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; letter-spacing: 0.5px; position: relative; overflow: hidden;
}
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.nav-menu a:hover::before { left: 100%; }
.nav-menu a:hover {
    color: #fff; background: rgba(102,126,234,0.13); transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.2);
}
.nav-menu a i { transition: all 0.3s ease; }
.nav-menu a:hover i { transform: scale(1.2) rotate(10deg); }
.brochure-btn {
    background: var(--accent-gradient);
    color: white; padding: 0.7rem 1.5rem; border: none; border-radius: 25px;
    font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none; display: flex; align-items: center; gap: 0.6rem;
    box-shadow: 0 6px 18px rgba(102,126,234,0.18); border: 1px solid rgba(255,255,255,0.18);
    position: relative; overflow: hidden;
}
.brochure-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}
.brochure-btn:hover::before { left: 100%; }
.brochure-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102,126,234,0.3);
}
.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
    margin-left: 1rem; font-size: 1.1rem;
}
.theme-toggle:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.theme-toggle i { transition: transform 0.3s ease; }
.theme-toggle:hover i { transform: rotate(180deg); }
.mobile-menu {
    display: none; flex-direction: column; cursor: pointer; padding: 0.6rem;
    border-radius: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu:hover { background: rgba(255, 255, 255, 0.1); transform: scale(1.05); }
.mobile-menu span {
    width: 24px; height: 2px; background: white; margin: 3px 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mobile-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: #667eea; }
.mobile-menu.active span:nth-child(2) { opacity: 0; transform: translateX(-15px); }
.mobile-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: #764ba2; }
.hero {
    background: var(--accent-gradient);
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    padding: 140px 2rem 60px; position: relative; overflow: hidden;
    animation: gradientMove 8s ease infinite;
}
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-content {
    max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2;
}
.hero-content h1 {
    font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 1.2rem; line-height: 1.15;
    letter-spacing: 1px; animation: fadeInUp 1s 0.2s both;
}
.hero-content h1 span { color: #ffd700; }
.hero-content p {
    font-size: 1.25rem; color: rgba(255,255,255,0.93); margin-bottom: 2.2rem; font-weight: 400;
    animation: fadeInUp 1s 0.4s both;
}
.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white; padding: 1rem 2rem; border: none; border-radius: 50px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(255,107,107,0.3); position: relative; overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,107,107,0.4);
}
.client-benefits-section {
    background: var(--bg-primary); padding: 80px 2rem;
    transition: background 0.3s ease;
}
.client-benefits-container {
    max-width: 1200px; margin: 0 auto;
}
.section-header {
    text-align: center; margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.2rem; font-weight: 700; color: var(--accent-secondary); margin-bottom: 1rem;
    animation: slideInLeft 1s 0.5s both;
    transition: color 0.3s ease;
}
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
.section-header p {
    font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto;
    animation: slideInRight 1s 0.7s both;
    transition: color 0.3s ease;
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem;
    margin-top: 3rem;
}
.service-card {
    background: var(--card-bg); border-radius: 20px; padding: 2.5rem; text-align: center;
    box-shadow: 0 10px 40px var(--shadow-color); transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative; overflow: hidden; animation: fadeInUp 1s both;
    border: 1px solid var(--border-color);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scaleX(0); transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-10px); box-shadow: 0 25px 70px rgba(102,126,234,0.2);
}
.service-icon {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; font-weight: 700;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h3 {
    font-size: 1.5rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.service-card p {
    color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}
footer {
    background: #1a1a1a; color: white; padding: 60px 2rem 30px;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem;
}
.footer-section h3 { font-size: 1.3rem; margin-bottom: 1rem; color: #667eea; }
.footer-section p, .footer-section a { color: #ccc; text-decoration: none; line-height: 1.8; transition: all 0.3s ease; }
.footer-section a:hover { color: #667eea; transform: translateX(5px); }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a {
    width: 40px; height: 40px; background: #667eea; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.social-links a:hover { background: #764ba2; transform: translateY(-3px) scale(1.1); box-shadow: 0 8px 20px rgba(102,126,234,0.3); }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #333; color: #999; }
/* Modal Styles for Client Login */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s;
    /* Flexbox for centering */
    display: flex;
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: var(--card-bg);
    margin: 0 auto;
    /* Remove top/left/transform for flex centering */
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    border-radius: 18px;
    max-width: 350px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    position: relative;
    text-align: center;
    color: var(--text-primary);
    animation: popIn 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes popIn {
    from { transform: scale(0.9) translateY(40px); opacity: 0; }
    to { transform: scale(1) translateY(20vh); opacity: 1; }
}
.modal-content h2 {
    color: var(--accent-secondary);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 1.5rem;
    color: var(--accent-secondary);
    cursor: pointer;
    transition: color 0.2s;
}
.close:hover {
    color: var(--accent-primary);
}
#clientCodeInput {
    width: 90%;
    padding: 0.8rem;
    margin: 1rem 0 0.5rem 0;
    border-radius: 8px;
    border: 1.5px solid var(--accent-secondary);
    font-size: 1.1rem;
    outline: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border 0.2s;
}
#clientCodeInput:focus {
    border: 1.5px solid var(--accent-primary);
}
#clientCodeSubmit {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}
#clientCodeError {
    color: #e74c3c;
    font-size: 1rem;
    margin-top: 0.5rem;
    display: none;
}
#clientVideosSection {
    margin-top: 2.5rem;
    text-align: center;
    animation: fadeInVideos 0.5s;
}
@keyframes fadeInVideos {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
#clientVideosSection h3 {
    color: var(--accent-secondary);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
}
.client-videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.client-video-wrapper {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(102,126,234,0.10);
    padding: 0.5rem 0.5rem 0.7rem 0.5rem;
    max-width: 370px;
    width: 100%;
    border: 1.5px solid var(--border-color);
    transition: box-shadow 0.3s, transform 0.3s;
    margin: 0.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.client-video-wrapper:hover {
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    transform: translateY(-6px) scale(1.03);
}
.client-video-wrapper video {
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
    background: #000;
    display: block;
}
.client-video-title {
    text-align: center;
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 0 0;
    letter-spacing: 0.5px;
}
.waiting-message {
    color: var(--accent-secondary);
    font-size: 1.25rem;
    margin-top: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(102,126,234,0.08);
}
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .nav-container { padding: 0 1rem; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.8rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--border-color);
        border-top: none;
        max-height: 80vh;
        overflow-y: auto;
        transition: background 0.3s ease, border-color 0.3s ease;
    }
    .nav-menu.active { display: flex; animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    .brochure-btn {
        margin-top: 0.5rem;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    .mobile-menu { display: flex; }
    .logo img { height: 35px; }
    .logo-text { font-size: 1.3rem; }
    .hero { min-height: 50vh; padding: 120px 1rem 40px; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-content p { font-size: 1rem; }
    .client-benefits-section { padding: 40px 1rem; }
    .section-header h2 { font-size: 1.3rem; }
    .section-header p { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-card { padding: 2rem; }
    footer { padding: 40px 1rem 20px; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
@media (max-width: 600px) {
    .modal-content {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        max-width: 95vw;
    }
    .client-videos-grid {
        flex-direction: column;
        gap: 1.2rem;
    }
    .client-video-wrapper {
        max-width: 98vw;
        padding: 0.7rem 0.2rem 1rem 0.2rem;
    }
    #clientVideosSection h3 {
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .nav-container { padding: 0 0.8rem; }
    .logo { gap: 0.5rem; }
    .logo img { height: 30px; }
    .logo-text { font-size: 1.1rem; }
    .hero-content h1 { font-size: 1.1rem; }
    .hero-content p { font-size: 0.95rem; }
    .section-header h2 { font-size: 1rem; }
} 