:root {
    --bg-color: #08080c;
    --card-bg: rgba(17, 17, 22, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-purple: #c084fc;
    --accent-pink: #f472b6;
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients Glow */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}

body::before {
    top: -100px;
    left: -100px;
    background: #7c3aed;
}

body::after {
    top: 600px;
    right: -100px;
    background: #db2777;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary);
}

/* Typography & Layout Utility */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(8, 8, 12, 0.7);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.logo-icon img {
    width: 24px;
    height: 24px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1.2px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 15px;
}

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

.nav-btn {
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background: var(--gradient-glow);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--accent-purple);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    margin-bottom: 24px;
    align-items: center;
    gap: 8px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn img {
    height: 22px;
}

/* Mockup Display in Hero */
.hero-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-wrapper {
    width: 280px;
    height: 560px;
    border-radius: 40px;
    background: #111;
    border: 12px solid #222;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(168, 85, 247, 0.2);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 20px;
    background: #222;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.floating-card {
    position: absolute;
    background: rgba(17, 17, 22, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

.floating-card-1 {
    top: 80px;
    left: -40px;
    animation: float1 4s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 80px;
    right: -40px;
    animation: float2 4s ease-in-out infinite 2s;
}

@keyframes float1 {
    0% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(-3deg); }
}

@keyframes float2 {
    0% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(3deg); }
}

/* Features/Categories Grid */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.features {
    padding: 80px 0;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card:nth-child(2) .feature-icon {
    background: rgba(244, 114, 182, 0.1);
    color: var(--accent-pink);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Screenshots Showcase */
.screenshots {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
}

.screenshot-slider-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.screenshot-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-slider::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 250px;
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.screenshot-item img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.screenshot-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-purple);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.25);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.08);
}

/* Privacy & Security Section */
.security-highlight {
    padding: 80px 0;
    position: relative;
}

.security-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

.security-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.security-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    gap: 16px;
}

.security-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 20px;
    flex-shrink: 0;
}

.security-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

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

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.security-shield-glow {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(60px);
    position: absolute;
    opacity: 0.3;
}

.security-shield {
    font-size: 120px;
    color: var(--text-primary);
    z-index: 2;
    animation: pulseShield 3s infinite ease-in-out;
}

@keyframes pulseShield {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* Call to Action Section */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-box {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 32px;
    padding: 80px 40px;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

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

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer styling */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    background: #060609;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-desc {
    max-width: 320px;
}

.footer-logo-desc p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 14px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .security-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    .security-visual {
        order: -1;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 38px;
    }
    .section-header h2 {
        font-size: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Legal Documents layout styling */
.legal-container {
    padding: 60px 0 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.legal-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.legal-content h3 {
    font-size: 20px;
    margin: 32px 0 16px 0;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    white-space: pre-line;
}
