/* Dartboard Energy Website Styles */

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

/* Variables */
:root {
    --green-primary: #004225;
    --green-dark: #002d19;
    --green-light: #f0fff4;
    --green-accent: #00693e;
    --text-dark: #1a1a1a;
    --text-gray: #555;
    --text-light: #777;
    --bg-light: #f8faf9;
    --bg-cream: #fdfdf9;
    --border-color: #e8ebe9;
    --shadow-sm: 0 2px 8px rgba(0, 66, 37, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 66, 37, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 66, 37, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fff;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 80px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 1024px) {
    .container,
    .container-wide {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container,
    .container-wide {
        padding: 0 24px;
    }

    body {
        font-size: 16px;
    }

}

/* Header */
.header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 66, 37, 0.08);
}

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

.header a {
    text-decoration: none;
    outline: none;
}

.logo {
    height: 40px;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-item:hover {
    color: var(--green-primary);
    background: var(--green-light);
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--green-primary);
    text-decoration: none;
    padding: 12px 24px;
    margin-left: 8px;
    border: 2px solid var(--green-primary);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    background: var(--green-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header .container-wide {
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    padding: 140px 0 160px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 66, 37, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 1.05;
    position: relative;
}

.hero .subtitle {
    font-size: 26px;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero .subtitle-secondary {
    font-size: 20px;
    color: var(--green-accent);
    font-weight: 500;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .hero {
        padding: 100px 0 120px;
    }

    .hero h1 {
        font-size: 56px;
        letter-spacing: -2px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 100px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

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

    .hero .subtitle-secondary {
        font-size: 17px;
        margin-bottom: 40px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: var(--green-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 66, 37, 0.25);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 66, 37, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}

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

/* Section Titles */
.section-title {
    padding: 100px 0 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 44px;
    color: var(--green-primary);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    font-weight: 700;
}

.section-title p {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green-accent);
    font-weight: 700;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .section-title {
        padding: 70px 0 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 17px;
    }
}

/* Scroll offset for anchor links */
section[id] {
    scroll-margin-top: 100px;
}

/* What Is Section */
.what-is {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

.what-is-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.what-is h2 {
    font-size: 36px;
    color: var(--green-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
    font-weight: 700;
}

.what-is > .container > .what-is-content > p {
    font-size: 21px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Delivery Section */
.delivery-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}

.delivery-label {
    font-size: 24px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.delivery-subtext {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.delivery-channels {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.channel-icon {
    width: 48px;
    height: 48px;
}

.channel span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .what-is {
        padding: 70px 0;
    }

    .what-is h2 {
        font-size: 28px;
    }

    .what-is > .container > .what-is-content > p {
        font-size: 18px;
    }

    .delivery-section {
        margin-top: 40px;
        padding-top: 40px;
    }

    .delivery-label {
        font-size: 20px;
    }

    .delivery-channels {
        gap: 30px;
    }

    .channel-icon {
        width: 40px;
        height: 40px;
    }
}

/* Value Props / Who Uses It */
.value-props {
    padding: 60px 0 120px;
    background: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(0, 66, 37, 0.15);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 28px;
    display: inline-block;
}

.value-card h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.value-headline {
    font-size: 26px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.value-card p {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
}

.value-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 17px;
    color: var(--text-gray);
}

.value-card li {
    margin: 14px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.value-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--green-accent);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .value-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .value-props {
        padding: 40px 0 80px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-card {
        padding: 36px;
    }

    .value-headline {
        font-size: 22px;
    }
}

/* Examples Section */
.examples {
    padding: 80px 0 120px;
    background: var(--bg-light);
}

.example-table {
    margin-bottom: 50px;
}

.example-table:last-child {
    margin-bottom: 0;
}

.example-table h3 {
    font-size: 20px;
    color: var(--green-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.qa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.qa-table th {
    background: var(--green-primary);
    color: white;
    padding: 20px 28px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qa-table th:first-child {
    width: 38%;
}

.qa-table td {
    padding: 24px 28px;
    vertical-align: top;
    border-bottom: 1px solid var(--border-color);
}

.qa-table tr:last-child td {
    border-bottom: none;
}

.qa-table td:first-child {
    font-style: italic;
    color: var(--text-gray);
    background: var(--bg-cream);
    border-right: 1px solid var(--border-color);
}

.qa-table td strong {
    color: var(--green-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .examples {
        padding: 60px 0 80px;
    }

    .qa-table {
        font-size: 14px;
    }

    .qa-table th,
    .qa-table td {
        padding: 18px 20px;
    }
}

/* How It Works */
.how-it-works {
    padding: 100px 0 120px;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.step {
    background: linear-gradient(135deg, var(--green-light) 0%, #fff 100%);
    border: 2px solid var(--green-primary);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.step-number {
    background: var(--green-primary);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 66, 37, 0.3);
}

.step-title {
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 12px;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.step-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .step {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 70px 0 80px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        padding: 36px 30px;
    }

    .step-title {
        font-size: 20px;
    }
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #e8f5ec 100%);
}

.cta-box {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    color: white;
    padding: 80px 100px;
    text-align: center;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 40px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
}

.cta-box p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    position: relative;
}

.cta-box .btn {
    background: white;
    color: var(--green-primary);
    font-size: 18px;
    padding: 20px 48px;
    position: relative;
}

.cta-box .btn:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .cta-box {
        padding: 60px 50px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-box {
        padding: 50px 30px;
        border-radius: 16px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-box p {
        font-size: 17px;
    }
}

/* Footer */
.footer {
    padding: 50px 0;
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

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

.footer-copyright {
    font-size: 14px;
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-blog-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-blog-link:hover {
    color: var(--green-primary);
    background: var(--green-light);
}

.footer-social a:not(.footer-blog-link) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-gray);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-social a:not(.footer-blog-link):hover {
    color: var(--green-primary);
    background: var(--green-light);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Demo Page Specific Styles */
.demo-hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.demo-hero h1 {
    font-size: 52px;
    color: var(--green-primary);
    margin-bottom: 16px;
    letter-spacing: -2px;
    font-weight: 700;
}

.demo-hero p {
    font-size: 20px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .demo-hero {
        padding: 70px 0;
    }

    .demo-hero h1 {
        font-size: 36px;
    }
}

.demo-form-section {
    padding: 20px 0 120px;
    background: var(--bg-light);
}

.demo-form {
    max-width: 560px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 17px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(0, 66, 37, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.demo-form .btn {
    width: 100%;
    font-size: 18px;
    padding: 20px;
    margin-top: 10px;
}

/* Thank you state */
.thank-you {
    text-align: center;
    padding: 80px 50px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 560px;
    margin: 0 auto;
}

.thank-you h2 {
    font-size: 36px;
    color: var(--green-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.thank-you p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 36px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .demo-form-section {
        padding: 20px 0 80px;
    }

    .demo-form,
    .thank-you {
        padding: 36px 28px;
    }
}
