:root {
    /* Color Palette - Light Theme */
    --bg-color: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F2F2F2;

    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #A1A1A6;

    --accent-blue: #0A84FF;
    /* iOS Blue */
    --accent-red: #FF453A;
    --accent-cyan: #64D2FF;

    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-speed: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* Buttons */
.btn-primary,
.btn-primary-small {
    background-color: var(--accent-blue);
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    /* Standard rounded corners not pill */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover,
.btn-primary-small:hover {
    background-color: #0071e3;
}

.btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.btn-primary-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-secondary {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    background-color: var(--bg-color);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 6rem 5%;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Device Frame - Simple */
.device-frame {
    max-width: 300px;
    border-radius: 40px;
    border: 8px solid #333;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.device-frame img {
    width: 100%;
    display: block;
}

/* Gallery & Privacy */
.gallery-section,
.privacy-section {
    padding: 6rem 5%;
    background-color: var(--bg-color);
}

.privacy-content {
    background-color: var(--bg-secondary);
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.privacy-list li {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 3rem 5%;
    border-top: 1px solid #333;
    background-color: var(--bg-secondary);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.footer-links a {
    color: var(--text-secondary);
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Blog & Article Styles */
.blog-hero {
    text-align: center;
    padding: 6rem 5% 4rem;
    background-color: var(--bg-color);
}

.blog-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-grid-section {
    padding: 0 5% 8rem;
    background-color: var(--bg-color);
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.read-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Article Page Layout */
.article-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 5% 6rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 2.5rem;
}

.article-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.article-content p {
    margin-bottom: 1.75rem;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.article-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.article-content blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .nav-links {
        display: none;
        /* Simple mobile hide */
    }

    .privacy-list {
        flex-direction: column;
        gap: 1rem;
    }

    /* Blog Mobile Adjustments */
    .blog-hero .hero-title {
        font-size: 2.25rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-container {
        padding: 2.5rem 5%;
    }
}