/* ============================================
   WorkNest Tech - Premium IT Services Website
   Modern, Professional, Responsive Design
   ============================================ */

/* CSS Variables for theming */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #3b82f6;
    --accent: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 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);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary: #f8fafc;
    --primary-light: #e2e8f0;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #020617;
    --bg-card: #1e293b;
    --border: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; transition: var(--transition); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Utility Classes */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; }
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--accent-gradient); color: white; box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.5); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); }
.btn-white { background: white; color: var(--secondary); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

.glass-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); }
[data-theme="dark"] .glass-card { background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); }

.card { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 32px; transition: var(--transition); box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--secondary); }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; margin-bottom: 20px; }

.badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-primary { background: rgba(59, 130, 246, 0.1); color: var(--secondary); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }

.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Navigation */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); box-shadow: var(--shadow); padding: 12px 0; }
[data-theme="dark"] .navbar.scrolled { background: rgba(15, 23, 42, 0.9); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: white; }
.navbar.scrolled .logo { color: var(--text-primary); }
.logo-icon { width: 40px; height: 40px; background: var(--accent-gradient); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255, 255, 255, 0.8); font-weight: 500; font-size: 0.9rem; position: relative; }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover, .nav-links a.active { color: white; }
.navbar.scrolled .nav-links a:hover, .navbar.scrolled .nav-links a.active { color: var(--secondary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent-gradient); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.1); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.navbar.scrolled .theme-toggle { background: var(--bg-secondary); color: var(--text-primary); }
.theme-toggle:hover { background: var(--secondary); color: white; transform: rotate(20deg); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: white; transition: var(--transition); border-radius: 2px; }
.navbar.scrolled .mobile-menu-btn span { background: var(--text-primary); }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--bg-dark); overflow: hidden; padding-top: 80px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle { position: absolute; width: 4px; height: 4px; background: var(--secondary); border-radius: 50%; opacity: 0.4; animation: float 6s ease-in-out infinite; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 100px; color: var(--accent); font-size: 0.875rem; font-weight: 500; margin-bottom: 24px; }
.hero-badge .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; color: white; margin-bottom: 24px; }
.hero-title span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.125rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 32px; max-width: 500px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.stat-item h3 { font-size: 2rem; font-weight: 700; color: white; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin-top: 4px; }

.hero-visual { position: relative; animation: fadeIn 1s ease-out 0.3s both; }
.hero-image-wrapper { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.hero-image-wrapper::before { content: ''; position: absolute; inset: 0; background: var(--accent-gradient); opacity: 0.1; z-index: 1; }
.hero-image-wrapper img { width: 100%; height: auto; display: block; }
.floating-card { position: absolute; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite; }
.floating-card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.floating-card-2 { bottom: 15%; right: -5%; animation-delay: 2s; }
.floating-card-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
.floating-card-text h4 { color: white; font-size: 0.875rem; font-weight: 600; }
.floating-card-text p { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; }

/* Services Section */
.services { background: var(--bg-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px 32px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); transform: scaleX(0); transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--secondary); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .card-icon { width: 64px; height: 64px; border-radius: var(--radius); font-size: 1.75rem; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-weight: 600; font-size: 0.9rem; }
.service-link:hover { gap: 10px; }

/* About Section */
.about { background: var(--bg-primary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img-main img { width: 100%; height: auto; display: block; }
.about-img-secondary { position: absolute; bottom: -30px; right: -30px; width: 250px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); border: 4px solid var(--bg-primary); }
.about-img-secondary img { width: 100%; height: auto; display: block; }
.about-experience { position: absolute; top: 30px; left: -20px; background: var(--accent-gradient); color: white; padding: 24px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); text-align: center; }
.about-experience h3 { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about-experience p { font-size: 0.875rem; opacity: 0.9; margin-top: 4px; }
.about-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.about-content > p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin-bottom: 32px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--bg-secondary); }
.about-feature i { color: var(--success); font-size: 1.1rem; }
.about-feature span { font-weight: 600; font-size: 0.9rem; }

/* Why Choose Us */
.why-us { background: var(--bg-dark); position: relative; overflow: hidden; }
.why-us .section-header h2, .why-us .section-header p { color: white; }
.why-us .section-header h2 { -webkit-text-fill-color: transparent; }
.why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.why-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; transition: var(--transition); }
.why-card:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.3); }
.why-card .card-icon { margin: 0 auto 20px; width: 72px; height: 72px; font-size: 2rem; }
.why-card h3 { color: white; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.why-card p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; line-height: 1.6; }

