/* Global Styles */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c5ce7;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

header h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--dark-color);
}

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

.feature {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature p {
    color: var(--text-light);
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.app-store-button img {
    height: 60px;
    transition: all 0.3s ease;
}

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

/* Policy/Terms Pages */
.policy, .terms {
    padding: 120px 0 60px;
    background-color: var(--white);
}

.policy h2, .terms h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.policy h3, .terms h3 {
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.policy p, .terms p {
    margin-bottom: 15px;
}

.policy ul, .terms ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy ul li, .terms ul li {
    margin-bottom: 8px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text .subtitle {
        font-size: 1rem;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .download h2 {
        font-size: 2rem;
    }
}

/* Subscription Agreement Styles */
.subscription-agreement {
    padding: 120px 0 60px;
    background-color: var(--white);
}

.effective-date {
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.pricing-plans {
    margin-bottom: 40px;
}

.plan-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.plan-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    width: 280px;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.highlighted {
    border: 2px solid var(--primary-color);
}

.best-value {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-light);
}

.plan-card ul {
    list-style: none;
}

.plan-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.agreement-content {
    max-width: 800px;
    margin: 0 auto;
}

.agreement-content h3 {
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.agreement-content ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.agreement-content ol > li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 35px;
}

.agreement-content ol > li:before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-size: 0.9rem;
}

.agreement-content ol ol {
    margin-top: 10px;
    padding-left: 20px;
}

.agreement-content ol ol li {
    margin-bottom: 8px;
    padding-left: 25px;
}

.agreement-content ol ol li:before {
    content: "•";
    color: var(--primary-color);
}

.contact-note {
    margin-top: 40px;
    padding: 15px;
    background: #f0f8ff;
    border-left: 4px solid var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .plan-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 350px;
    }
}
