:root {
    /* Light Theme Variables */
    --bg-color: #ffffff;
    --text-color: #212529;
    --secondary-text-color: #6c757d;
    --primary-color: #0d6efd;
    --primary-hover-color: #0b5ed7;
    --secondary-color: #6c757d;
    --secondary-hover-color: #5c636a;
    --success-color: #198754;
    --success-hover-color: #157347;
    --error-bg-color: #f8d7da;
    --error-text-color: #842029;
    --error-border-color: #f5c2c7;
    --border-color: #dee2e6;
    --container-bg-color: #f8f9fa;
    --link-color: var(--primary-color);
    --link-hover-color: var(--primary-hover-color);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --border-radius: 0.375rem;
    --spacing-unit: 8px;
    --card-bg-color: var(--bg-color);
    --card-border-color: var(--border-color);
    --card-shadow-color: rgba(0, 0, 0, 0.05);
    --icon-button-color: var(--secondary-text-color);
    --icon-button-hover-color: var(--text-color);
    --background-secondary-color: #f1f3f5;
}

/* Define Dark Theme Variables - Add later if needed */
html[data-theme='dark'] {
    --bg-color: #212529;
    --text-color: #dee2e6;
    --secondary-text-color: #adb5bd;
    --primary-hover-color: #3b82f6;
    --secondary-hover-color: #7a8288;
    --error-bg-color: #3a1a1d;
    --error-text-color: #f5c2c7;
    --error-border-color: #842029;
    --border-color: #495057;
    --container-bg-color: #343a40;
    --link-color: #6ea8fe;
    --link-hover-color: #9ec5fe;
    --card-bg-color: #343a40;
    --card-border-color: #495057;
    --card-shadow-color: rgba(0, 0, 0, 0.2);
    --icon-button-color: #adb5bd;
    --icon-button-hover-color: #dee2e6;
    --background-secondary-color: #2c3034;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
}

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

li {
    margin-bottom: 0.5rem;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-small {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 0 0 1.5rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    border: none;
}

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

.primary-button:hover {
    background-color: var(--primary-hover-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-button {
    background-color: var(--secondary-color);
    color: white;
}

.secondary-button:hover {
    background-color: var(--secondary-hover-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-image: linear-gradient(to right, #f8f9fa, #e9ecef);
}

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

.hero-content {
    flex: 1;
    padding-right: 3rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin-bottom: 2rem;
}

/* Free Offer Styling */
.free-offer {
    background-color: rgba(13, 110, 253, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    position: relative;
}

.free-offer p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
}

.free-offer strong {
    color: var(--primary-color);
}

.highlight-badge {
    position: absolute;
    top: -12px;
    left: 1rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background-color: var(--primary-hover-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--card-border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--card-shadow-color);
}

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

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

.feature-card p {
    color: var(--secondary-text-color);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--background-secondary-color);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

/* Git Flow Container */
.git-flow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Flow Nodes */
.flow-node {
    position: relative;
    margin-bottom: 4rem;
    z-index: 2;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Main, Merge and Final Nodes */
.main-node, .merge-node, .final-node {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* Branch Container */
.branch-container {
    display: flex;
    justify-content: space-between;
    margin: 0 0 4rem;
    position: relative;
}

/* Branch Paths */
.branch-path {
    width: 48%;
    position: relative;
    padding-top: 1.5rem;
}

/* Simple vertical lines for each branch - REMOVE */
.branch-path:before {
    display: none;
}

/* Vertical connector from main node to first branch node - REMOVE */
.main-node:after {
    display: none;
}

/* Vertical connector from last nodes in branches to merge node - REMOVE */
.branch-path .flow-node:last-child:after {
    display: none;
}

/* Vertical line from merge node to final node - REMOVE */
.merge-node:after {
    display: none;
}

.node-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.node-content {
    flex-grow: 1;
}

.node-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.node-content p {
    margin-bottom: 0;
    color: var(--secondary-text-color);
}

/* Branch Titles */
.branch-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.branch-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.branch-badge.byok {
    background-color: var(--secondary-color);
}

/* Step Numbers */
.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.pricing h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.pricing-card {
    background-color: var(--card-bg-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--card-border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card.highlighted {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 30px var(--card-shadow-color);
    z-index: 1;
}

.pricing-card:hover:not(.highlighted) {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--card-shadow-color);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Footer Styles */
footer {
    background-color: var(--container-bg-color);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-weight: 600;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--secondary-text-color);
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--text-color);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text-color);
}

/* Footer text and feedback button */
.footer-text {
    color: var(--secondary-text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feedback-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    width: auto;
    display: inline-block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin-bottom: 0;
}

.close-button {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-text-color);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: var(--text-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Success and Error Message Pages */
.success-message,
.error-message {
    padding: 5rem 0;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.message-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.icon-success,
.icon-error {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

.icon-success {
    background-color: var(--success-color);
    color: white;
}

.icon-error {
    background-color: var(--error-text-color);
    color: white;
}

.message-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.message-card .details {
    margin: 2rem 0;
    text-align: left;
}

.message-card .next-steps {
    margin: 2rem 0;
    text-align: left;
    background-color: var(--background-secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
}

.message-card .next-steps h3 {
    margin-bottom: 1rem;
}

.message-card .cta-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .pricing-card.highlighted {
        transform: scale(1);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 2rem;
    }
    
    /* Git Flow Mobile Adjustments */
    .branch-container {
        flex-direction: column;
        margin: 0 0 5rem;
    }
    
    .branch-path {
        width: 100%;
        margin-left: 0;
        margin-bottom: 3rem;
        padding-left: 0;
        padding-top: 0;
    }
    
    .branch-path:last-child {
        margin-bottom: 0;
    }
    
    .main-node, .merge-node, .final-node, .flow-node {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Vertical connectors between all nodes - REMOVE */
    .flow-node:after {
        display: none;
    }
    
    /* Direct connection from last node to final node - REMOVE */
    .merge-node:before {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features h2,
    .how-it-works h2,
    .pricing h2 {
        font-size: 1.8rem;
    }
    
    .message-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-grid,
    .pricing-options {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .message-card .cta-buttons {
        flex-direction: column;
    }
    
    .flow-node {
        flex-direction: column;
        text-align: center;
    }
    
    .node-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Ko-fi Button */
.kofi-button {
    background-color: #13C3FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-left: 2.5rem;
}

.kofi-button:hover {
    background-color: #00b8f5;
}

.kofi-button:before {
    content: '';
    position: absolute;
    left: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M23.881 8.948c-.773-4.085-4.859-4.593-4.859-4.593H.723c-.604 0-.679.798-.679.798s-.082 7.324-.022 11.822c.164 2.424 2.586 2.672 2.586 2.672s8.267-.023 11.966-.049c2.438-.426 2.683-2.566 2.658-3.734 4.352.24 7.422-2.831 6.649-6.916zm-11.062 3.511c-1.246 1.453-4.011 3.976-4.011 3.976s-.121.119-.31.023c-.076-.057-.108-.09-.108-.09-.443-.441-3.368-3.049-4.034-3.954-.709-.965-1.041-2.7-.091-3.71.951-1.01 3.005-1.086 4.363.407 0 0 1.565-1.782 3.468-.963 1.904.82 1.832 3.011.723 4.311zm6.173.478c-.928.116-1.682.028-1.682.028V7.284h1.77s1.971.551 1.971 2.638c0 1.913-.985 2.667-2.059 3.015z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
} 