@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #007aff;
    --primary-glow: rgba(0, 122, 255, 0.4);
    --secondary-color: #5856d6;
    --bg-color: #050511;
    /* Very deep blue/black */
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, var(--primary-glow), transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(88, 86, 214, 0.15), transparent 25%);
    z-index: -1;
    animation: drift 20s infinite linear alternate;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(5%, 5%);
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(5, 5, 17, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a1a1a6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 35px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 122, 255, 0.4);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8%;
    min-height: calc(100vh - 80px);
    /* Adjust for header */
}

.hero-content {
    flex: 1;
    max-width: 650px;
    animation: fadeUp 1s ease forwards;
}

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

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin: 0 0 25px 0;
    line-height: 1.1;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 45px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.iphone-mockup {
    width: 320px;
    height: 650px;
    border-radius: 45px;
    background: linear-gradient(145deg, #1c1c1e, #000);
    border: 8px solid #333;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 0 2px #555;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.iphone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 15px;
    z-index: 10;
}

.mockup-ui {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.mockup-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    animation: spin 4s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.mockup-circle::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: #000;
    border-radius: 50%;
}

.mockup-text {
    position: absolute;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.mockup-progress {
    width: 80%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.mockup-progress-bar {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.app-store-btn {
    display: inline-block;
}

.app-store-btn img {
    height: 56px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-store-btn img:hover {
    transform: scale(1.05);
}

/* Features */
.features-container {
    padding: 100px 8%;
    background: linear-gradient(0deg, var(--bg-color), rgba(5, 5, 17, 0.5));
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(88, 86, 214, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Content Pages */
.page-header {
    padding: 80px 8% 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0;
}

.page-content {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 50px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.page-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.page-content p,
.page-content ul {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.page-content ul {
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    color: #fff;
    font-family: var(--font-family);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* Footer */
footer {
    padding: 40px 8%;
    border-top: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 17, 0.8);
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 5%;
        gap: 60px;
    }

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

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-visual {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 5%;
    }

    .nav-links {
        display: none;
        /* In a real app, add a hamburger menu */
    }

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

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-content {
        padding: 30px 20px;
        margin: 0 20px 80px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}