/* Global Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 80%;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* App Store Buttons */
.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: white;
}

.app-button i {
    font-size: 2rem;
    margin-right: 10px;
}

.app-button-text span {
    display: block;
    font-size: 0.7rem;
}

.app-button-text strong {
    font-size: 1.1rem;
}

.coming-soon {
    position: relative;
    overflow: hidden;
}

.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.coming-soon::before {
    content: 'Coming Soon';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-bottom-left-radius: var(--border-radius);
    z-index: 2;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Subscribe Section */
.subscribe {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
}

.subscribe-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.subscribe-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.subscribe-form button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background-color: #2baada;
}

#form-message {
    margin-top: 20px;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 60px 0 20px;
    background-color: #222;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Blog Listing */
.blog-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-list {
    padding: 70px 0;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-tag {
    display: inline-block;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    width: fit-content;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.blog-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card .read-more {
    font-weight: 600;
    color: var(--primary-color);
}

.blog-card .read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-card:hover .read-more i {
    transform: translateX(4px);
}

/* Blog Article */
.breadcrumb {
    padding: 100px 0 0;
    font-size: 0.9rem;
    color: #777;
}

.breadcrumb a {
    color: #777;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.article {
    padding: 30px 0 80px;
}

.article-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 40px 0 15px;
}

.article-body h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 25px 0 10px;
}

.article-body p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 25px;
}

.article-body li {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.article-callout {
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent-color);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.article-callout strong {
    color: var(--primary-color);
}

.article-cta {
    margin-top: 50px;
    padding: 35px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    color: var(--light-text);
}

.article-cta h3 {
    margin-bottom: 10px;
}

.article-cta p {
    margin-bottom: 20px;
}

.article-cta .app-buttons {
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        background-color: var(--bg-color);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (min-width: 993px) {
    .step:not(:last-child)::after {
        display: block;
    }
    
    @keyframes float {
        0% {
            transform: translateY(0px) rotate(1deg);
        }
        50% {
            transform: translateY(-15px) rotate(-1deg);
        }
        100% {
            transform: translateY(0px) rotate(1deg);
        }
    }
}