/* Base Styles */
:root {
    --primary-color: #00a0a0; /* Teal */
    --secondary-color: #008080;
    --danger-color: #cc3333;
    --light-bg: #f9f9f9;
    --dark-text: #333333;
    --light-text: #ffffff;
    --border-color: #dddddd;
    --hover-color: #007070;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

section {
    padding: 60px 0;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--dark-text);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background-color: var(--light-bg);
}

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

.hero-content {
    flex: 1;
    padding-right: 20px;
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero h1 {
    margin-bottom: 15px;
}

.hero h2 {
    margin-bottom: 30px;
    font-weight: normal;
    color: var(--dark-text);
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--hover-color);
    text-decoration: none;
}

/* Stats Section */
.stats {
    background-color: var(--light-text);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    flex: 1;
    padding: 0 15px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-note {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Problem Section */
.problem-content, .solution-content {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.problem-text, .solution-text {
    flex: 1;
    padding-right: 30px;
}

.problem-visual, .solution-visual {
    flex: 1;
}

/* Solution Section */
.solution {
    background-color: var(--light-text);
}

.link-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.link-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
}

/* Examples Section */
.example-item {
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.code-block {
    margin: 20px 0;
    border-radius: 5px;
    overflow: hidden;
}

.example-note {
    font-style: italic;
    opacity: 0.8;
}

/* Alternatives Section */
.alternative-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.drawback {
    color: var(--danger-color);
    font-weight: bold;
    margin-top: 10px;
}

/* FAQ Section */
.faq {
    background-color: var(--light-text);
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 0 15px;
    display: none;
}

.faq-active .faq-answer {
    display: block;
}

.faq-active .toggle-icon {
    transform: rotate(45deg);
}

/* Footer Section */
.footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--light-text);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 0;
        top: 60px;
        background-color: var(--light-text);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: hidden;
        transition: height 0.5s ease;
    }
    
    .nav-links.active {
        height: 300px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .burger {
        display: block;
    }
    
    .hero .container, 
    .problem-content, 
    .solution-content,
    .stats .container {
        flex-direction: column;
    }
    
    .hero-content, 
    .problem-text, 
    .solution-text,
    .stat-item {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-image, 
    .problem-visual, 
    .solution-visual {
        max-width: 100%;
    }
    
    .stat-item {
        padding: 20px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
