/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --background-color: #ffffff;
--light-background: #ffffff;
--light-surface: #f8fafc;
--light-text-primary: #1f2937;
--light-text-secondary: #6b7280;
    --surface-color: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --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);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation - Rebuilt from scratch */
header {
    background: 
        linear-gradient(135deg, rgba(12, 12, 12, 0.95) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(22, 33, 62, 0.95) 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo a:hover {
    color: #ffd700;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    padding: 0;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
    border-top: 3px solid #667eea;
}

.dropdown.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: #667eea;
    color: white;
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        height: calc(100vh - 80px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 1.5rem 2rem;
        display: block;
        width: 100%;
        color: white;
    }

    .dropdown-menu {
        position: static;
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(0, 0, 0, 0.8) !important;
        padding: 0.5rem 0;
        margin: 0.5rem 1rem;
        border-radius: 8px;
        border-top: 2px solid #667eea;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    .dropdown-menu a {
        padding: 1.2rem 2rem;
        margin: 0;
        background: transparent;
        border-radius: 6px;
        color: white;
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
        color: #fff;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Tool Section */
.tool-section {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.tool-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--light-text-primary);
}

.tool-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-background);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-lg);
}

/* DPI Calculator */
.dpi-calculator {
    text-align: center;
}

.calculator-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: end;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--light-text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    padding: 0.75rem 1rem;
    background-color: var(--light-background);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--light-text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: var(--light-text-secondary);
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group input:hover {
    border-color: #667eea;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: 1px solid;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn-secondary {
    background-color: var(--background-color);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background-color: var(--surface-color);
    border-color: var(--secondary-color);
    color: var(--text-primary);
}

.calculator-result {
    margin: 2rem 0;
}

.result-display {
    background-color: var(--light-surface);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.result-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #667eea;
}

.test-zone {
    background-color: var(--light-surface);
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
    min-height: 200px;
    position: relative;
    cursor: crosshair;
    user-select: none;
    transition: all 0.3s ease;
}

.test-zone:hover {
    border-color: #667eea;
}

.test-zone p {
    color: var(--light-text-secondary);
    font-size: 1rem;
    text-align: center;
    margin: 0;
    padding: 1.5rem;
    background-color: var(--light-background);
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.measurement-line {
    position: absolute;
    height: 2px;
    background-color: #667eea;
    display: none;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 1px;
}

/* Content Section */
.content-section {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.content-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background-color: var(--light-background);
    padding: 0;
}

.main-content h2 {
    color: var(--light-text-primary);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
}

.main-content h3 {
    color: var(--light-text-primary);
    margin: 2.5rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.main-content p {
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.main-content ul, .main-content ol {
    color: var(--light-text-secondary);
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.main-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background-color: var(--light-surface);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.widget h3 {
    color: var(--light-text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.tool-links, .blog-links {
    list-style: none;
}

.tool-links li, .blog-links li {
    margin-bottom: 0.5rem;
}

.tool-links a, .blog-links a {
    color: var(--light-text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: block;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.tool-links a:hover, .blog-links a:hover {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

/* Footer */
footer {
    background: 
        linear-gradient(135deg, rgba(12, 12, 12, 0.95) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(22, 33, 62, 0.95) 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-gradient);
    background-size: 400% 400%;
    animation: gradientShift 3s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    font-size: 1.2rem;
    font-weight: 700;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    display: inline-block;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-blue);
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* New Sections Styles */

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--light-background);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text-primary);
    margin-bottom: 60px;
    position: relative;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--light-surface);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-text-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--light-text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-background);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text-primary);
    margin-bottom: 60px;
    position: relative;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-surface);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--light-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-name {
    font-weight: 600;
    color: var(--light-text-primary);
    font-size: 1rem;
}

.author-title {
    color: var(--light-text-secondary);
    font-size: 0.9rem;
}

/* Quick FAQ Section */
.quick-faq-section {
    padding: 80px 0;
    background: var(--light-surface);
}

.quick-faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text-primary);
    margin-bottom: 60px;
    position: relative;
}

.quick-faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--light-background);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    font-weight: 600;
    color: var(--light-text-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question::before {
    content: '❓';
    font-size: 1.2rem;
}

.faq-answer {
    color: var(--light-text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

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

.feature-card,
.testimonial-card,
.faq-item,
.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
 .feature-card:nth-child(2) { animation-delay: 0.2s; }
 .feature-card:nth-child(3) { animation-delay: 0.3s; }
 .feature-card:nth-child(4) { animation-delay: 0.4s; }
 .feature-card:nth-child(5) { animation-delay: 0.5s; }
 .feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Gaming Tips Carousel Section */
.gaming-tips-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.gaming-tips-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.gaming-tips-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.tips-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    perspective: 1000px;
}

.tip-card {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    opacity: 0;
    transform: translateX(100px) rotateY(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tip-card.active {
    opacity: 1;
    transform: translateX(0) rotateY(0);
    z-index: 10;
}

.tip-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.tip-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.tip-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.tip-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Tools Preview Section */
.tools-preview-section {
    padding: 80px 0;
    background: var(--light-background);
}

.tools-preview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text-primary);
    margin-bottom: 60px;
    position: relative;
}

.tools-preview-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.tools-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-preview-card {
    background: var(--light-surface);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tool-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.tool-preview-card:hover::before {
    opacity: 0.1;
}

.tool-preview-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

.tool-preview-card > * {
    position: relative;
    z-index: 2;
}

.tool-preview-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tool-preview-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--light-text-primary);
    margin-bottom: 15px;
}

.tool-preview-card p {
    color: var(--light-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.tool-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.stat {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.tool-preview-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tool-preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(147, 51, 234, 0.3) 0%, transparent 50%);
}

.cta-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-features {
    display: flex;
    gap: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

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

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) { top: 20%; left: 20%; }
.floating-element:nth-child(2) { top: 60%; left: 70%; }
.floating-element:nth-child(3) { top: 10%; left: 60%; }
.floating-element:nth-child(4) { top: 70%; left: 10%; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

/* Performance Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: var(--light-surface);
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text-primary);
    margin-bottom: 60px;
    position: relative;
}

.comparison-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--light-background);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.comparison-card.before {
    border-color: #ef4444;
}

.comparison-card.after {
    border-color: #10b981;
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.comparison-list {
    list-style: none;
    margin-bottom: 30px;
}

.comparison-list li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--light-text-secondary);
    border-bottom: 1px solid #f3f4f6;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.performance-meter {
    text-align: center;
}

.meter-bar {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
    background: #f3f4f6;
    overflow: hidden;
}

.before-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #ef4444, #dc2626);
    border-radius: 4px;
    animation: fillBar 2s ease-out;
}

.after-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 95%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    animation: fillBar 2s ease-out 0.5s both;
}

@keyframes fillBar {
    from { width: 0; }
}

.meter-label {
    font-weight: 600;
    color: var(--light-text-primary);
}

.comparison-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* FAQ Page Styles */
.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 69, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.15);
}

.faq-item h4 {
    color: #8b45ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.faq-item ul {
    color: #e0e0e0;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.faq-item li {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.faq-item strong {
    color: #fff;
    font-weight: 600;
}

.faq-item .highlight-box {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 20, 147, 0.1));
    border-radius: 8px;
    border-left: 4px solid #8b45ff;
}

