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

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-50px); }
    75% { transform: translateY(-100px) translateX(100px); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: white;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero .tagline {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

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

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 60px auto 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-radius: 0 0 20px 20px;
}

.features {
    padding: 120px 40px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
}

.section-title {
    text-align: center;
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

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

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.how-it-works {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.privacy-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(20px);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s;
}

.privacy-card:hover {
    transform: scale(1.05);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.privacy-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.privacy-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.privacy-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.cta-section {
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 10%) scale(1.1); }
}

.cta-section h2 {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cta-section p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.store-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 25px 45px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 240px;
}

.store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    opacity: 0;
    transition: opacity 0.4s;
}

.store-btn:hover::before {
    opacity: 1;
}

.store-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
}

.store-icon {
    font-size: 50px;
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}

.store-btn:nth-child(1) .store-icon { animation-delay: 0s; }
.store-btn:nth-child(2) .store-icon { animation-delay: 0.5s; }
.store-btn:nth-child(3) .store-icon { animation-delay: 1s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.store-text {
    text-align: left;
    position: relative;
    z-index: 1;
}

.store-text small {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.store-text strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

footer {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .header-content {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    nav {
        display: none !important;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 60px);
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .features, .how-it-works, .privacy-section, .cta-section {
        padding: 80px 20px;
    }

    .features-grid, .privacy-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card, .privacy-card {
        min-height: auto;
    }

    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .store-btn {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        justify-content: center;
        padding: 20px 30px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .demo-container {
        padding: 30px 20px;
    }

    .demo-stage {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .user-card {
        margin: 0 auto;
    }

    .thought-bubble {
        max-width: 200px;
        font-size: 14px;
        padding: 15px 20px;
    }

    .notification-card {
        min-width: 250px;
        padding: 25px;
    }

    .phone-demo {
        width: 260px;
        height: 520px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header {
        padding: 15px 0;
    }

    .logo {
        font-size: 22px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .mobile-menu-toggle {
        font-size: 24px;
    }

    .hero {
        padding: 80px 15px 40px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero .tagline {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn {
        padding: 14px 25px;
        font-size: 16px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        margin-top: 40px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .features, .how-it-works, .privacy-section, .cta-section {
        padding: 60px 15px;
    }

    .feature-card, .privacy-card {
        padding: 25px 20px;
        min-height: auto;
    }

    .feature-card h3, .privacy-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .feature-card p, .privacy-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .feature-icon, .privacy-icon {
        font-size: 50px !important;
        margin-bottom: 20px !important;
    }

    /* Feature animations - mobile optimized */
    .encryption-demo, .handshake-animation, .contact-animation,
    .lightning-animation, .delete-animation {
        margin-top: 20px;
        padding: 15px;
    }

    .data-block {
        width: 40px;
        height: 40px;
    }

    .hand {
        font-size: 35px;
    }

    .handshake-animation > div:nth-child(2) {
        font-size: 30px !important;
    }

    .contact-bubble {
        font-size: 14px;
        padding: 10px 15px;
    }

    .lightning-bolt {
        font-size: 60px;
    }

    .trash-icon {
        font-size: 45px;
    }

    .delete-item {
        font-size: 22px;
    }

    .globe {
        font-size: 60px;
    }

    .globe-animation {
        width: 100px;
        height: 100px;
    }

    /* Demo section mobile */
    .demo-container {
        padding: 20px 10px;
        min-height: auto;
    }

    .user-avatar {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .user-name {
        font-size: 18px;
        margin-top: 15px;
    }

    .user-status {
        font-size: 14px;
    }

    .thought-bubble {
        max-width: 180px;
        font-size: 13px;
        padding: 12px 15px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .step h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .step p {
        font-size: 14px;
    }

    .notification-card {
        min-width: 200px;
        padding: 20px;
    }

    .notification-icon {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .notification-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .notification-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .notification-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .distance-indicator {
        width: 150px;
        height: 150px;
        font-size: 18px;
    }

    .phone-demo {
        width: 220px;
        height: 440px;
    }

    .phone-demo-content {
        padding: 30px 15px 15px;
    }

    .app-title {
        font-size: 16px;
    }

    .contact-name-demo {
        font-size: 14px;
    }

    .contact-distance {
        font-size: 12px;
    }

    /* CTA section mobile */
    .cta-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .cta-section p {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .store-btn {
        min-width: auto;
        padding: 18px 20px;
        gap: 15px;
    }

    .store-icon {
        font-size: 35px;
    }

    .store-text small {
        font-size: 11px;
    }

    .store-text strong {
        font-size: 16px;
    }

    /* Footer mobile */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-section {
        font-size: 14px;
    }

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

    .footer-bottom {
        padding-top: 20px;
        font-size: 13px;
    }

    /* Privacy demos mobile */
    .timer-circle {
        width: 60px;
        height: 60px;
    }

    .timer-text {
        font-size: 12px;
    }

    .no-sell-demo .data-icon {
        font-size: 30px;
    }

    .block-sign {
        font-size: 40px;
    }

    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}