/* Testimonials */
.testimonials { background: var(--bg-secondary); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; gap: 24px; }
.testimonial-card { min-width: calc(33.333% - 16px); background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--warning); margin-bottom: 16px; font-size: 1rem; }
.testimonial-text { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-secondary); }
.testimonial-author h4 { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.testimonial-author p { font-size: 0.875rem; color: var(--text-muted); }
.testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.testimonial-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-card); color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 1rem; }
.testimonial-btn:hover { background: var(--secondary); border-color: var(--secondary); color: white; transform: scale(1.1); }

/* Tools Section */
.tools { background: var(--bg-primary); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tool-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; align-items: center; gap: 16px; transition: var(--transition); cursor: pointer; }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.tool-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--secondary); flex-shrink: 0; transition: var(--transition); }
.tool-card:hover .tool-icon { background: var(--accent-gradient); color: white; }
.tool-info h4 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--text-primary); }
.tool-info p { font-size: 0.85rem; color: var(--text-muted); }
.tool-badge { margin-left: auto; padding: 4px 10px; background: var(--success); color: white; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }

/* Contact Section */
.contact { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.05rem; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.contact-item-icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; margin-bottom: 4px; font-size: 1rem; }
.contact-item p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-social { display: flex; gap: 12px; margin-top: 32px; }
.contact-social a { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 1.1rem; transition: var(--transition); }
.contact-social a:hover { background: var(--accent-gradient); border-color: transparent; color: white; transform: translateY(-3px); }
.contact-form-wrapper { background: var(--bg-card); border-radius: var(--radius-xl); padding: 48px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 8px; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--bg-primary); color: var(--text-primary); font-family: inherit; font-size: 0.95rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; margin-top: 8px; }
.whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; background: #25d366; color: white; border-radius: var(--radius); font-weight: 600; margin-top: 12px; transition: var(--transition); }
.whatsapp-btn:hover { background: #128c7e; transform: translateY(-2px); }

/* Blog Section */
.blog { background: var(--bg-primary); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.blog-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.blog-card-image { position: relative; overflow: hidden; height: 220px; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.1); }
.blog-card-category { position: absolute; top: 16px; left: 16px; padding: 6px 14px; background: var(--accent-gradient); color: white; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.blog-card-content { padding: 28px; }
.blog-card-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 0.8rem; color: var(--text-muted); }
.blog-card-meta span { display: flex; align-items: center; gap: 6px; }
.blog-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; color: var(--text-primary); }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.blog-card-link { color: var(--secondary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-card-link:hover { gap: 10px; }

/* CTA Section */
.cta { background: var(--bg-dark); position: relative; overflow: hidden; padding: 100px 0; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 70% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%); }
.cta .container { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, 0.7); font-size: 1.125rem; max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: #020617; color: rgba(255, 255, 255, 0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; max-width: 300px; }
.footer-title { color: white; font-weight: 700; font-size: 1.1rem; margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.6); transition: var(--transition); }
.footer-social a:hover { background: var(--secondary); color: white; transform: translateY(-3px); }

/* Page Header */
.page-header { background: var(--bg-dark); padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%); }
.page-header h1 { font-size: 3rem; font-weight: 800; color: white; margin-bottom: 16px; position: relative; z-index: 2; }
.page-header p { color: rgba(255, 255, 255, 0.7); font-size: 1.125rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255, 255, 255, 0.4); }
.breadcrumb .current { color: white; }

/* Service Detail Page */
.service-detail { background: var(--bg-primary); }
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.service-detail-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.service-detail-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }
.service-detail-content ul { list-style: none; margin: 24px 0; }
.service-detail-content ul li { padding: 10px 0; padding-left: 32px; position: relative; color: var(--text-secondary); font-size: 1rem; }
.service-detail-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.service-sidebar { position: sticky; top: 100px; }
.service-sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.service-sidebar-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.sidebar-services { list-style: none; }
.sidebar-services li { margin-bottom: 4px; }
.sidebar-services a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: var(--radius); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.sidebar-services a:hover, .sidebar-services a.active { background: var(--bg-secondary); color: var(--secondary); }
.sidebar-services a.active { background: var(--accent-gradient); color: white; }

