:root {
    /* Google Material 3 Light Theme Colors */
    --md-sys-color-primary: #0b57d0;
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: #d3e3fd;
    --md-sys-color-on-primary-container: #041e49;
    --md-sys-color-background: #f8f9fa;
    /* Google Grey 50 */
    --md-sys-color-on-background: #1f1f1f;
    --md-sys-color-surface: #ffffff;
    --md-sys-color-on-surface: #1f1f1f;
    --md-sys-color-surface-variant: #e1e3e1;
    --md-sys-color-on-surface-variant: #444746;
    --md-sys-color-outline: #747775;

    /* Semantic variables mapping */
    --bg-color: var(--md-sys-color-background);
    --text-color: var(--md-sys-color-on-background);
    --accent-color: var(--md-sys-color-primary);
    --accent-hover: #0842a0;
    /* Darker shade of primary */
    --card-bg: var(--md-sys-color-surface);
    --border-color: #e0e2e7;
    --text-secondary: var(--md-sys-color-on-surface-variant);

    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 4px 8px 3px rgba(60, 64, 67, 0.15), 0 1px 3px rgba(60, 64, 67, 0.3);
}



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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Google Sans', 'Roboto', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    padding: 16px 0;
    background: var(--md-sys-color-surface);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.375rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
    font-family: 'Google Sans', 'Roboto', sans-serif;
}

.logo img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 24px;
    /* Pill shape */
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
    font-size: 0.875rem;
    letter-spacing: 0.25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--md-sys-color-on-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 8px 20px;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}

.btn-sm:hover {
    background: var(--md-sys-color-primary-container);
    border-color: transparent;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 90%;
}



.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.screenshot-placeholder {
    width: 300px;
    height: 600px;
    background: var(--card-bg);
    border: 8px solid #1f1f1f;
    /* Device bezel */
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    /* transform: rotateY(-10deg) rotateX(5deg); removed effect */
    transition: transform 0.5s ease;
}

.hero-image:hover .screenshot-placeholder {
    /* transform: rotateY(0) rotateX(0); removed effect */
}

.placeholder-box {
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 90px 0;
    background: #ffffff;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--text-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1.375rem;
    font-weight: 500;
}

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

/* Footer */
footer {
    padding: 60px 0;
    margin-top: auto;
    background: #f1f3f4;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-top: none;
    padding-top: 0;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

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

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .screenshot-placeholder {
        width: 240px;
        height: 480px;
        transform: none;
        border-width: 4px;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}