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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* Glassmorphic Effect */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-text {
    background: linear-gradient(45deg, #000, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.5rem;
    font-size: 2rem;
}

.logo-full {
    color: #000;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #000;
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #000, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: linear-gradient(45deg, #000, #333);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn.secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn.secondary:hover {
    background: #333;
    color: white;
}

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

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

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #666;
}

/* Tech Stack Section */
.tech-stack {
    padding: 80px 2rem;
    text-align: center;
    background: white;
}

.tech-stack h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-stack p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
}

.arch-diagram {
    max-width: 600px;
    margin: 0 auto;
}

.arch-layer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.layer-stack {
    margin-top: 2rem;
}

.layer {
    padding: 1rem;
    margin: 0.5rem 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border-left: 4px solid #333;
}

/* Ecosystem Section */
.ecosystem {
    padding: 80px 2rem;
    background: #f8f9fa;
    text-align: center;
}

.ecosystem h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ecosystem p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.eco-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.eco-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.eco-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.eco-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #000;
}

/* CTA Section */
.cta {
    padding: 80px 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
}

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

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.125rem;
}

.footer-brand .logo-text {
    color: white;
    margin-right: 0.5rem;
}

.footer-brand p {
    color: #ccc;
    margin: 1rem 0;
}

.footer-brand a {
    color: #ccc;
    text-decoration: none;
}

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

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feature-grid, .eco-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Page-specific styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.coming-soon {
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 600px;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #333;
}

.platform-grid, .option-grid, .pillar-grid, .areas-grid, .program-grid, .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.platform-card, .option-card, .pillar-card, .area-card, .program-card, .category-card, .guarantee-card {
    padding: 2rem;
    text-align: center;
}

.platform-icon, .option-icon, .pillar-icon, .guarantee-icon, .category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.option-card ul, .program-card ul {
    text-align: left;
    margin-top: 1rem;
}

.option-card li, .program-card li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.option-card li:before, .program-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

.pricing-card {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.price .period {
    display: block;
    font-size: 1rem;
    color: #666;
}

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

.pricing-features .feature {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.pricing-features .feature i {
    color: #28a745;
    margin-right: 1rem;
}

.pricing-note {
    font-size: 0.875rem;
    color: #666;
    margin: 2rem 0;
    font-style: italic;
}

.coming-soon-badge {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
}

.governance-process {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #333, #666);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.poi-components {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.component {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem;
}

.component-percentage {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.responsibility-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.responsibility-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.responsibility-section h3 {
    margin-bottom: 1rem;
    color: #333;
}

.responsibility-section ul {
    list-style: none;
    padding: 0;
}

.responsibility-section li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.responsibility-section li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #333;
}

.requirements, .application-process, .join-cta {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.requirements ul {
    margin: 1rem 0;
}

.requirements li {
    margin: 0.5rem 0;
}

.join-cta {
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
}

.join-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.join-cta p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

/* Hero variations */
.apex-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.foundation-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.icf-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.apex-hero h1, .foundation-hero h1, .icf-hero h1 {
    color: white;
}

.apex-hero p, .foundation-hero p, .icf-hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Download Section Styles */
.downloads-section {
    margin-top: 3rem;
}

.downloads-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.downloads-section > p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header .platform-icon {
    font-size: 2.5rem;
    color: #333;
}

.platform-header h4 {
    margin: 0;
    font-size: 1.5rem;
}

.download-info {
    margin-bottom: 2rem;
    text-align: left;
}

.download-info > div {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.download-info .version {
    font-weight: bold;
    color: #333;
}

.download-info .file-size {
    color: #666;
}

.download-info .requirements {
    color: #555;
    font-size: 0.85rem;
}

.download-actions {
    margin-top: 1.5rem;
}

.download-btn {
    display: inline-block;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.checksum {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checksum code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    word-break: break-all;
}

.copy-checksum {
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.copy-checksum:hover {
    background: #e9ecef;
}

.usb-creator-section, .verification-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.usb-creator-section h4, .verification-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.verification-section ul {
    text-align: left;
    max-width: 500px;
    margin: 1rem auto;
    list-style: none;
    padding: 0;
}

.verification-section li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.verification-section code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

/* Release Toggle */
.release-toggle {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 12px;
}

.release-toggle label {
    font-weight: bold;
    margin-right: 1rem;
}

.release-toggle input[type="checkbox"] {
    transform: scale(1.5);
    cursor: pointer;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