/* FAQ Search Styles */
.faq-search {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 69, 255, 0.2);
}

.faq-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: #8b45ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 69, 255, 0.1);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== TERMS OF SERVICE STYLES ===== */
.terms-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.terms-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.terms-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.terms-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.terms-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.terms-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.terms-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.terms-breadcrumb a:hover {
    opacity: 0.8;
}

.terms-breadcrumb span {
    color: rgba(255,255,255,0.7);
}

.terms-content {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.terms-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.terms-sidebar {
    position: sticky;
    top: 100px;
}

.toc-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.toc-card h3 {
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 700;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.toc-link:hover,
.toc-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
    border-left-color: #667eea;
}

.toc-link.active {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.terms-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terms-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.section-header h2 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.section-content {
    color: #4a5568;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border: 1px solid #667eea40;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    border-left: 4px solid #667eea;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.feature-list li {
    background: #f7fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.conduct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.conduct-item {
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid;
}

.conduct-item.allowed {
    background: #f0fff4;
    border-color: #38a169;
}

.conduct-item.prohibited {
    background: #fff5f5;
    border-color: #e53e3e;
}

.conduct-item h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.conduct-item.allowed h4 {
    color: #38a169;
}

.conduct-item.prohibited h4 {
    color: #e53e3e;
}

.privacy-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.privacy-item {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-top: 4px solid #667eea;
}

.privacy-item h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ip-notice {
    background: linear-gradient(135deg, #2d374850 0%, #4a556850 100%);
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    color: #2d3748;
    font-weight: 600;
}

.disclaimer-box {
    background: #fff8e1;
    border: 2px solid #ffa726;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.disclaimer-box h4 {
    color: #e65100;
    margin-bottom: 1rem;
    font-weight: 700;
}

.disclaimer-box ul {
    margin: 0;
}

.disclaimer-box li {
    margin-bottom: 0.5rem;
}

.liability-note {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    color: #1565c0;
    font-weight: 600;
}

.update-notice {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border: 1px solid #667eea;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    color: #667eea;
    font-weight: 600;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.contact-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.contact-item strong {
    color: #2d3748;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.terms-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 700;
}

.action-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Terms Responsive Design */
@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .terms-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 100px 0 60px;
    }
    
    .terms-title {
        font-size: 2.5rem;
    }
    
    .terms-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .terms-sidebar {
        position: static;
        order: 2;
    }
    
    .conduct-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-actions {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-number {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .terms-card {
        padding: 1.5rem;
    }
    
    .toc-card {
        padding: 1.5rem;
    }
    
    .terms-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(12, 12, 12, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 0.5rem 1rem;
        padding: 1rem;
        border-radius: 15px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .bar {
        background: #ffffff !important;
        transition: all 0.3s ease;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--neon-blue);
        box-shadow: 0 0 10px var(--neon-blue);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--neon-blue);
        box-shadow: 0 0 10px var(--neon-blue);
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }

    .tool-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .calculator-controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .input-group input {
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 1rem;
    }

    .content-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        padding: 1.5rem;
    }
    
    /* New sections mobile responsiveness */
    .features-section h2,
    .testimonials-section h2,
    .quick-faq-section h2,
    .stats-section h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card,
    .testimonial-card,
    .faq-item {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-section,
    .testimonials-section,
    .quick-faq-section,
    .stats-section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    .tool-section, .content-section {
        padding: 4rem 0;
    }

    .tool-container {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .widget {
        padding: 1.5rem;
    }
}

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .calculator-controls {
        flex-direction: column;
        align-items: center;
    }

    .input-group input {
        width: 100%;
        max-width: 300px;
    }

    .content-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    .tool-container {
        padding: 1.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
    }

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .tool-section {
        padding: 2rem 0;
    }

    .content-section {
        padding: 2rem 0;
    }

    .main-content {
        padding: 1rem;
    }

    .widget {
        padding: 1rem;
    }
}

/* Tool-specific styles */
.tool-page {
    padding: 2rem 0;
}

.tool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tool-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tool-description {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.tool-interface {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}