/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.logo-text.green {
    color: #10b981;
}

.logo-badge {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-desktop a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: #059669;
}

.auth-buttons {
    display: none;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.login-btn:hover {
    color: #059669;
}

.signup-btn {
    background: #059669;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.signup-btn:hover {
    background: #047857;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu nav {
    padding: 1rem;
}

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: #374151;
    padding: 0.75rem 0;
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: #059669;
}

.mobile-auth {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.mobile-auth a {
    padding: 0.5rem 0;
}

.mobile-auth .signup-btn {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-green {
    color: #059669;
}

.hero-text p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #059669;
    color: white;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #047857;
}

.btn-secondary {
    border: 2px solid #059669;
    color: #059669;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #ecfdf5;
}

.full-width {
    width: 100%;
}

/* Purchase Panel */
.purchase-panel {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.purchase-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-btn {
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    background: #f3f4f6;
    color: #374151;
}

.service-btn:hover {
    background: #e5e7eb;
}

.service-btn.active {
    background: #059669;
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.network-btn {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.network-btn:hover {
    border-color: #d1d5db;
}

.network-btn.active {
    border-color: #059669;
    background: #ecfdf5;
}

.network-icon {
    margin-bottom: 0.25rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
}

.network-btn div:last-child {
    font-size: 0.75rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    ring: 2px;
    ring-color: #059669;
    border-color: transparent;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

/* Features */
.features {
    background: white;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    color: #059669;
    width: 2rem;
    height: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
}

/* Services */
.services {
    background: #f9fafb;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: #dcfce7;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    color: #059669;
    width: 1.5rem;
    height: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.service-card li i {
    color: #10b981;
    width: 1rem;
    height: 1rem;
}

/* Testimonials */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
    width: 1.25rem;
    height: 1.25rem;
}

.testimonial-card p {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 1rem;
}

.author .name {
    font-weight: 600;
    color: #111827;
}

.author .role {
    font-size: 0.875rem;
    color: #6b7280;
}

/* CTA */
.cta {
    background: #059669;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: #d1fae5;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
}

.btn-light {
    background: white;
    color: #059669;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.btn-light:hover {
    background: #f3f4f6;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline:hover {
    background: #047857;
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #d1d5db;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #d1d5db;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #10b981;
}

.footer-links h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #10b981;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
}

.contact-item i {
    color: #10b981;
    width: 1.125rem;
    height: 1.125rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #d1d5db;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .auth-buttons {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text h1 {
        font-size: 3.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}