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

:root {
    /* Color Palette - Vibrant SA Colors */
    --primary: #FF6B35; /* Vibrant Orange */
    --secondary: #004E89; /* Deep Blue */
    --accent: #00D9FF; /* Cyan */
    --success: #06D6A0; /* Green */
    --warning: #FFB700; /* Gold */
    --bg-dark: #1A1A2E;
    --bg-light: #F8F9FA;
    --text-dark: #2D3436;
    --text-light: #FFFFFF;
    --gray: #6C757D;
    --gray-light: #E9ECEF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon {
    font-size: 2.5rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.1)" width="50" height="50"/></svg>');
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.btn-hero {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    background: #FF8555;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--gray-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* AI Assistant - Chat */
.chat-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 2rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 50%);
}

.message {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message .message-content {
    background: linear-gradient(135deg, var(--secondary) 0%, #0066AA 100%);
    color: white;
    padding: 1.2rem;
    border-radius: 18px 18px 18px 4px;
    max-width: 80%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.user-message {
    text-align: right;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8555 100%);
    color: white;
    padding: 1.2rem;
    border-radius: 18px 18px 4px 18px;
    display: inline-block;
    max-width: 80%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bot-message ul {
    margin: 10px 0 0 20px;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--gray-light);
}

.chat-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.chat-send-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-send-btn:hover {
    background: #FF8555;
    transform: scale(1.05);
}

/* Quick Actions */
.quick-actions {
    text-align: center;
    margin-top: 2rem;
}

.quick-actions h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.quick-btn {
    background: white;
    border: 2px solid var(--accent);
    color: var(--secondary);
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.quick-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.3);
}

/* Channel Grid */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.channel-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--primary);
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.channel-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.channel-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.channel-card ul {
    list-style: none;
}

.channel-card li {
    padding: 0.5rem 0;
}

.channel-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.channel-card a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

/* Resources */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-category h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-link {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 4px solid var(--success);
}

.resource-link:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left-color: var(--primary);
}

.resource-link strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

/* Compliance Checklist */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.checklist-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.checklist-card h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.checkbox-item:hover {
    background: var(--gray-light);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--success);
}

.checkbox-item span {
    flex: 1;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer p {
    margin:  0.5rem 0;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.tool-card h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.tool-content {
    margin-top: 1rem;
}

.tool-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tool-input:focus {
    outline: none;
    border-color: var(--primary);
}

.tool-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.tool-btn:hover {
    background: #FF8555;
    transform: translateY(-2px);
}

.tool-results {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
    min-height: 80px;
}

.name-result {
    background: white;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    font-weight: 600;
    color: var(--secondary);
}

/* Calculator Styles */
.calc-input-group {
    margin-bottom: 1rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.calc-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
}

.cost-results {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--success) 0%, #04B87E 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Templates */
.template-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.template-btn {
    background: var(--gray-light);
    border: 2px solid var(--accent);
    color: var(--secondary);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s;
}

.template-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateX(8px);
}

/* Growth Tracker */
.growth-inputs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.growth-chart {
    width: 100%;
    height: 150px;
    background: var(--gray-light);
    border-radius: 8px;
    margin: 1rem 0;
}

.growth-stats {
    text-align: center;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--secondary);
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--secondary);
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.faq-answer ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .channel-grid,
    .resource-grid,
    .checklist-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .growth-inputs {
        flex-direction: column;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
