* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #18392B;
    --primary-dark: #0F5132;
    --primary-light: #e8f5e9;
    --secondary-color: #1B7D4F;
    --accent-color: #066839;
    --text-color: #212224;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-section: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #18392B 0%, #0F5132 100%);
    --gradient-hero: linear-gradient(135deg, #1B7D4F 0%, #18392B 50%, #212224 100%);
    --gradient-success: linear-gradient(135deg, #1B7D4F 0%, #066839 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 45px;
}

.logo img,
.logo svg {
    height: 45px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover svg {
    transform: scale(1.05);
}

.logo-text {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 6rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    text-align: left;
}

.hero-text p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(80px);
}


.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Alternating Content Sections */
.alternating-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.alternating-section:nth-child(even) {
    background: var(--bg-section);
}

.alternating-section:nth-child(odd) {
    background: var(--bg-color);
}

.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.alternating-section:nth-child(even) .section-wrapper {
    direction: rtl;
}

.alternating-section:nth-child(even) .section-content,
.alternating-section:nth-child(even) .section-image {
    direction: ltr;
}

.section-content {
    animation: slideInLeft 0.8s ease-out;
}

.alternating-section:nth-child(even) .section-content {
    animation: slideInRight 0.8s ease-out;
}

.section-image {
    animation: slideInRight 0.8s ease-out;
    text-align: center;
}

.alternating-section:nth-child(even) .section-image {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.2;
}

.section-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-content ul {
    list-style: none;
    margin: 2rem 0;
}

.section-content li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.section-image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.section-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.section-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 125, 79, 0.1) 0%, rgba(24, 57, 43, 0.1) 100%);
    z-index: 1;
    border-radius: 20px;
}

/* Calculator Section */
.calculator-container {
    max-width: 100%;
    background: var(--bg-color);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    padding: 3rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.calculator-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
}

.calculator-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--bg-light);
    font-weight: 500;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.input-group input::placeholder {
    color: #999;
    font-weight: 400;
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option label {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    color: var(--text-color);
}

.radio-option input[type="radio"]:checked + label {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.radio-option label:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(-1px);
}

.results {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    border-radius: 16px;
    display: none;
    border: 2px solid var(--primary-light);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results.show {
    display: block;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 2px solid rgba(0, 102, 204, 0.1);
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-item:first-child {
    padding-top: 0;
}

.result-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.result-value {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.error-message {
    color: #ea4335;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.content-section {
    background: var(--bg-color);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-section h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-weight: 700;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.content-section li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e5ff 100%);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.highlight-box strong {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.example-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.example-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.example-box strong {
    color: var(--primary-color);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.75rem;
}

/* FAQ Section */
#faq .content-section {
    padding: 2.5rem;
}

#faq .content-section h2 {
    font-size: 1.5rem;
}

.faq-item {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    background: var(--primary-light);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-answer.show {
    padding: 1rem 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #18392B 0%, #212224 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #18392B 0%, #212224 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        text-align: center;
    }
    
    .hero-text p {
        text-align: center;
    }
    
    .section-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .alternating-section:nth-child(even) .section-wrapper {
        direction: ltr;
    }
    
    .section-content {
        animation: slideInLeft 0.8s ease-out;
    }
    
    .section-image {
        animation: slideInLeft 0.8s ease-out;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 4rem 1.5rem 5rem;
    }
    
    .hero-content-wrapper {
        gap: 2.5rem;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    .calculator-container {
        padding: 2rem 1.5rem;
    }
    
    .alternating-section {
        padding: 3rem 1.5rem;
    }
    
    .section-content h2 {
        font-size: 1.5rem;
    }
    
    .section-content p {
        font-size: 0.9rem;
    }
    
    .section-content li {
        font-size: 0.9rem;
    }
    
    .section-image-placeholder {
        height: 250px;
    }
    
    .section-image-placeholder img {
        object-fit: cover;
    }
    
    .section-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .alternating-section:nth-child(even) .section-wrapper {
        direction: ltr;
    }
    
    .section-image-placeholder {
        height: 300px;
    }
    
    .calculator-container {
        margin: -2rem 1rem 3rem;
        padding: 2rem 1.5rem;
    }
    
    .calculator-title {
        font-size: 1.25rem;
    }
    
    .calculator-subtitle {
        font-size: 0.85rem;
    }
    
    .input-group label {
        font-size: 0.9rem;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
    
    .content-section p {
        font-size: 0.9rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        font-size: 0.85rem;
    }
    
    nav ul {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo svg {
        height: 38px;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .result-value {
        font-size: 1.25rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 3rem 1rem 4rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.875rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .calculator-container {
        padding: 1.5rem;
    }
    
    .calculator-title {
        font-size: 1.1rem;
    }
    
    .calculator-subtitle {
        font-size: 0.8rem;
    }
    
    .input-group label {
        font-size: 0.85rem;
    }
    
    .input-group input {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.875rem;
        font-size: 0.85rem;
    }
    
    .section-content h2 {
        font-size: 1.25rem;
    }
    
    .section-content p {
        font-size: 0.85rem;
    }
    
    .content-section h2 {
        font-size: 1.25rem;
    }
    
    .content-section p {
        font-size: 0.85rem;
    }
    
    .faq-question {
        font-size: 0.85rem;
        padding: 0.875rem 1rem;
    }
    
    .faq-answer {
        font-size: 0.8rem;
        padding: 0.875rem 1rem 1rem;
    }
    
    .faq-answer.show {
        padding: 0.875rem 1rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.25rem;
    }
    
    .cta-section p {
        font-size: 0.85rem;
    }
    
    nav ul {
        gap: 1rem;
        font-size: 0.8rem;
    }
}
