/* ==========================================================================
   SnapTabs Landing Page Styles - Premium Dark Glassmorphism
   ========================================================================== */

:root {
    --bg-color: #0f0f13;
    --surface: rgba(26, 26, 36, 0.6);
    --surface-hover: rgba(34, 34, 58, 0.8);
    --primary: #7c6fe0;
    --primary-hover: #8b80e8;
    --secondary: #4fd1c5;
    --text: #f0f0f8;
    --text-muted: #8888aa;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --gradient-primary: linear-gradient(135deg, #7c6fe0 0%, #4fd1c5 100%);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Background Glow Effects */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}
.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 200px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* Glassmorphism Panel Base */
.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    background: rgba(15, 15, 19, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
}
.logo-icon.small { width: 32px; height: 32px; }
.logo-icon i { width: 20px; height: 20px; }

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.nav-btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:not(.nav-btn):hover {
    color: var(--text);
}

/* Buttons */
.btn-primary, .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(124, 111, 224, 0.3);
    border: none;
    cursor: pointer;
}
.btn-primary:hover, .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 111, 224, 0.5);
}
.nav-btn { padding: 10px 20px; font-size: 14px; }
.btn-primary.large { padding: 16px 32px; font-size: 18px; border-radius: var(--radius-md); }

.chrome-logo { width: 20px; height: 20px; }

/* Sections */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 160px 24px 80px;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(124, 111, 224, 0.1);
    color: var(--primary);
    border: 1px solid rgba(124, 111, 224, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.secure-note {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.secure-note i { width: 16px; height: 16px; color: var(--secondary); }

.hero-image-wrapper {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-image-wrapper:hover .hero-image {
    transform: rotateY(0deg) rotateX(0deg);
}

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 10;
}
.floating-badge i { color: var(--secondary); }
.badge-1 { top: 10%; right: -20px; animation: floatBadge 4s infinite alternate ease-in-out; }
.badge-2 { bottom: 20%; left: -30px; animation: floatBadge 5s infinite alternate-reverse ease-in-out; }

@keyframes floatBadge { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.feature-icon i { width: 28px; height: 28px; }
.icon-purple { background: rgba(124, 111, 224, 0.15); color: #7c6fe0; }
.icon-teal { background: rgba(79, 209, 197, 0.15); color: #4fd1c5; }
.icon-blue { background: rgba(66, 153, 225, 0.15); color: #4299e1; }
.icon-green { background: rgba(72, 187, 120, 0.15); color: #48bb78; }
.icon-pink { background: rgba(237, 100, 166, 0.15); color: #ed64a6; }
.icon-orange { background: rgba(237, 137, 54, 0.15); color: #ed8936; }

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

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.gallery-img {
    width: 100%;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active { border-color: var(--primary); }

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s ease-in-out;
}
.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
}

/* Bottom CTA */
.cta-box {
    text-align: center;
    padding: 80px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(26,26,36,0.6) 0%, rgba(124,111,224,0.1) 100%);
}
.cta-box h2 { font-size: 36px; margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); font-size: 18px; margin-bottom: 40px; }

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo .logo-text { font-size: 18px; }
.copyright { color: var(--text-muted); font-size: 14px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { align-items: center; }
    .hero-cta { align-items: center; }
    .hero-image { transform: none; }
    .hero-image-wrapper:hover .hero-image { transform: none; }
    .floating-badge { display: none; }
    .hero-title { font-size: 48px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Hide links on mobile for simplicity, keep button */
    .hero-title { font-size: 36px; }
    .section-header h2 { font-size: 28px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
