/*
Theme Name: Rhyconnect
Theme URI: https://rhyconnect.ch
Author: Rhyconnect Team
Author URI: https://rhyconnect.ch
Description: Moderne Landing Page für die Rhyconnect Party App mit Dark/Light Mode, Team Modal und anpassbarer Hero Section mit bis zu 10 Screenshots
Version: 2.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhyconnect
Tags: landing-page, one-page, modern, dark-mode, responsive
*/

body.dark .hero-title {
    color: #fff;
}
/* Dark/Light Mode Toggle */
#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: background 0.2s;
}
#theme-toggle svg {
    width: 26px;
    height: 26px;
    color: #222;
    stroke: #222;
    background: none;
}
body.dark #theme-toggle svg {
    color: #fff;
    stroke: #fff;
}

body.dark {
    background: #181c22;
    color: #f3f3f3;
}
body.dark .hero {
    background: linear-gradient(135deg, #23272f 0%, #181c22 100%);
}
body.dark .about {
    background: #23272f;
}
body.dark .about-text,
body.dark .about-text p {
    color: #bbb;
}
body.dark .about-stats .stat {
    background: #23272f;
    border-left: 4px solid #4A90E2;
}
body.dark .stat h3 {
    color: #4A90E2;
}
body.dark .stat p {
    color: #bbb;
}
body.dark .features {
    background: #181c22;
}
body.dark .feature-card {
    background: #23272f;
    color: #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
body.dark .feature-card h3 {
    color: #fff;
}
body.dark .feature-card p {
    color: #bbb;
}
body.dark .feature-icon {
    background: linear-gradient(135deg, #2E86AB 0%, #4A90E2 100%);
}
body.dark .team {
    background: #23272f;
}
body.dark .team-member {
    background: #181c22;
    color: #eee;
}
body.dark .team-member h3 {
    color: #fff;
}
body.dark .member-role {
    color: #4A90E2;
}
body.dark .member-bio {
    color: #bbb;
}
body.dark .contact {
    background: #181c22;
}
body.dark .contact-form {
    background: #23272f;
    color: #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
body.dark .form-group input,
body.dark .form-group textarea {
    background: #181c22;
    color: #eee;
    border-color: #333;
}
body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
    border-color: #4A90E2;
}
body.dark .contact-info h3,
body.dark .contact-info p {
    color: #eee;
}
body.dark .contact-item i {
    color: #4A90E2;
}
body.dark .social-link {
    background: linear-gradient(135deg, #2E86AB 0%, #4A90E2 100%);
    color: #fff;
}
body.dark .footer {
    background: #181c22;
    color: #eee;
}
body.dark .footer-section h4 {
    color: #4A90E2;
}
body.dark .footer-section a {
    color: #bbb;
}
body.dark .footer-section a:hover {
    color: #fff;
}
body.dark .footer-bottom {
    color: #888;
    border-top: 1px solid #333;
}
body.dark .main-content, body.dark .legal-page {
    background: #23272f;
    color: #eee;
}
body.dark .legal-page h1 {
    color: #4A90E2;
    border-bottom: 3px solid #4A90E2;
}
body.dark .legal-page h2 {
    color: #2E86AB;
    border-left: 4px solid #4A90E2;
}
body.dark .legal-page h3 {
    color: #eee;
}
body.dark .legal-content {
    color: #bbb;
}
body.dark .legal-content a {
    color: #4A90E2;
}
body.dark .legal-content a:hover {
    border-bottom-color: #4A90E2;
}
body.dark .legal-contact {
    background: linear-gradient(135deg, #2E86AB, #4A90E2);
    color: #fff;
}
}
.header, .footer, .main-content, .legal-page {
    transition: background 0.3s, color 0.3s;
}
body.dark .header {
    background: rgba(24, 28, 34, 0.97);
}
body.dark .footer {
    background: #23272f;
    color: #eee;
}
body.dark .main-content, body.dark .legal-page {
    background: #23272f;
    color: #eee;
}
body.dark .section-title {
    color: #fff;
}
body.dark .btn-primary {
    background: linear-gradient(135deg, #2E86AB 0%, #4A90E2 100%);
    color: #fff;
}
body.dark .btn-secondary {
    color: #fff;
    border-color: #4A90E2;
}
body.dark .btn-secondary:hover {
    background: #4A90E2;
    color: #fff;
}
body.dark .nav-menu a {
    color: #eee;
}
body.dark .nav-menu a:hover {
    color: #4A90E2;
}
body.dark .nav-toggle span {
    background: #eee;
}
body.dark .about {
    background: #23272f;
}
body.dark .feature-card {
    background: #23272f;
    color: #eee;
}
body.dark .team-member {
    background: #23272f;
    color: #eee;
}
body.dark .contact-form {
    background: #23272f;
    color: #eee;
}
body.dark .stat h3, body.dark .stat p {
    color: #fff;
}
/* Reset und Grundlagen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px;
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    margin: 20px auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-secondary:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4A90E2;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.highlight {
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.phone-mockup {
    max-width: 393px;
    margin: 0 auto;
    position: relative;
    padding: 8px;
    background: #1d1d1f;
    border-radius: 50px;
    box-shadow:
        0 0 0 1px #3a3a3c,
        0 0 0 2px #1d1d1f,
        0 30px 60px rgba(0, 0, 0, 0.4);
}

.phone-screen {
    background: #000;
    border-radius: 42px;
    padding: 0;
    aspect-ratio: 9/19.5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Dynamic Island */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000;
    border-radius: 19px;
    z-index: 10;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.8);
}

.app-preview {
    text-align: center;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-preview i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #4A90E2;
}

/* App Screenshot Placeholder */
.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* App Screenshot Styling */
.app-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.app-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.app-slide.active {
    display: block;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    border: none;
    outline: none;
}

/* Slider Navigation */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 144, 226, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(74, 144, 226, 1);
    transform: translateY(-50%) scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4A90E2;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 15px;
    border-left: 4px solid #4A90E2;
}

.stat h3 {
    font-size: 2rem;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f9ff;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: white;
}

/* Organizational Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.founder-level {
    margin-bottom: 1rem;
}

.contributors-level {
    margin-top: 1rem;
}

/* Connector Line */
.org-connector {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #4A90E2 0%, #2E86AB 100%);
    position: relative;
}

.org-connector::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4A90E2 50%, transparent 100%);
}

