:root {
    --primary-color: #007AFF;
    --primary-hover: #0056b3;
    --accent-color: #5856D6;
    /* Purple */
    --accent-secondary: #00C7BE;
    /* Teal */
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 122, 255, 0.2) 0%, rgba(88, 86, 214, 0.2) 100%);
    --text-main: #1d1d1f;
    --text-secondary: #86868b;
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f7;
    --border-color: rgba(0, 0, 0, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 32px rgba(0, 122, 255, 0.25);
    --container-width: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.logo svg rect {
    fill: url(#logo-gradient);
    /* We will need to add a defs in HTML or just use CSS fill */
    fill: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-primary-sm {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Animated Blobs */
.hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 122, 255, 0.15);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(88, 86, 214, 0.15);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 199, 190, 0.15);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, 50px) rotate(10deg);
    }
}

.hero-content {
    max-width: 840px;
    margin: 0 auto 70px;
    position: relative;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1d1d1f 0%, #3a3a3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: var(--text-main);
    color: white;
    padding: 14px 28px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 210px;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-download:hover::before {
    opacity: 1;
}

.btn-download.mac {
    background-color: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-download.mac:hover {
    background-color: white;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.os-icon {
    width: 32px;
    height: 32px;
}

.btn-text .small {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-text .large {
    font-size: 17px;
    font-weight: 700;
}

.version-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 20px;
    opacity: 0.8;
}

/* App Mockup Enhanced */
.hero-image {
    display: flex;
    justify-content: center;
    perspective: 1500px;
    margin-top: -20px;
}

.app-mockup {
    width: 960px;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-mockup:hover {
    transform: rotateX(0deg) scale(1.01);
}

.mockup-header {
    height: 52px;
    background: #f9f9fa;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.dots span:nth-child(1) {
    background-color: #ff5f56;
}

.dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.dots span:nth-child(3) {
    background-color: #27c93f;
}

.mockup-body {
    flex: 1;
    display: flex;
}

.sidebar {
    width: 240px;
    background: #f5f5f7;
    border-right: 1px solid var(--border-color);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-main);
    cursor: default;
    transition: background 0.2s;
}

.sidebar-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.sidebar-item.active {
    background: white;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    color: var(--primary-color);
}

.main-view {
    flex: 1;
    padding: 32px 40px;
    background: white;
    background-image: radial-gradient(#f0f0f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.search-bar {
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 32px;
    width: 320px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.password-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item {
    height: 72px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.3);
}

.list-item .icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e5e5ea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Add some fake color to icons in mockup */
.list-item:nth-child(1) .icon {
    background: linear-gradient(135deg, #FF9500 0%, #FF3B30 100%);
    opacity: 0.8;
}

.list-item:nth-child(2) .icon {
    background: linear-gradient(135deg, #5856D6 0%, #AF52DE 100%);
    opacity: 0.8;
}

.list-item:nth-child(3) .icon {
    background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
    opacity: 0.8;
}

.list-item .lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
}

.line.long {
    width: 140px;
}

.line.short {
    width: 90px;
}


/* Features Section */
.features {
    padding: 120px 0;
    background: white;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Security Section */
.security-section {
    padding: 120px 0;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
}

/* Add a subtle background pattern */
.security-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.security-text {
    flex: 1;
}

.security-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.security-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 17px;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.security-list li:hover {
    transform: translateX(10px);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #34C759;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.security-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.shield-icon {
    width: 240px;
    height: 240px;
    background: white;
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

.shield-icon svg {
    filter: drop-shadow(0 10px 20px rgba(0, 122, 255, 0.2));
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.link-group a {
    display: block;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    transition: color 0.2s, transform 0.2s;
}

.link-group a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn-download {
        width: 100%;
        max-width: 300px;
    }

    .app-mockup {
        width: 100%;
        height: 360px;
    }

    .security-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }
}/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.trust-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: -8px auto 48px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.step-card {
    background: white;
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

.step-icon {
    margin: 24px 0;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.use-case-card {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.use-case-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.use-case-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .trust-indicators {
        flex-direction: column;
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}