/* Tools Page */
.tool-page { background: var(--bg-secondary); min-height: calc(100vh - 300px); }
.tool-container { max-width: 900px; margin: 0 auto; }
.tool-box { background: var(--bg-card); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 48px; box-shadow: var(--shadow-lg); }
.tool-box h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; text-align: center; }
.tool-box > p { text-align: center; color: var(--text-secondary); margin-bottom: 40px; }
.drop-zone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; transition: var(--transition); cursor: pointer; background: var(--bg-secondary); }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--secondary); background: rgba(59, 130, 246, 0.05); }
.drop-zone i { font-size: 3rem; color: var(--secondary); margin-bottom: 16px; }
.drop-zone h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.drop-zone p { color: var(--text-muted); font-size: 0.9rem; }
.drop-zone input { display: none; }
.tool-result { margin-top: 32px; padding: 24px; background: var(--bg-secondary); border-radius: var(--radius); display: none; }
.tool-result.show { display: block; }
.tool-result h4 { font-weight: 700; margin-bottom: 16px; }

/* Calculator */
.calculator { max-width: 400px; margin: 0 auto; }
.calc-display { background: var(--bg-dark); color: white; padding: 20px; border-radius: var(--radius) var(--radius) 0 0; text-align: right; font-size: 2rem; font-weight: 300; min-height: 80px; display: flex; align-items: center; justify-content: flex-end; word-break: break-all; }
.calc-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.calc-btn { padding: 20px; border: none; background: var(--bg-card); color: var(--text-primary); font-size: 1.25rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.calc-btn:hover { background: var(--bg-secondary); }
.calc-btn.operator { background: var(--secondary); color: white; }
.calc-btn.operator:hover { background: var(--accent); }
.calc-btn.equals { background: var(--success); color: white; grid-column: span 2; }
.calc-btn.equals:hover { background: #059669; }

/* Unit Converter */
.converter-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; margin-bottom: 24px; }
.converter-swap { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-card); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); margin-bottom: 8px; }
.converter-swap:hover { background: var(--secondary); border-color: var(--secondary); color: white; transform: rotate(180deg); }

/* QR Generator */
.qr-preview { width: 256px; height: 256px; margin: 24px auto; background: white; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.qr-preview canvas { max-width: 100%; max-height: 100%; }

/* Password Generator */
.password-display { background: var(--bg-dark); color: white; padding: 20px; border-radius: var(--radius); font-family: 'Courier New', monospace; font-size: 1.25rem; text-align: center; margin-bottom: 24px; word-break: break-all; position: relative; }
.password-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.password-option { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--bg-secondary); border-radius: var(--radius); cursor: pointer; }
.password-option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--secondary); }
.password-strength { height: 6px; background: var(--border); border-radius: 100px; margin-bottom: 24px; overflow: hidden; }
.password-strength-bar { height: 100%; border-radius: 100px; transition: var(--transition); width: 0%; }

/* Text Tools */
.text-tool-area { width: 100%; min-height: 200px; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--bg-primary); color: var(--text-primary); font-family: inherit; font-size: 1rem; resize: vertical; margin-bottom: 20px; }
.text-tool-area:focus { outline: none; border-color: var(--secondary); }
.text-tool-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.text-tool-stats { display: flex; gap: 24px; padding: 16px; background: var(--bg-secondary); border-radius: var(--radius); }
.text-tool-stat { text-align: center; }
.text-tool-stat h4 { font-size: 1.5rem; font-weight: 700; color: var(--secondary); }
.text-tool-stat p { font-size: 0.8rem; color: var(--text-muted); }

