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

:root {
    --primary-color: #3F51B5;
    --primary-dark: #303F9F;
    --primary-light: #C5CAE9;
    --text-primary: #212121;
    --text-secondary: #757575;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --divider: #E0E0E0;
    --accent: #FF4081;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(63, 81, 181, 0.1);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--surface);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(63, 81, 181, 0.15);
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px 12px 0 0;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(63, 81, 181, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63, 81, 181, 0.4);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border-radius: 30px;
    padding: 30px 20px;
    overflow: hidden;
}

.app-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.habit-item {
    padding: 18px;
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.1) 0%, rgba(197, 202, 233, 0.2) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
    color: var(--text-primary);
    animation: slideIn 0.6s ease;
}

.habit-item:nth-child(1) { animation-delay: 0.1s; }
.habit-item:nth-child(2) { animation-delay: 0.2s; }
.habit-item:nth-child(3) { animation-delay: 0.3s; }
.habit-item:nth-child(4) { animation-delay: 0.4s; }

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--surface);
    margin-top: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.05) 0%, rgba(197, 202, 233, 0.1) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(63, 81, 181, 0.2);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.5em;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* CTA Section */
.cta {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    margin-top: 60px;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Privacy Policy Styles */
header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--divider);
}

header h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.effective-date {
    color: var(--text-secondary);
    font-size: 0.95em;
    font-style: italic;
}

main {
    margin-bottom: 50px;
}

section {
    margin-bottom: 35px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

section:last-of-type {
    border-bottom: none;
}

section h2 {
    color: var(--primary-color);
    font-size: 1.75em;
    margin-bottom: 18px;
    margin-top: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

section h3 {
    color: var(--text-primary);
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

section p {
    margin-bottom: 18px;
    text-align: justify;
    color: var(--text-primary);
    font-size: 1.05em;
}

.intro {
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.05) 0%, rgba(197, 202, 233, 0.1) 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(63, 81, 181, 0.08);
}

.intro p {
    margin-bottom: 0;
    font-size: 1.1em;
    line-height: 1.8;
}

ul {
    margin-left: 30px;
    margin-bottom: 18px;
    list-style: none;
}

ul li {
    margin-bottom: 12px;
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
    color: var(--text-primary);
    font-size: 1.05em;
}

ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.note {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #FFC107;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}

.note strong {
    color: #F57C00;
    font-weight: 600;
}

.contact-info {
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.03) 0%, rgba(197, 202, 233, 0.08) 100%);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid var(--primary-light);
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 1.05em;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.contact-info a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
    padding-bottom: 2px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.95em;
    margin-top: 60px;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Selection color */
::selection {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9em;
        padding: 0.4rem 0.8rem;
    }

    .container {
        padding: 25px 20px;
        border-radius: 8px;
        margin: 20px 10px;
    }

    .hero {
        margin: 40px auto;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .section-title {
        font-size: 2em;
    }

    .features {
        padding: 60px 20px;
    }

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

    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: 2em;
    }

    header h1 {
        font-size: 1.8em;
    }

    section h2 {
        font-size: 1.4em;
    }

    section h2::before {
        height: 20px;
    }

    section h3 {
        font-size: 1.15em;
    }

    section p {
        font-size: 1em;
        text-align: left;
    }

    ul li {
        font-size: 1em;
    }

    .intro p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5em;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .container {
        padding: 20px 15px;
        margin: 10px;
    }

    .hero-title {
        font-size: 1.5em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95em;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    header h1 {
        font-size: 1.5em;
    }

    section h2 {
        font-size: 1.25em;
    }

    .intro {
        padding: 20px;
    }

    .section-title {
        font-size: 1.75em;
    }

    .feature-card {
        padding: 2rem;
    }

    .cta h2 {
        font-size: 1.75em;
    }
}

