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

:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary-color: #004E89;
    --text-color: #1a1a1a;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
    min-height: 100%;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.logo-emoji {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown > a::after {
    content: '▼';
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    margin-left: 0.2rem;
}

.nav-dropdown:hover > a::after,
.nav-dropdown.active > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li.dropdown-separator {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
    padding: 0;
    list-style: none;
    height: 0;
    overflow: hidden;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    display: block;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-menu a.active {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 6rem 0 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 30%, #f8f9fa 100%);
    position: relative;
    overflow: visible;
    /* Ensure content is visible - let it size naturally */
    min-height: auto;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    margin: 0;
}

/* Use flexbox centering for better layout in modern browsers */
@media (min-width: 769px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: auto;
        overflow: hidden;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    /* Ensure container content is visible */
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    display: block !important;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Ensure text is always visible - solid color fallback */
    color: var(--text-color);
}

/* Gradient text effect only for browsers that support it */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero-title {
        background: linear-gradient(135deg, var(--text-color) 0%, var(--text-light) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
    visibility: visible;
    opacity: 1;
}

/* Hero Content Grid: Description + Terminal Side by Side */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
}

.hero-description-wrapper {
    display: flex;
    align-items: center;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
    visibility: visible;
    opacity: 1;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.hero-cta .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-cta .btn-secondary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
}

.hero-cta .btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--bg-light);
}

/* Terminal Animation */
.hero-terminal {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    width: 100%;
    height: 280px;
    flex-shrink: 0;
}

.terminal-header {
    background: #2a2a2a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn-close {
    background: #ff5f56;
}

.terminal-btn-minimize {
    background: #ffbd2e;
}

.terminal-btn-maximize {
    background: #27c93f;
}

.terminal-title {
    color: #888;
    font-size: 0.85rem;
    flex: 1;
    text-align: center;
}

.terminal-body {
    padding: 1.5rem;
    height: calc(100% - 50px);
    overflow-y: auto;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.terminal-prompt {
    color: #00ff88;
    margin-right: 0.5rem;
    font-weight: bold;
}

.terminal-command {
    color: #ffffff;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.terminal-cursor {
    color: #00ff88;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-output {
    margin-top: 1rem;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.5s ease-in 3s forwards;
}

.terminal-output-line {
    margin-bottom: 0.25rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    visibility: visible;
    opacity: 1;
}

.stat {
    text-align: center;
    visibility: visible;
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    visibility: visible;
    opacity: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
    word-wrap: break-word;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 5rem 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
}

.section {
    padding: 4rem 0;
    width: 100%;
    /* Ensure sections are visible */
    visibility: visible;
    opacity: 1;
}

/* Reduce top padding for first section after hero */
.hero + .section {
    padding-top: 1rem;
}

.section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.content-block {
    margin-bottom: 2rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-block p,
.content-block li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-block p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-block ul,
.content-block ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-color);
}

.content-block li {
    margin-bottom: 0.5rem;
}

.content-block code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.code-block {
    background: #1a1a1a;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #2a2a2a;
    color: #888;
    font-size: 0.9rem;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    word-wrap: normal;
    word-break: normal;
}

.code-block {
    max-width: 100%;
}

.code-block code {
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    background: transparent;
    padding: 0;
}

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

.highlight-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.highlight-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.channel-setup {
    margin-top: 2rem;
}

.channel-setup .subsection-title {
    margin-top: 2rem;
    font-size: 1.5rem;
}

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

.command-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.command-item code {
    display: block;
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.command-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.example-block {
    margin-bottom: 3rem;
}

.troubleshooting-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid #ff6b35;
}

.troubleshooting-item h3 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.troubleshooting-item h4 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.troubleshooting-item p {
    color: var(--text-light);
    margin: 0;
}

.channel-setup {
    margin-top: 2rem;
}

.channel-setup h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.channel-setup h2:first-child {
    margin-top: 0;
}

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

.doc-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.doc-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.doc-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-item li {
    padding: 0.5rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--bg-light);
}

.doc-item li:last-child {
    border-bottom: none;
}