/* Admin Dashboard */
.admin-body { background: #0f172a; color: #e2e8f0; font-family: var(--font-sans); }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 280px; background: #1e293b; border-right: 1px solid #334155; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; transition: var(--transition); }
.admin-sidebar-header { padding: 24px; border-bottom: 1px solid #334155; display: flex; align-items: center; gap: 12px; }
.admin-sidebar-header .logo-icon { width: 36px; height: 36px; font-size: 1rem; }
.admin-sidebar-header h2 { font-size: 1.25rem; font-weight: 700; color: white; }
.admin-nav { padding: 16px 0; list-style: none; }
.admin-nav-item { margin: 4px 16px; }
.admin-nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); color: #94a3b8; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.admin-nav-link i { width: 20px; text-align: center; }
.admin-main { flex: 1; margin-left: 280px; padding: 24px 32px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #334155; }
.admin-header h1 { font-size: 1.75rem; font-weight: 700; color: white; }
.admin-header-actions { display: flex; gap: 12px; align-items: center; }
.admin-search { position: relative; }
.admin-search input { padding: 10px 16px 10px 40px; background: #1e293b; border: 1px solid #334155; border-radius: var(--radius); color: white; width: 280px; font-family: inherit; }
.admin-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #64748b; }
.admin-user { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #1e293b; border-radius: var(--radius); border: 1px solid #334155; }
.admin-user img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.admin-user-info h4 { font-size: 0.85rem; font-weight: 600; color: white; }
.admin-user-info p { font-size: 0.75rem; color: #64748b; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 32px; }
.admin-stat-card { background: #1e293b; border: 1px solid #334155; border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.admin-stat-card:hover { border-color: #3b82f6; transform: translateY(-2px); }
.admin-stat-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.admin-stat-header h3 { font-size: 0.875rem; color: #94a3b8; font-weight: 500; }
.admin-stat-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.admin-stat-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.admin-stat-icon.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.admin-stat-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.admin-stat-icon.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.admin-stat-value { font-size: 1.75rem; font-weight: 700; color: white; margin-bottom: 4px; }
.admin-stat-change { font-size: 0.8rem; display: flex; align-items: center; gap: 4px; }
.admin-stat-change.positive { color: #10b981; }
.admin-stat-change.negative { color: #ef4444; }

.admin-table-container { background: #1e293b; border: 1px solid #334155; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.admin-table-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #334155; }
.admin-table-header h3 { font-size: 1.1rem; font-weight: 700; color: white; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 24px; text-align: left; font-size: 0.875rem; }
.admin-table th { background: #0f172a; color: #94a3b8; font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.admin-table td { color: #e2e8f0; border-bottom: 1px solid #334155; }
.admin-table tr:hover td { background: rgba(59, 130, 246, 0.05); }
.admin-table .status { display: inline-flex; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.status-active { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-inactive { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.admin-table-actions { display: flex; gap: 8px; }
.admin-table-actions button { width: 32px; height: 32px; border-radius: var(--radius-sm); border: none; background: transparent; color: #64748b; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.admin-table-actions button:hover { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.admin-table-actions button.delete:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.admin-chart-container { background: #1e293b; border: 1px solid #334155; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 32px; }
.admin-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-chart-header h3 { font-size: 1.1rem; font-weight: 700; color: white; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-images { order: 2; }
    .about-content { order: 1; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .testimonial-card { min-width: calc(50% - 12px); }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-title { font-size: 2rem; }
    .section-header h2 { font-size: 1.75rem; }
    .page-header h1 { font-size: 2rem; }
    .about-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .testimonial-card { min-width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px; }
    .floating-card { display: none; }
    .tool-box { padding: 28px; }
    .converter-row { grid-template-columns: 1fr; }
    .converter-swap { transform: rotate(90deg); margin: 0 auto; }
    .password-options { grid-template-columns: 1fr; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-header { flex-direction: column; gap: 16px; align-items: flex-start; }
    .admin-search input { width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .section-padding { padding: 60px 0; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .admin-stats-grid { grid-template-columns: 1fr; }
}

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--bg-card); z-index: 1001; padding: 80px 24px 24px; transition: var(--transition); box-shadow: -10px 0 30px rgba(0,0,0,0.2); overflow-y: auto; }
.mobile-menu.open { right: 0; }
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--bg-secondary); color: var(--text-primary); font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-menu-links { list-style: none; }
.mobile-menu-links li { margin-bottom: 4px; }
.mobile-menu-links a { display: block; padding: 14px 16px; border-radius: var(--radius); color: var(--text-primary); font-weight: 500; transition: var(--transition); }
.mobile-menu-links a:hover { background: var(--bg-secondary); color: var(--secondary); }
.mobile-menu-actions { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Toast */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.toast { padding: 16px 24px; border-radius: var(--radius); color: white; font-weight: 500; font-size: 0.9rem; display: flex; align-items: center; gap: 12px; animation: slideInRight 0.3s ease-out; box-shadow: var(--shadow-lg); max-width: 400px; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--secondary); }
.toast.warning { background: var(--warning); }
.toast-close { margin-left: auto; background: none; border: none; color: white; cursor: pointer; font-size: 1.1rem; opacity: 0.7; }
.toast-close:hover { opacity: 1; }

/* Back to Top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-gradient); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

/* Progress Bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent-gradient); z-index: 10000; transition: width 0.1s ease; }

/* Preloader */
.preloader { position: fixed; inset: 0; background: var(--bg-dark); z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo { font-size: 2rem; font-weight: 800; color: white; display: flex; align-items: center; gap: 12px; }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden; }
.preloader-bar-fill { height: 100%; background: var(--accent-gradient); border-radius: 100px; animation: loadProgress 2s ease-in-out forwards; }
