/* Import Aeonik-like font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #050505;
    --secondary-color: #6c757d;
    --accent-color: #007bff;
    --background-color: #ffffff;
    --text-color: #000000;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 1rem;
}

.btn-dark {
    background-color: var(--primary-color);
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.intro-section {
    border-left: 4px solid var(--accent-color);
}

.intro-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Hero Visual */
.hero-visual {
    padding: 2rem;
}

.simulation-window {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.window-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.window-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.simulation-content {
    padding: 1.5rem;
}

.terminal-output {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.terminal-line {
    color: #00ff00;
    margin-bottom: 0.5rem;
    animation: typewriter 0.5s ease-in-out;
}

.terminal-line.success {
    color: #00ffff;
    font-weight: bold;
}

.stats-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-label {
    display: block;
    color: #ccc;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

@keyframes typewriter {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Networks Grid */
.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.network-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.network-item:hover {
    transform: translateY(-5px);
}

.network-item i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.network-item span {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-avatar i {
    color: var(--accent-color);
}

.team-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--secondary-color);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    border-top: 1px solid #e9ecef;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

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

.footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-visual {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .networks-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .network-item {
        padding: 1rem;
    }
    
    .network-item i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

/* Pricing Styles */
.pricing-hero {
    padding-top: 120px;
}

.calculator-card {
    border: 1px solid #e9ecef;
}

.pricing-result {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0056b3 100%);
}

.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card .card-header {
    background: var(--light-bg);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card .card-body {
    padding: 2rem;
}

.pricing-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    margin: 1.5rem 0;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price .period {
    font-size: 1rem;
    color: var(--secondary-color);
    display: block;
    margin-top: 0.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.discount-card {
    transition: transform 0.3s ease;
}

.discount-card:hover {
    transform: translateY(-3px);
}

/* Contact Styles */
.contact-hero {
    padding-top: 120px;
}

.contact-card {
    border: 1px solid #e9ecef;
}

.contact-item {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.form-check-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-check {
    margin-bottom: 0;
}

/* Legal Pages Styles */
.terms-section,
.privacy-section {
    padding-top: 120px;
}

.terms-content h2,
.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.terms-content p,
.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.terms-content li,
.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 100px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background-color: #6c757d;
    transform: none;
    cursor: not-allowed;
}

/* Additional Responsive Styles */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-hero,
    .contact-hero,
    .terms-section,
    .privacy-section {
        padding-top: 100px;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .form-check-group {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 1rem;
    }
}
