:root {
    --bg-color: #050505;
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --primary: #007AFF;
    --primary-glow: rgba(0, 122, 255, 0.4);
    --glass-bg: rgba(30, 30, 32, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #007AFF;
    top: -100px; left: -100px;
}
.blob-2 {
    width: 350px; height: 350px;
    background: #FF2D55;
    bottom: 20%; right: -50px;
    animation-delay: -3s;
}
.blob-3 {
    width: 300px; height: 300px;
    background: #5E5CE6;
    top: 40%; left: 20%;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-primary {
    background: linear-gradient(135deg, #0A84FF, #0056CC);
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--primary-glow);
}
.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}
.nav-btn {
    background: var(--text-main);
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
}
.nav-btn:hover {
    transform: scale(1.05);
}

/* Glass Card Base */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 5% 60px;
    gap: 40px;
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, #0A84FF, #30D158);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Stats */
.stats {
    display: flex;
    gap: 40px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
}
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}
.mockup {
    width: 320px;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}
.mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}
.mockup-header {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.msg {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    max-width: 85%;
}
.bot-msg {
    background: rgba(255,255,255,0.1);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.user-msg {
    background: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.card-preview {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    margin-top: 8px;
}
.card-preview h4 { margin-bottom: 8px; font-size: 16px; }
.card-preview p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.card-footer {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.join-btn {
    width: 100%;
    padding: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.join-btn:hover { background: rgba(255,255,255,0.15); }

/* Features */
.features {
    padding: 100px 5%;
}
.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
}
.feature-icon {
    font-size: 40px;
    margin-bottom: 24px;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Footer */
.footer {
    margin: 40px 5% 20px;
    padding: 24px;
    text-align: center;
    border-radius: 100px;
}
.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-title { font-size: 48px; }
    .hero-buttons { justify-content: center; }
    .stats { justify-content: center; }
    .mockup { transform: rotateY(0) rotateX(0); }
    .mockup:hover { transform: translateY(-10px); }
}

/* New Squads Section Styles */
.squads-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,132,255,0.05) 100%);
}

.squads-grid {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.squads-grid::-webkit-scrollbar {
    display: none;
}

.squad-card {
    min-width: 300px;
    max-width: 350px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.squad-card:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 132, 255, 0.4);
}

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

.squad-title {
    font-size: 18px;
    font-weight: 700;
}

.squad-category {
    font-size: 12px;
    color: var(--primary);
    background: rgba(0, 122, 255, 0.1);
    padding: 4px 8px;
    border-radius: 100px;
    font-weight: 600;
    white-space: nowrap;
}

.squad-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.squad-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.squad-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--glass-border);
}

@media (max-width: 600px) {
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-buttons { flex-direction: column; gap: 12px; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .stats { flex-direction: column; gap: 20px; align-items: center; }
    .squad-card { min-width: 260px; max-width: 280px; padding: 16px; }
    .squad-photo { height: 140px; }
    .squads-section { padding: 60px 5%; }
    .features { padding: 60px 5%; }
    .mockup { width: 260px; }
    .section-title { font-size: 32px; }
    .navbar { padding: 15px 5%; }
    .logo { font-size: 18px; }
    .nav-btn { padding: 8px 16px; font-size: 13px; }
}

.squad-btn {
    width: 100%;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.squad-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}
