/* CSS Variables for consistent theming */
:root {
    /* Professional Purple and Blue Palette */
    --primary-color: #6366f1; /* Indigo/Blue */
    --primary-hover: #4f46e5;
    --accent-color: #8b5cf6; /* Purple */
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-main: #fcfcfd; /* Off-white background */
    --bg-alt: #f4f5f8;
    --border-color: #e2e8f0;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-speed: 0.3s;
    
    /* Elegant Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-button: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Very subtle global background texture/gradient */
    background-image: radial-gradient(circle at top right, rgba(139, 92, 246, 0.03), transparent 40%);
}

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

ul {
    list-style: none;
}

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

/* Highly Professional Buttons */
.btn-primary, .btn-hero-primary, .btn-buy, .btn-download, .btn-giant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-button);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary:hover, .btn-hero-primary:hover, .btn-buy:hover, .btn-download:hover, .btn-giant:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, var(--primary-hover) 0%, #7c3aed 100%);
}

.btn-primary:active, .btn-hero-primary:active, .btn-buy:active, .btn-download:active, .btn-giant:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.btn-login {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition-speed);
}

.btn-login:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
    background-color: rgba(252, 252, 253, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: rgba(252, 252, 253, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    font-size: 1.8rem;
    -webkit-text-fill-color: initial;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition-speed);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width var(--transition-speed);
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section (Purple/Blue Clouds Concept) */
.hero {
    padding: 160px 20px 100px;
    text-align: left;
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    /* Soft cloud-like gradients blending purple, blue, and off-white */
    background: 
        radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    background-color: var(--bg-main);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.015"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.promo-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #6d28d9;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.btn-hero-primary {
    font-size: 1.15rem;
    padding: 16px 42px;
    border-radius: 12px;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-illustration {
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-illustration:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Global Section Styles */
section {
    padding: 100px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--text-main);
}

/* Features / Dynamic Cards Section */
.features {
    background-color: var(--bg-main);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.card .icon {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.logo-img {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
}

.wide-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.wide-card p {
    max-width: 800px;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-alt);
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.pricing-card.recommended {
    border: 2px solid var(--accent-color);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.15), 0 10px 10px -5px rgba(139, 92, 246, 0.04);
    transform: scale(1.03);
    z-index: 10;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 30px;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.features-list {
    margin-bottom: 40px;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(99, 102, 241, 0.1);
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.05em;
}

.btn-buy {
    width: 100%;
}

/* Platforms Section */
.platforms {
    max-width: 1200px;
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.platform-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed);
}

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

.platform-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-download {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-download:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

/* Why Choose Section */
.why-choose {
    background-color: var(--bg-alt);
    position: relative;
}

.why-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.why-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.why-item .emoji {
    display: inline-flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 50%;
}

.why-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.why-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.why-item p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Testimonials Marquee Section */
.testimonials {
    max-width: 100%;
    overflow: hidden;
    background-color: var(--bg-main);
    padding: 100px 0;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Soft fade on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    width: calc(400px * 8 + 24px * 8); 
    animation: scroll 40s linear infinite;
    gap: 24px;
    padding: 20px 0; 
}

.marquee-track:hover {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 400px; 
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #f59e0b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.review-card .author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: right;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-400px * 4 - 24px * 4)); } 
}

/* FAQ Section */
.faq {
    background-color: var(--bg-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: #ffffff;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: box-shadow var(--transition-speed);
}

details:hover {
    box-shadow: var(--shadow-md);
}

summary {
    padding: 24px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    list-style: none;
    padding-right: 50px;
    color: var(--text-main);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform var(--transition-speed), color var(--transition-speed);
}

details[open] summary {
    color: var(--primary-color);
}

details[open] summary::after {
    content: '−';
}

details p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 5px;
    padding-top: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Bottom CTA */
.bottom-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.bottom-cta h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 2.8rem;
}

.bottom-cta p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.95;
}

.btn-giant {
    background: #ffffff;
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 18px 56px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-giant:hover {
    background: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 20px 40px;
    text-align: center;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-links a {
    font-weight: 500;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.95rem;
}

/* Responsive Media Queries */
/* =========================================
   Blog Article Typography & Styling
========================================= */
.breadcrumbs {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

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

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px;
    background: transparent;
}

.post-header {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-header h1 {
    font-size: 2.8rem;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
}

.post-meta {
    font-size: 1rem;
    color: var(--text-muted);
}

.post-meta .author {
    font-weight: 600;
    color: var(--primary-color);
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin: 50px 0 25px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.post-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 35px 0 20px;
    font-weight: 600;
}

.post-content ul, .post-content ol {
    margin-bottom: 24px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 12px;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: var(--primary-hover);
    border-bottom-style: solid;
}

.post-content strong {
    font-weight: 700;
    color: #1e293b;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    background-color: rgba(99, 102, 241, 0.05);
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    color: #475569;
    font-style: italic;
}

/* Make sure FAQ summary tags in articles look good */
.post-content details {
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
}

.post-content summary {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-content summary::-webkit-details-marker {
    display: none;
}

.post-content details p {
    margin-top: 15px;
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.recommended {
        transform: scale(1);
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero {
        padding: 150px 20px 80px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-illustration {
        max-width: 100%;
    }
    
    .feature-grid, .why-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.recommended {
        max-width: 100%;
    }
    
    .pricing-grid, .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-hero-primary, .btn-buy, .btn-download, .btn-giant {
        padding: 14px 24px; /* touch targets min 44px */
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}
