:root {
    /* Light theme variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #ffffff;
    --text-primary: #2A9F6B;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent-primary: #2A9F6B;
    --accent-secondary: #2d2d30;
    --accent-icon: #ffe0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-color: rgba(0, 0, 0, 0.1);
    
    /* Hero gradient for social theme */
    --hero-gradient: linear-gradient(135deg, #333333 0%, #2A9F6B 100%);
    
    /* Footer colors */
    --footer-bg: #333333;
    --footer-text: #ffffff;
    --footer-text-muted: #cccccc;
    --footer-icon-bg: #555555;
}

[data-theme="dark"] {
    /* Dark theme variables */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d30;
    --bg-tertiary: #252526;
    --text-primary: #2A9F6B;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --accent-primary: #2A9F6B;
    --accent-secondary: #2d2d30;
    --accent-icon: #424242;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Footer colors for dark theme */
    --footer-bg: #0d1117;
    --footer-text: #ffffff;
    --footer-text-muted: #8b949e;
    --footer-icon-bg: #21262d;
}

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

html {
    overflow-x: hidden;
}

html, body {
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* Header */
header {
    background: var(--bg-primary);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
}



.btn-primary {
    background: var(--accent-primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    padding: 120px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-illustration {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 30vw;
}

.social-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    width: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 1px;
}

.social-person {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

.social-person:nth-child(1) { top: 20%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.social-person:nth-child(2) { top: 40%; left: 20%; animation-delay: 0.5s; }
.social-person:nth-child(3) { top: 40%; right: 20%; animation-delay: 1s; }
.social-person:nth-child(4) { bottom: 30%; left: 30%; animation-delay: 1.5s; }
.social-person:nth-child(5) { bottom: 30%; right: 30%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--text-primary);
}

.features-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-icon);
    border-radius: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: background-color 0.3s ease;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feedback Section */
.feedback {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.feedback h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.feedback-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.feedback-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
}



/* User Feedback / Testimonial Styles */
.testimonial-card {
    position: relative;
}

.user-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.rating {
    font-size: 14px;
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.testimonial-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}



.testimonial-meta {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}



/* Join Us Section */
.join-us {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
    transition: background-color 0.3s ease;
}

.join-us h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.join-us p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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



.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Navigation Styles */
.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

/* Ensure desktop nav is hidden on smaller screens */
@media (max-width: 900px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav-controls {
        display: flex !important;
    }
}

.mobile-theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    right: 0;
    top: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-primary);
    box-shadow: -4px 0 20px var(--shadow-medium);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--bg-secondary);
}

.mobile-nav-links {
    list-style: none;
    padding: 2rem 0;
    flex: 1;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-link:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    border-left-color: var(--accent-primary);
}

.btn-primary-mobile {
    background: var(--accent-primary) !important;
    color: white !important;
    margin: 1rem 1.5rem;
    padding: 1rem 1.5rem !important;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    border-left: 4px solid var(--accent-primary) !important;
}

.btn-primary-mobile:hover {
    background: var(--accent-secondary) !important;
    transform: none;
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.mobile-footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.mobile-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.mobile-footer-links a:hover {
    color: var(--accent-primary);
}

/* Enhanced Touch Targets */
.btn-primary {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Improved Mobile Typography */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features h2, .feedback h2, .join-us h2 {
        font-size: 1.8rem;
    }
    
    .feature-card h3, .feedback-card h3 {
        font-size: 1.1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop navigation, show mobile controls */
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav-controls {
        display: flex !important;
    }
    
    /* Header adjustments */
    header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 28px;
    }

    /* Hero section mobile optimizations */
    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .hero-illustration {
        display: none;
    }

    /* Features section mobile */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }

    .features h2, .feedback h2, .join-us h2 {
        font-size: 2rem;
        text-align: center;
    }

    /* Feedback section mobile */
    .feedback {
        padding: 60px 0;
    }
    
    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Join us section mobile */
    .join-us {
        padding: 60px 0;
    }

    /* Footer mobile */
    footer {
        padding: 30px 0 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    

}

/* Very small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .features, .feedback, .join-us {
        padding: 40px 0;
    }
    
    .feature-card, .feedback-card {
        padding: 1.25rem;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features, .feedback, .join-us {
        padding: 40px 0;
    }
} 