/* landing-page.css - Professional & Modern Styling */

/* CSS Variables for Theming */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-light: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.5;
    background: white;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.stat-item span {
    font-size: 14px;
    color: var(--gray);
}

.hero-image {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-image img {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

/* Template Carousel */
.templates {
    padding: 60px 0;
    background: white;
}

.template-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-btn {
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.template-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 4px;
}

.template-track::-webkit-scrollbar {
    display: none;
}

.template-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.template-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.template-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.template-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.template-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: var(--light);
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    font-size: 14px;
    color: var(--gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

.features-cta a {
    background: var(--gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.features-cta a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
    background: white;
}

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

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    font-size: 56px;
    margin-bottom: 20px;
    padding-top: 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray);
}

/* Purpose Section */
.purpose {
    padding: 60px 0;
    background: var(--gradient-light);
}

.purpose-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.purpose-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.purpose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.purpose-card.highlight {
    background: var(--gradient);
    color: white;
}

.purpose-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.icon {
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

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

.purpose-card.highlight .card-btn {
    background: white;
    color: var(--primary);
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background: white;
}

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

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

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

.blog-card a {
    text-decoration: none;
    color: inherit;
}

.blog-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient);
    color: white;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 9999px;
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--light);
}

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

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--gray-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 60px 0;
    background: var(--gradient-light);
}

.download-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.download-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.download-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.download-image img {
    width: 220px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.download-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.download-content p {
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.6;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--dark);
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    background: #000;
}

.play-btn img {
    width: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

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

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .template-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        justify-content: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-item strong {
        font-size: 22px;
    }
}
