/* 
   Persona AI Pro - Elite Landing Page Style
   Theme: Deep Cosmic & Neural Elegance
*/

:root {
    --bg-dark: #05050a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --accent: #00f2fe;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

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

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

/* Background Effects */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #020205;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: move 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    animation-duration: 30s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 150px) scale(1.2);
    }
}

/* Typography & Layout */
section {
    padding: 100px 10%;
    position: relative;
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Navigation */
nav {
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    padding: 4px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    object-fit: contain;
}

.domain-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Added more breathing room from the top navbar */
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-icon-wrapper {
    margin-bottom: 40px;
    z-index: 10;
}

.hero-icon-main {
    width: 130px;
    height: 130px;
    border-radius: 32px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Soft, multi-layered cosmic glow - initial state */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(99, 102, 241, 0.15);
    animation: cosmicBreathe 6s ease-in-out infinite;
}

@keyframes cosmicBreathe {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0);
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(168, 85, 247, 0.2),
            0 0 80px rgba(99, 102, 241, 0.15);
    }

    50% {
        transform: translateY(-25px) scale(1.08) rotate(2deg);
        box-shadow:
            0 40px 80px rgba(0, 0, 0, 0.6),
            0 0 60px rgba(168, 85, 247, 0.4),
            0 0 120px rgba(99, 102, 241, 0.3);
    }
}

.cta-group {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-grad);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.4);
}

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

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

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

.store-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.store-btn {
    height: 48px;
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.store-btn img {
    height: 100%;
    width: auto;
    border-radius: 8px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* App Showcase Revamp */
.showcase {
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    padding: 120px 10%;
    overflow: hidden;
}

.showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-text {
    flex: 1;
    text-align: left;
}

.showcase-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.showcase-list {
    list-style: none;
    padding: 0;
}


.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 500;
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-grad);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

.phone-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 2000px;
}

.phone-mockup {
    width: 320px;
    height: 660px;
    background: #05050a;
    border: 12px solid #1a1a2e;
    border-radius: 54px;
    position: relative;
    box-shadow:
        0 80px 120px -30px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(99, 102, 241, 0.2);
    transform: rotateY(-15deg) rotateX(10deg) rotateZ(2deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatPhone 8s ease-in-out infinite;
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0) rotateZ(0) scale(1.02);
}

@keyframes floatPhone {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(10deg) rotateZ(2deg) translateY(0);
    }

    50% {
        transform: rotateY(-10deg) rotateX(15deg) rotateZ(0deg) translateY(-30px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #020205;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-header {
    height: 110px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.25) 0%, transparent 100%);
    padding: 45px 25px 0;
    font-family: 'Courier New', Courier, monospace;
}

.phone-ui-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
}

.phone-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ui-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ui-card-hero {
    height: 180px;
    background: var(--primary-grad);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    color: white;
}

.ui-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.1;
}

.ui-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ui-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ui-stat-card {
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.ui-icon {
    font-size: 1.4rem;
}

.ui-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-nav {
    margin-top: auto;
    height: 75px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
}

.nav-dot {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.nav-dot.active {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    transform: scale(1.2);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust & Privacy Section */
.trust-section {
    padding: 100px 10%;
    background: rgba(255, 255, 255, 0.01);
}

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

.trust-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.trust-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.02);
}

.trust-card h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 100%);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 32px;
    max-width: 800px;
    margin: 40px auto;
    backdrop-filter: blur(10px);
}

.email-link {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    display: block;
    margin: 20px 0;
    word-break: break-all;
    transition: all 0.3s ease;
}

.email-link:hover {
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
    transform: scale(1.02);
}

/* Footer */
footer {
    padding: 60px 10%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-domain {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: var(--accent);
}

@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    nav {
        padding: 0 5%;
    }
}