/* ===================================
   CSS Custom Properties (Variables)
   =================================== */
:root {
    /* Light Mode Colors */
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    --accent-color: #FF5722;
    --accent-dark: #E64A19;
    
    --bg-color: #FFFFFF;
    --surface-color: #F5F5F5;
    --card-color: #FFFFFF;
    
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-hint: #BDBDBD;
    
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --primary-color: #42A5F5;
    --primary-dark: #1E88E5;
    --primary-light: #64B5F6;
    --accent-color: #FF7043;
    --accent-dark: #FF5722;
    
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --card-color: #2C2C2C;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-hint: #757575;
    
    --border-color: #3A3A3A;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===================================
   Navigation
   =================================== */
nav {
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .brand-logo {
    font-weight: 600;
    font-size: 1.5rem;
}

nav ul a {
    font-weight: 500;
    transition: background-color 0.3s ease;
}

nav ul a:hover,
nav ul a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle-btn {
    cursor: pointer;
}

.sidenav {
    background-color: var(--card-color);
}

.sidenav li > a {
    color: var(--text-primary);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    background: var(--gradient-hero);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.cta-btn {
    background: var(--accent-color);
    margin: 10px;
    animation: fadeInUp 1.2s ease;
}

.cta-btn:hover {
    background: var(--accent-dark);
}

.btn-outlined {
    background: transparent;
    border: 2px solid white;
}

.btn-outlined:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* ===================================
   Cards
   =================================== */
.card {
    background-color: var(--card-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.service-card {
    height: 100%;
    padding: 20px;
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
}

/* ===================================
   Features
   =================================== */
.feature-item {
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose-section {
    background-color: var(--surface-color);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: var(--gradient-accent);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===================================
   Footer
   =================================== */
.page-footer {
    background: var(--gradient-primary);
    padding-top: 40px;
}

.page-footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
    margin-right: 10px;
}

.footer-copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

/* ===================================
   About Page
   =================================== */
.founder-section {
    background-color: var(--surface-color);
}

.founder-card {
    padding: 40px;
}

.founder-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.founder-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.value-card {
    padding: 30px;
    text-align: center;
}

.value-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.values-section {
    background-color: var(--surface-color);
}

.value-item {
    padding: 30px 15px;
}

.value-item i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-item {
    background-color: var(--card-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.tech-item p {
    color: var(--text-secondary);
}

/* ===================================
   Contact Page
   =================================== */
.contact-info-section {
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-info-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-secondary);
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

.contact-card {
    padding: 40px;
}

.email-cta {
    text-align: center;
    margin: 30px 0;
}

.collection .collection-item {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.collection .collection-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.why-contact-section {
    background-color: var(--surface-color);
}

.feature-box {
    padding: 30px 20px;
}

.feature-box i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-box p {
    color: var(--text-secondary);
}

.collapsible {
    border: none;
    box-shadow: none;
}

.collapsible-header {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 10px;
    border-radius: 8px;
}

.collapsible-header:hover {
    background-color: var(--surface-color);
}

.collapsible-header i {
    color: var(--primary-color);
}

.collapsible-body {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-top: none;
    color: var(--text-secondary);
}

/* ===================================
   Legal Pages
   =================================== */
.legal-content {
    background-color: var(--bg-color);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0 15px;
    color: var(--text-primary);
}

.legal-section p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section ul.browser-default {
    margin-left: 40px;
    margin-bottom: 20px;
}

.legal-section ul.browser-default li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section ul.browser-default li strong {
    color: var(--text-primary);
}

.contact-info-box {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
}

.contact-info-box p {
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-info-box a {
    color: var(--primary-color);
    font-weight: 500;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media only screen and (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 600px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.flow-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
