/* Variables et Reset */
:root {
    --primary: #DB843D;
    --primary-dark: #1e1e1e;
    --secondary: #f39c12;
    --light: #f8f9fa;
    --dark: #121212;
    --text: #333;
    --text-light: #fff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--text-light);
    box-shadow: var(--box-shadow);
    padding: 1rem 2rem;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: #333;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    color: var(--primary);
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #333;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 2rem;
    background: url('TorrentBox8.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    padding: 50px 20px 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 75vh;
    padding-top: 0;
    color: #FFFFFF;
    flex: 1;
    max-width: 1024px;
    padding-right: 2rem;
}

.hero-content h1 {
/*    font-size: 3rem;*/
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
/*    font-size: 1.2rem;*/
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-top: auto;
    padding-top: 3rem;
    display: flex;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    opacity: 0.8;
}

.btn-large {
    padding: 1rem 2rem;
/*    font-size: 1.1rem;*/
}

/* Features */
.features {
    padding: 5rem 2rem;
    text-align: center;
}

.features h2 {
/*    font-size: 2.5rem;*/
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.features > p {
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    font-size: 18px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card .icon {
/*    font-size: 2.5rem;*/
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Technology */
.technology {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--light);
}

.technology h2 {
/*    font-size: 2.5rem;*/
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.technology > p {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
    font-size: 18px;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
/*    font-size: 1.5rem;*/
/*    font-weight: 700;*/
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Architecture Box */
.architecture-box {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.arch-flow {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 2px solid #ddd;
}

.arch-node.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #333;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.arch-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.arch-label {
    font-weight: 600;
}

.arch-arrow {
    font-size: 2.5rem;
    color: var(--primary);
    align-self: flex-end;
    margin-bottom: 2.3rem;
}

.arch-node-with-internet {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-arrow-vertical {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0.3rem 0;
}

.arch-info {
    text-align: left;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.arch-info p {
    margin: 0.5rem 0;
}

/* Pricing */
.pricing {
    padding: 5rem 2rem;
    text-align: center;
    background: #f4f7fa;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.pricing > p {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

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

.pricing-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #333;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 1.25rem;
/*    font-weight: 600;*/
}

.pricing-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-card > p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1em;
    position: relative;
}

.pricing-card li:before {
    content: 2713;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Final CTA */
.final-cta {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #333;
}

.final-cta h2 {
/*    font-size: 2.5rem;*/
    margin-bottom: 1rem;
}

.final-cta p {
/*    font-size: 1.2rem;*/
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--primary-dark);
    color: var(--primary);
    font-size: 18px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 75vh;
    padding-top: 0;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
/*        font-size: 2.2rem;*/
    }

    .cta-buttons {
    margin-top: auto;
    padding-top: 3rem;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
    margin-left: auto;
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--text-light);
        padding: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .arch-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }
}

.step p {
    font-size: 18px;
}

.architecture-box {
    font-size: 18px;
}

.arch-info p {
    font-size: 18px;
}

/* Features List */
.features-list {
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    padding: 2rem;
    background: none;
    border-radius: 12px;
    border: none;
}

.features-list h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.features-columns {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
}

.features-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.features-columns li {
    padding: 0.5rem 0;
    padding-left: 1em;
    position: relative;
    color: var(--primary);
    font-size: 18px;
}

.features-columns li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.features-columns li em {
    color: var(--primary);
    font-style: normal;
}

@media (max-width: 768px) {
    .features-list h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.features-columns {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Comparison Table */
.comparison-section {
    padding: 5rem 2rem;
    text-align: center;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.comparison-section > p {
    text-align: center;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--primary-dark);
    color: var(--text-light);
    font-weight: 600;
}

.comparison-table th.highlight {
    background: var(--primary);
    color: #333;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    background: #fafafa;
}

.comparison-table tr:hover {
    background: #f5f5f5;
}

.comparison-table td.highlight {
    background: rgba(219, 132, 61, 0.15);
    font-weight: 600;
}

.comparison-table td.yes {
    color: #27ae60;
    font-weight: 600;
}

.comparison-table td.no {
    color: #e74c3c;
}

.comparison-table td.partial {
    color: #f39c12;
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 1rem;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }
}
