:root {
    --primary: #3b82f6;
    --secondary: #a855f7;
    --accent: #f97316;
    --success: #22c55e;
    --background: #f8fafc;
    --text: #1e293b;
    --radius: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    overflow-x: hidden;
}

.emoji-fix {
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
    background-clip: initial;
    display: inline-block;
}

/* Animated Mesh Background */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
}

nav {
    display: flex;
    justify-content: center;
    padding: 2.5rem 5%;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.4rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.app-store-badge {
    height: 52px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-store-link {
    display: inline-block;
    line-height: 0;
}

.app-store-link:hover .app-store-badge {
    transform: scale(1.05);
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.features {
    padding: 8rem 5%;
    background: white;
    border-radius: 80px 80px 0 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.card {
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    background: var(--background);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    background: #f1f5f9;
}

.card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.privacy-box {
    max-width: 900px;
    margin: 8rem auto;
    padding: 5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 2px solid white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.p-item b {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

footer {
    padding: 5rem 5%;
    text-align: center;
    background: #0f172a;
    color: white;
}

.copyright {
    margin-top: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 5%;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }
}

/* Secondary Pages Styles */
.content-page {
    padding: 4rem 5% 8rem;
    max-width: 900px;
    margin: 0 auto;
}

.container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 3rem;
    border: 2px solid white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.privacy-split {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    height: calc(100vh - 250px);
}

.privacy-summary-card {
    position: sticky;
    top: 0;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 2px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.privacy-policy-box {
    background: white;
    border-radius: var(--radius);
    border: 2px solid #e2e8f0;
    padding: 3rem;
    height: 100%;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.privacy-policy-box::-webkit-scrollbar {
    width: 6px;
}

.privacy-policy-box::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.privacy-summary-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.summary-item {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.summary-item i {
    font-size: 1.5rem;
}

.summary-item div b {
    display: block;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.summary-item div p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.content-page h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-page h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.content-page p {
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 1.1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.dev-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.dev-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .privacy-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    .privacy-summary-card {
        position: static;
        margin-bottom: 2rem;
    }
    .privacy-policy-box {
        height: auto;
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .container { padding: 2rem; }
    .content-page h1 { font-size: 2.5rem; }
    .dev-profile { flex-direction: column; text-align: center; }
}
