/* ============================================
     RESPONSIVE DESIGN
     ============================================ */
@media (max-width: 900px) {
    .container {
        padding: 0 1rem;
    }
    .navbar {
        padding: 0.5rem 1rem;
    }
    .theme-selector {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .hero {
        padding: 3rem 1rem;
    }
    .solutions {
        padding: 2.5rem 1rem;
    }
    .advantages {
        padding: 2.5rem 1rem;
    }
    .pillars {
        padding: 2.5rem 1rem;
    }
    .pillars-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer {
        padding: 2rem 1rem 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-top: 1rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    .hero {
        padding: 2rem 0.5rem;
    }
    .solutions {
        padding: 1.5rem 0.5rem;
    }
    .advantages {
        padding: 1.5rem 0.5rem;
    }
    .pillars {
        padding: 1.5rem 0.5rem;
    }
    .pillars-content {
        gap: 1rem;
    }
    .footer {
        padding: 1rem 0.5rem 0.5rem;
    }
}
/* ============================================
   THEME SUPPORT
   ============================================ */
body[data-theme="dark"] {
    background: #181a1b;
    color: #e0e0e0;
}

body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4 {
    color: #fff;
}

body[data-theme="dark"] p,
body[data-theme="dark"] li {
    color: #b0b0b0;
}

body[data-theme="dark"] .navbar {
    background: #222;
    border-bottom: 1px solid #333;
    background-color: rgba(34, 34, 34, 0.95);
}

body[data-theme="dark"] .logo {
    color: #fff;
}

body[data-theme="dark"] .nav-links a {
    color: #b0b0b0;
}

body[data-theme="dark"] .nav-links a:hover {
    color: #fff;
}

body[data-theme="dark"] .cta-nav {
    background: #fff;
    color: #222 !important;
}

body[data-theme="dark"] .cta-nav:hover {
    background: #e0e0e0;
}

body[data-theme="dark"] .btn-primary {
    background: #fff;
    color: #222;
}

body[data-theme="dark"] .btn-primary:hover {
    background: #e0e0e0;
}

body[data-theme="dark"] .btn-secondary {
    background: #333;
    color: #fff;
}

body[data-theme="dark"] .btn-secondary:hover {
    background: #444;
}

.theme-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.theme-selector label {
    font-size: 0.95rem;
    color: inherit;
}

.theme-selector select {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    color: #222;
}

body[data-theme="dark"] .theme-selector select {
    background: #222;
    color: #fff;
    border: 1px solid #444;
}
/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.0625rem;
    color: #565656;
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    font-size: 1.0625rem;
    color: #565656;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

li ul, li ol {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2rem 0;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #565656;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #000;
}

.cta-nav {
    background: #000;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.cta-nav:hover {
    background: #333;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: transparent;
    color: #000;
    border-color: #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #565656;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.solutions h2 {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #565656;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.card-link:hover {
    transform: translateX(4px);
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages {
    padding: 5rem 2rem;
    background: #ffffff;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.advantage-item {
    padding: 0;
}

.advantage-item h3 {
    color: #000;
    margin-bottom: 0.75rem;
}

.advantage-item p {
    font-size: 0.95rem;
    color: #565656;
}

/* ============================================
   PILLARS SECTION
   ============================================ */
.pillars {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.pillars h2 {
    text-align: center;
}

.pillars-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pillar-item h4 {
    color: #000;
    margin-bottom: 0.5rem;
}

.pillar-item p {
    font-size: 0.95rem;
    color: #565656;
    margin: 0;
}

.visual-placeholder {
    background: #e8e8e8;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    color: #999;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources {
    padding: 5rem 2rem;
    background: #ffffff;
}

.resources h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: #000;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.resource-card h3 {
    margin-bottom: 0.75rem;
    color: #000;
}

.resource-card p {
    font-size: 0.95rem;
    color: #565656;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 4rem 2rem;
    background: #000;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: #ccc;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: #fff;
    color: #000;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
}

.cta-section .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 3rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #fff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 3rem 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .pillars-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .solution-card,
    .resource-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .solutions,
    .advantages,
    .pillars,
    .resources {
        padding: 3rem 1.5rem;
    }

    .hero-ctas,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
