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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

nav .logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 1001;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1001;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
}

nav a:hover, nav a.active {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.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 1200 600"><circle cx="200" cy="100" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="400" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="600" cy="200" r="80" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Page Header (for non-home pages) */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: scale(1.05);
}

.pricing-speed {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.pricing-button {
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.3s;
}

.pricing-button:hover {
    transform: scale(1.1);
}

/* Speed Test */
.speed-test {
    padding: 80px 20px;
    background: #f8f9fa;
}

.speed-test iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 80px 20px;
    background: white;
}

.content-section.alt {
    background: #f8f9fa;
}

.guide-content, .terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-section, .terms-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #667eea;
}

.content-section.alt .guide-section,
.content-section.alt .terms-section {
    background: white;
}

.guide-section h3, .terms-section h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.guide-section h4, .terms-section h4 {
    color: #4a5568;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.guide-section ul, .terms-section ul {
    margin-left: 25px;
    line-height: 2;
}

.guide-section p, .terms-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-card a {
    color: white;
    text-decoration: none;
}

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

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin: 5px 0;
    opacity: 0.8;
}

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

/* Responsive - Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul a {
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    .hero h1, .page-header h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .speed-test iframe {
        height: 450px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-speed {
        font-size: 2.5rem;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
}
