/* 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: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 2px solid #ff6b35;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(255, 107, 53, 0.2);
    z-index: 10000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    color: #ff6b35;
    font-size: 18px;
    margin-bottom: 8px;
}

.cookie-text p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: #ff6b35;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.cookie-text a:hover {
    border-bottom-color: #ff6b35;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #ff6b35;
    color: white;
}

.cookie-accept:hover {
    background: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.cookie-reject {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #444;
}

.cookie-reject:hover {
    background: #2d2d2d;
    border-color: #666;
    color: #fff;
}

/* Header */
header {
    background: #0a0a0a;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-compact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 2px solid #ff6b35;
    border-radius: 8px;
    transition: all 0.3s;
}

.logo-compact:hover {
    background: rgba(255, 107, 53, 0.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.logo-compact-cwc {
    font-size: 20px;
    font-weight: 800;
    color: #ff6b35;
    letter-spacing: 1px;
}

.logo-compact-divider {
    width: 2px;
    height: 20px;
    background: #ff6b35;
}

.logo-compact-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #ff8555;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.tutorial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    color: #ff6b35;
    font-size: 14px;
    margin-bottom: 30px;
}

h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 .highlight {
    color: #ff6b35;
}

.hero p {
    font-size: 18px;
    color: #999;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-secondary {
    background: #1a1a1a;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #2a2a2a;
}

.hero-mockup {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    align-items: center;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-content {
    text-align: left;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.terminal-line {
    color: #999;
    margin-bottom: 8px;
}

.terminal-line.success {
    color: #27c93f;
}

.keyword-chart {
    background: #0a0a0a;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.chart-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.chart-bar {
    flex: 1;
    background: #ff6b35;
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-subtitle {
    font-size: 14px;
    color: #999;
}

/* Overview Section */
.overview-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 6px 16px;
    border-radius: 16px;
    color: #ff6b35;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 18px;
    color: #999;
    max-width: 900px;
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.benefit-icon {
    font-size: 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* Step Sections */
.step-section {
    padding: 80px 0;
}

.step-header {
    text-align: center;
    margin-bottom: 60px;
}

.step-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 6px 16px;
    border-radius: 16px;
    color: #ff6b35;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.step-header h2 {
    margin-bottom: 20px;
}

.step-header p {
    font-size: 18px;
    color: #999;
    max-width: 800px;
    margin: 0 auto;
}

/* Legal Notice */
.legal-notice {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notice-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.notice-content p {
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
}

/* Method Card */
.method-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.method-header {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}

.method-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.method-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.method-header p {
    font-size: 14px;
    color: #999;
}

.method-body {
    padding: 0 24px 24px 68px;
}

.method-body p {
    color: #bbb;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Prompt Box */
.prompt-box {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
}

.prompt-header span {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
}

.copy-btn {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: rgba(255, 107, 53, 0.2);
}

.prompt-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #ccc;
    white-space: pre-wrap;
}

/* How to Use Box */
.how-to-use {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.how-to-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.how-to-content h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #60a5fa;
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.how-to-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.step-num {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.how-to-step a {
    color: #60a5fa;
    text-decoration: underline;
}

.how-to-step a:hover {
    color: #93c5fd;
}

/* Analysis Card */
.analysis-card {
    margin-bottom: 40px;
}

.analysis-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.analysis-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.analysis-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.analysis-header p {
    font-size: 14px;
    color: #999;
}

/* Pro Tip */
.pro-tip {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 60px;
}

.pro-tip h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #a78bfa;
}

.pro-tip p {
    color: #bbb;
    margin-bottom: 20px;
}

/* Keyword Grid */
.keyword-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.keyword-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.keyword-card:hover {
    border-color: #3a3a3a;
    transform: translateY(-2px);
}

.keyword-card.highlight {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-color: rgba(255, 107, 53, 0.3);
}

.keyword-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.keyword-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.keyword-card p {
    font-size: 14px;
    color: #999;
}

.keyword-card .arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    color: #666;
}

/* Prompt Card Large */
.prompt-card-large {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.prompt-card-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #2a2a2a;
}

.prompt-icon {
    font-size: 32px;
    margin-right: 16px;
}

.prompt-card-header h3 {
    font-size: 24px;
}

.copy-btn-large {
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn-large:hover {
    background: #ff8555;
}

.prompt-content-large {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #ccc;
    white-space: pre-wrap;
    max-height: 600px;
    overflow-y: auto;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tip-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
}

.tip-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.tip-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.tip-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* Outline Card */
.outline-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.outline-header {
    padding: 24px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.outline-icon {
    font-size: 32px;
    margin-right: 16px;
}

.outline-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.outline-header p {
    font-size: 14px;
    color: #999;
}

.outline-content {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #ccc;
    white-space: pre-wrap;
    max-height: 600px;
    overflow-y: auto;
}

/* Benefits Card */
.benefits-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.benefits-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.benefits-icon {
    font-size: 32px;
}

.benefits-header h3 {
    font-size: 24px;
}

.benefits-list-check {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #27c93f;
}

/* Execution Card */
.execution-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.execution-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.execution-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.execution-card p {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 20px;
}

.link-arrow {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.link-arrow:hover {
    color: #c4b5fd;
}

/* Final Section */
.final-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.complete-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 6px 16px;
    border-radius: 16px;
    color: #ff6b35;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.final-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.final-left h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.final-left > p {
    font-size: 18px;
    color: #999;
    margin-bottom: 40px;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}

.workflow-number {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-primary-large {
    background: #ff6b35;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary-large:hover {
    background: #ff8555;
}

.final-right h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.reference-link {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.reference-link:hover {
    border-color: #3a3a3a;
    transform: translateX(4px);
}

.ref-badge {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.ref-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ref-content h4 {
    font-size: 16px;
    font-weight: 600;
}

.arrow-right {
    color: #666;
    font-size: 20px;
}

.bookmark-notice {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.bookmark-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bookmark-text {
    font-size: 14px;
    color: #bbb;
}

.bookmark-text strong {
    color: #a78bfa;
    display: block;
    margin-bottom: 4px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.newsletter-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-section .af-form-wrapper {
    border: 2px solid #ff6b35;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

/* Footer */
footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-col a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #27c93f;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Case Study Section */
.case-study-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.case-study-section h2 {
    text-align: center;
}

.case-study-section .section-intro {
    text-align: center;
    margin-bottom: 50px;
}

/* Stats Grid */
.case-study-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 40px;
}

.stat {
    text-align: center;
    min-width: 150px;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-number {
    color: #ff6b35;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: #999;
    font-size: 14px;
}

/* Features List */
.case-study-features {
    max-width: 800px;
    margin: 0 auto 40px;
}

.case-study-features h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.feature-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 16px;
    color: #e5e5e5;
    font-size: 15px;
}

/* CTA */
.case-study-cta {
    text-align: center;
}

/* Modal */
.sample-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.modal-box {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    z-index: 10001;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #ff6b35;
}

.modal-box h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.modal-field {
    margin-bottom: 20px;
}

.modal-field label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-field input {
    width: 100%;
    padding: 12px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
}

.modal-field input:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .keyword-grid {
        grid-template-columns: 1fr;
    }

    .final-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-list-check {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .features-grid,
    .steps-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo-compact {
        padding: 8px 16px;
    }
    
    .logo-compact-cwc {
        font-size: 16px;
    }
    
    .logo-compact-name {
        font-size: 14px;
    }

    /* Case Study Section - Mobile Fixes */
    .case-study-section {
        padding: 40px 0;
    }
    
    .case-study-section h2 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .case-study-stats {
        padding: 20px;
        gap: 20px;
    }
    
    .stat {
        min-width: 120px;
        flex: 1 1 45%;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .case-study-features {
        padding: 0 10px;
    }
    
    .case-study-features h3 {
        font-size: 20px;
    }
    
    .check {
        padding: 12px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .case-study-cta {
        padding: 0 10px;
    }
    
    .btn-primary-large {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
    }
    
    /* Modal Mobile Fixes */
    .modal-box {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .modal-box h3 {
        font-size: 22px;
    }
    
    .modal-field input {
        font-size: 16px; /* Prevents iOS zoom */
    }
}