/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Academic Color Palette */
    --primary-color: #0f172a;
    --primary-dark: #020617;
    --primary-light: #334155;
    --secondary-color: #64748b;
    --accent-color: #3b82f6;
    --accent-secondary: #10b981;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --background: #ffffff;
    --background-secondary: #f8fafc;
    --background-accent: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-lg: 24px;

    /* Shadows */
    --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);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.conference-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-authors {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-weight: 800;
}

.authors-line {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin-bottom: 8px;
}

.authors-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.author-name {
    font-weight: 600;
    color: white;
    position: relative;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.author-name:hover {
    color: rgba(59, 130, 246, 0.9);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.6);
    text-underline-offset: 3px;
}

.affiliation-line {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.affiliation-line i {
    color: rgba(59, 130, 246, 0.9);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
    /* max-width: 600px; */

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.hero-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.metric-number {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
    justify-content: center;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    font-weight: 500;
    justify-content: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--accent-color);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Teaser Section */
.teaser-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.teaser-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2364748b" fill-opacity="0.02"><circle cx="30" cy="30" r="1"/></g></svg>');
    opacity: 0.5;
}

.teaser-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.teaser-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    background: white;
    padding: 20px;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.teaser-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

/* Section Styles */
section {
    padding: var(--section-padding);
}

/* Problem Section */
.problem-section {
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    position: relative;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23dc2626" fill-opacity="0.03"><circle cx="20" cy="20" r="1"/></g></svg>');
    opacity: 0.5;
}

.problem-content {
    position: relative;
    z-index: 1;
}

.problem-intro {
    font-size: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #fecaca;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: #f87171;
}

.problem-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.protocol-comparison {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.protocol-comparison h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.protocols-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.protocol-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--background-accent);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.protocol-item span {
    color: var(--text-muted);
    font-size: 14px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Abstract Section */
.abstract {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.abstract::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23cbd5e1" fill-opacity="0.1"><circle cx="20" cy="20" r="1"/></g></svg>');
    opacity: 0.5;
}

.abstract-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.abstract-content p {
    margin-bottom: 24px;
}

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

/* Features Section */
.features {
    background: var(--background);
}

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

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* Architecture Section */
.architecture {
    background: var(--background-accent);
}

.architecture-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: center;
}

.architecture-description {
    order: 2;
    max-width: 800px;
}

.architecture-description p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.layers {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.layer {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 28px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.layer:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.layer-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-success);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.layer h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.layer p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.message-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.message-type {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background-accent);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.message-type code {
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    min-width: 80px;
    text-align: center;
}

.message-type span {
    color: var(--text-secondary);
    font-size: 14px;
}

.layer-features {
    list-style: none;
    margin-top: 16px;
}

.layer-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.layer-features i {
    color: var(--accent-secondary);
    width: 16px;
}

.architecture-image {
    order: 1;
    width: 100%;
    max-width: 700px;
}

.arch-diagram {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 20px;
}

/* Downloads Section */
.downloads {
    background: var(--background);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.download-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.download-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Authors Section */
.authors {
    background: var(--background-secondary);
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.author-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.author-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.author-affiliation {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.author-department {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.author-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.author-email:hover {
    color: var(--primary-color);
}

/* Validation Section */
.validation-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    position: relative;
}

.validation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310b981" fill-opacity="0.03"><circle cx="20" cy="20" r="1"/></g></svg>');
    opacity: 0.5;
}

.validation-content {
    position: relative;
    z-index: 1;
}

.validation-intro {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.experiments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.experiment-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #a7f3d0;
    transition: all 0.3s ease;
}

.experiment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: #6ee7b7;
}

.experiment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.experiment-header i {
    font-size: 24px;
    color: var(--accent-secondary);
}

.experiment-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.experiment-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.result-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--background-accent);
    border-radius: var(--border-radius);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-secondary);
}

.metric-desc {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: right;
}

.experiment-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--background-accent);
    border-radius: var(--border-radius);
    min-width: 120px;
}

.flow-step i {
    font-size: 24px;
    color: var(--accent-secondary);
}

.flow-step span {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.flow-arrow {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-secondary);
}

.security-tests {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.security-test {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--background-accent);
    border-radius: var(--border-radius);
}

.security-test i {
    font-size: 20px;
    color: #dc2626;
}

.security-test strong {
    color: var(--text-primary);
    font-size: 14px;
}

.security-test span {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Telecom Section */
.telecom-section {
    background: linear-gradient(135deg, #ede9fe 0%, #f3f4f6 100%);
    position: relative;
}

.telecom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%237c3aed" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.telecom-content {
    position: relative;
    z-index: 1;
}

.telecom-intro {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.telecom-timeline {
    margin-bottom: 48px;
    position: relative;
}

.telecom-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin: 0 32px;
    max-width: 300px;
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.telecom-principles h3 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.principle-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid #c7d2fe;
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: #a5b4fc;
}

.principle-card i {
    font-size: 32px;
    color: #7c3aed;
    margin-bottom: 16px;
}

.principle-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.principle-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Code Section */
.code-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2364748b" fill-opacity="0.03"><rect width="1" height="1" x="30" y="30"/></g></svg>');
}

.implementation-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.implementation-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.validation-list {
    list-style: none;
    margin-bottom: 32px;
}

.validation-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.validation-list i {
    color: #10b981;
    font-size: 14px;
}

.code-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Citation Section */
.citation {
    background: var(--background-accent);
}

.citation-box {
    position: relative;
    background: var(--text-primary);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-top: 32px;
}

#citation-text {
    color: #a3a3a3;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: auto;
}

.copy-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left h3 {
    margin-bottom: 8px;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-left p {
    color: #a3a3a3;
    font-size: 14px;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin-bottom: 8px;
    color: #a3a3a3;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .architecture-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 40px 0;
    }

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

    .nav-menu li {
        margin: 16px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid,
    .downloads-grid,
    .authors-grid,
    .problems-grid,
    .experiments-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .protocols-list {
        grid-template-columns: 1fr;
    }

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

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

    .telecom-timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 80px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
    }

    .timeline-content {
        margin: 0;
        max-width: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
        gap: 24px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

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


    .hero {
        padding: 120px 0 80px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .feature-card,
    .download-card,
    .author-card {
        padding: 24px;
    }

    .citation-box {
        padding: 16px;
    }

    #citation-text {
        font-size: 12px;
    }

    .copy-btn {
        position: static;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}