.team-member {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #f8f9ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 280px;
    cursor: pointer;
}

.team-member.founder {
    max-width: 320px;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
}

.team-member.contributor {
    max-width: 260px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.member-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.team-member.founder .member-image {
    width: 140px;
    height: 140px;
}

.member-image i {
    font-size: 3rem;
    color: white;
}

.team-member.founder .member-image i {
    font-size: 3.5rem;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.team-member.founder h3 {
    font-size: 1.7rem;
}

.member-role {
    color: #4A90E2;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-member.founder .member-role {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Member Modal */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 25px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
    z-index: 2001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2002;
    color: #333;
    font-size: 1.2rem;
}

.modal-close:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #4A90E2;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.modal-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 2rem;
    border-right: 2px solid #e9ecef;
}

.modal-member-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.modal-member-image i {
    font-size: 4rem;
    color: white;
}

.modal-member-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.modal-member-role {
    color: #4A90E2;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-member-bio {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.modal-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}

.modal-quote {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e9f0ff 100%);
    border-radius: 15px;
    border-left: 4px solid #4A90E2;
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    color: #4A90E2;
    opacity: 0.3;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    line-height: 1.8;
    margin-top: 1rem;
}

.modal-contact {
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 15px;
}

.modal-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

.modal-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.modal-social-link i {
    font-size: 1.1rem;
}

/* Dark mode for modal */
body.dark .modal-content {
    background: #23272f;
}

body.dark .modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
}

body.dark .modal-close:hover {
    background: rgba(74, 144, 226, 0.3);
    color: #4A90E2;
}

body.dark .modal-left {
    border-right-color: #333;
}

body.dark .modal-member-name {
    color: #fff;
}

body.dark .modal-member-bio {
    color: #bbb;
}

body.dark .modal-quote {
    background: linear-gradient(135deg, #181c22 0%, #23272f 100%);
    border-left-color: #4A90E2;
}

body.dark .quote-text {
    color: #eee;
}

body.dark .modal-contact {
    background: #181c22;
}

body.dark .modal-contact h4 {
    color: #fff;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8f9ff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 20px;
    color: #4A90E2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4A90E2 0%, #2E86AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #999;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #4A90E2;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Disclaimer Text */
.disclaimer-text {
    text-align: center;
    color: #888;
    font-size: 0.95em;
    margin: 0;
    padding: 2rem 0 0.5rem 0;
    background: #f8f9ff;
}

body.dark .disclaimer-text {
    color: #999;
    background: #181c22;
}

/* Mobile Navigation */
.nav-menu.active {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

body.dark .nav-menu.active {
    background: #23272f;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-info {
    border-left: 4px solid #17a2b8;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Org Chart Mobile */
    .org-level {
        flex-direction: column;
        align-items: center;
    }

    .contributors-level {
        gap: 1.5rem;
    }

    .org-connector {
        height: 40px;
    }

    .org-connector::before {
        width: 2px;
        height: 80px;
        background: linear-gradient(180deg, #4A90E2 0%, transparent 100%);
    }

    .team-member {
        max-width: 100% !important;
    }

    /* Modal responsive */
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .modal-left {
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        padding-right: 0;
        padding-bottom: 2rem;
    }

    body.dark .modal-left {
        border-bottom-color: #333;
    }

    .modal-member-image {
        width: 120px;
        height: 120px;
    }

    .modal-member-image i {
        font-size: 3rem;
    }

    .modal-member-name {
        font-size: 1.6rem;
    }

    .modal-member-role {
        font-size: 1rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .modal-social-link {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.phone-mockup {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Legal Pages Styling */
.main-content {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
}

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
    color: #4A90E2;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #4A90E2;
    padding-bottom: 1rem;
}

.legal-page h2 {
    color: #2E86AB;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    border-left: 4px solid #4A90E2;
    padding-left: 1rem;
}

.legal-page h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.legal-content {
    line-height: 1.8;
    color: #444;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #4A90E2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-content a:hover {
    border-bottom-color: #4A90E2;
}

.legal-contact {
    background: linear-gradient(135deg, #4A90E2, #2E86AB);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.legal-contact h3 {
    color: white;
    margin-bottom: 1rem;
}

.legal-contact p {
    margin-bottom: 0.5rem;
}