.architecture-diagram {
    background: #1a1a1a;
    color: #00ff88;
    padding: 2rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
    margin: 1.5rem 0;
    white-space: pre;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header {
    width: 100%;
}

.page-header > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.8;
}

/* Next Steps */
.next-steps {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    border-left: 4px solid var(--primary-color);
}

.next-steps h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    margin-bottom: 0.75rem;
}

.next-steps a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.next-steps a:hover {
    text-decoration: underline;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Nav Brand Link */
.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

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

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    /* Ensure visibility by default */
    opacity: 1;
    visibility: visible;
    display: block;
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

/* Integrations Section */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.integration-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    /* Ensure visibility by default */
    opacity: 1;
    visibility: visible;
    display: block;
}

.integration-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

.integrations-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    font-style: italic;
}

/* Getting Started Section */
.getting-started {
    background: var(--bg-light);
}

.install-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
}

.install-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.install-code {
    background: #0d0d0d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.install-code code {
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    word-break: break-all;
}

.install-note {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

.getting-started-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials Section */
.featured-in {
    background: white;
    padding: 4rem 0;
}

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

.featured-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.featured-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.featured-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.featured-item p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.featured-author {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    margin-top: 0.5rem;
}

.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    /* Ensure visibility by default */
    opacity: 1;
    visibility: visible;
    display: block;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

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

.faq-question {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--primary-dark);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

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

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--bg-light);
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #888;
    padding: 3rem 0 1.5rem;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 2rem;
        min-height: auto;
    }
    
    .hero .container {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero .container > * {
        width: 100%;
    }

    .container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .section > * {
        padding: 0 15px;
    }

    .page-header > * {
        padding: 0 15px;
    }

    .footer .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .nav-brand {
        font-size: 1.3rem;
    }

    .logo-emoji {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
        width: 100%;
    }

    /* Mobile Dropdown */
    .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-dropdown > a::after {
        content: '▶';
        font-size: 0.7rem;
        margin-left: auto;
        transform: rotate(0deg);
    }

    .nav-dropdown.active > a::after {
        transform: rotate(90deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: var(--bg-light);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        min-width: auto;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 1000px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding-left: 2rem;
        font-size: 0.95rem;
        border-left: none;
    }

    .dropdown-menu a:hover {
        padding-left: 2.25rem;
        background: rgba(255, 107, 53, 0.1);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 4rem 0 2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
        order: 1 !important;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        order: 2 !important;
    }

    .hero-content-grid {
        display: contents !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    .hero-description-wrapper {
        order: 3 !important;
        margin-bottom: 0;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 0;
        padding: 0 10px;
    }

    .hero-cta {
        margin: 1.5rem auto 2rem;
        gap: 2rem;
        row-gap: 2rem;
        order: 4 !important;
    }
    
    .hero-terminal {
        order: 5 !important;
        max-width: 100%;
        margin: 1.5rem auto 0;
        font-size: 0.85rem;
        height: 280px;
        flex-shrink: 0;
    }
    
    .terminal-body {
        padding: 1rem;
        height: calc(100% - 45px);
    }
    
    .terminal-line {
        font-size: 0.85rem;
    }
    
    .terminal-output {
        font-size: 0.8rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 2rem;
        padding-bottom: 0.75rem;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .integrations-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }

    .hero-cta,
    .getting-started-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 0;
    }

    .code-block {
        margin: 1rem 0;
    }

    .code-block pre {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .install-box {
        padding: 1.5rem;
    }

    .install-code {
        padding: 1rem;
    }

    .install-code code {
        font-size: 0.85rem;
    }

    .content-block ul,
    .content-block ol {
        padding-left: 1.5rem;
    }

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

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

    .container {
        padding: 0 12px;
    }

    .section > * {
        padding: 0 12px;
    }

    .page-header > * {
        padding: 0 12px;
    }

    .footer .container {
        padding: 0 12px;
    }

    .navbar .container {
        padding: 0 12px;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.9rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .code-block pre {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .install-code code {
        font-size: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}
