:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --secondary: #9c27b0;
    --dark: #121212;
    --dark-light: #1e1e1e;
    --light: #f5f5f5;
    --gray: #757575;
    --success: #4caf50;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
        
/* Header */
header {
    background: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    font-size: 24px;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.language-selector {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero-specific lighter outline buttons */
.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.95);
    background: transparent;
}
.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.95);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: var(--bg-secondary);
}
        
/* Hero Section */
.hero {
    padding: 140px 0 80px;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}
        
/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}
        
/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-primary);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--primary);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--bg-primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 20px;
}

.step p {
    color: var(--text-secondary);
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.6;
}
        
/* Rooms Preview */
.rooms-preview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.room-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

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

.room-image {
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 10px;
    color: white;
    font-size: 20px;
}

 

.room-content {
    padding: 20px;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.room-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
}

.room-members {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.room-theme {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.room-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-footer .btn {
    width: 255px;
    height: 48px;
    line-height: 50px;
    padding: 0;
}

.room-limit {
    color: var(--text-secondary);
    font-size: 14px;
}

.room-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-open {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success);
}

.status-full {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}
        
/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.trial-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
}
.about {
    padding: 80px 0;
    background: var(--bg-primary);
}
.download-buttons { display:flex; justify-content:center; gap:20px; margin-top:20px; flex-wrap:wrap; }
.store-badge { background:#000; color:#fff; border:none; border-radius:12px; padding:10px 16px; display:flex; align-items:center; gap:12px; cursor:pointer; text-align:left; }
.store-badge .badge-icon { font-size:28px; }
.store-badge .badge-text { line-height:1; }
.store-badge .badge-text .small { font-size:12px; opacity:.85; display:block; }
.store-badge .badge-text .big { font-size:18px; font-weight:700; display:block; margin-top:2px; }
.store-badge:hover { transform:translateY(-2px); box-shadow:0 6px 18px var(--shadow); }
.app-toast { position: fixed; left:50%; bottom:24px; transform:translateX(-50%); background: var(--bg-primary); color: var(--text-primary); border:1px solid var(--border-color); border-radius: 8px; padding:10px 14px; box-shadow:0 8px 24px var(--shadow); display:none; z-index: 2000; }
.app-toast.show { display:block; }
        
/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    box-shadow: 0 5px 15px var(--shadow);
    z-index: 999;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 18px;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
            
    .section-title h2 {
        font-size: 28px;
    }
            
    .steps::before {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }
            
    nav {
        display: none;
    }
            
    .mobile-menu-btn {
        display: flex;
    }
            
    .logo span {
        display: inline;
    }
    .login-card .logo,
    .register-card .logo {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }
    .login-card .logo span,
    .register-card .logo span {
        display: inline;
    }
            
    .auth-buttons {
        gap: 8px;
    }
            
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
            
    .hero {
        padding: 120px 0 60px;
    }
            
    .hero h1 {
        font-size: 32px;
    }
            
    .hero p {
        font-size: 16px;
    }
            
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
            
    .btn-large {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
            
    .features, .how-it-works, .rooms-preview, .cta {
        padding: 60px 0;
    }
            
    .steps {
        flex-direction: column;
        gap: 40px;
    }
            
    .steps::before {
        display: none;
    }
            
    .features-grid {
        grid-template-columns: 1fr;
    }
            
    .rooms-grid {
        grid-template-columns: 1fr;
    }
            
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
            
    .mobile-nav {
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
            
    .header-actions {
        gap: 5px;
    }
            
    .theme-toggle, .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }
            
    .language-selector {
        padding: 5px 8px;
        font-size: 12px;
    }
            
    .hero {
        padding: 100px 0 50px;
    }
            
    .hero h1 {
        font-size: 28px;
    }
            
    .section-title h2 {
        font-size: 24px;
    }
            
    .section-title p {
        font-size: 16px;
    }
            
    .feature-card {
        padding: 20px;
    }
            
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
            
    .room-content {
        padding: 15px;
    }
            
    .room-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
            
    .room-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
            
    .cta h2 {
        font-size: 28px;
    }
            
    .cta p {
        font-size: 16px;
    }
}
