:root {
    --cloudflare-orange-light: #f38533;
    --cloudflare-orange-dark: #ea6f1b;
    --cloudflare-text-white: #ffffff;
    --cloudflare-dark: #404041;
    --cloudflare-light: #f4f4f4;
    --cloudflare-blue: #2c7cb0;
    --background-gray: #f5f5f5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--background-gray);
}

.header {
    background: linear-gradient(to bottom, var(--cloudflare-orange-light), var(--cloudflare-orange-dark));
    color: var(--cloudflare-text-white);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links a {
    color: var(--cloudflare-text-white);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a.active {
    font-weight: bold;
    opacity: 1;
}

.hero {
    text-align: center;
    padding: 3rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.intro {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.note {
    background-color: #f0f8ff;
    border-left: 4px solid #1e90ff;
    padding: 1rem;
    margin: 1.5rem 0;
}

.app-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.app-button {
    background-color: #f5f5f5;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.app-button.active {
    background-color: var(--cloudflare-orange-dark);
    color: white;
}

h1, h2, h3 {
    color: var(--cloudflare-dark);
}

.hero h1 {
    color: var(--cloudflare-text-white);
}

h1 {
    margin-bottom: 1rem;
}

h2 {
    margin-bottom: 0.8rem;
}

h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.tabs {
    display: none;
}

.tab-content {
    display: none;
    background-color: white;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

.step {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.step:last-child {
    border-bottom: none;
}

.code-block {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.4;
    max-height: 500px;
}

.code-block .comment {
    color: #6a9955;
}

.code-block .string {
    color: #ce9178;
}

.code-block .keyword {
    color: #569cd6;
}

.code-block .function {
    color: #dcdcaa;
}

.highlight {
    background-color: rgba(246, 130, 31, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-weight: 500;
}

.button {
    display: inline-block;
    background-color: var(--cloudflare-orange-dark);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #d45e0a;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--cloudflare-dark);
    color: white;
    margin-top: 2rem;
}

.step-num {
    display: inline-block;
    background-color: var(--cloudflare-orange-dark);
    color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}
