/*
Theme Name: MailHeron
Theme URI: https://mailheron.com
Author: MailHeron
Author URI: https://mailheron.com
Description: A premium, sophisticated WordPress theme for MailHeron.com. Features elegant emerald/teal gradients, Playfair Display typography, and luxury design elements. Built for elegance and precision. All external links include rel="nofollow".
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mailheron
Tags: landing-page, one-page, custom-colors, dark-theme, responsive, premium, elegant

This theme, like WordPress, is licensed under the GPL.
*/

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

:root {
    --emerald: #10b981;
    --teal: #14b8a6;
    --purple: #8b5cf6;
    --indigo: #6366f1;
    --dark: #0f172a;
    --darker: #020617;
    --slate: #1e293b;
    --gray: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--darker);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Premium Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background: 
        linear-gradient(125deg, transparent 0%, rgba(16, 185, 129, 0.05) 30%, transparent 60%),
        linear-gradient(235deg, transparent 40%, rgba(139, 92, 246, 0.08) 70%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.85);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

/* Hero Section */
.hero {
    padding: 140px 0 120px;
    position: relative;
}

.hero-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 36px;
    animation: fadeInDown 0.8s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 8vw, 88px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--teal) 40%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-description {
    font-size: clamp(19px, 2.2vw, 24px);
    color: var(--gray);
    max-width: 720px;
    margin: 0 auto 52px;
    line-height: 1.75;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    color: var(--darker);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal), var(--emerald));
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--emerald);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--emerald);
    transform: translateY(-3px);
}

/* Trust Bar */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 32px 0;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 15px;
    font-weight: 500;
}

.trust-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 90px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.15;
}

.section-description {
    font-size: 20px;
    color: var(--gray);
    line-height: 1.75;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 42px 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--teal), var(--purple));
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 24px 60px rgba(16, 185, 129, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.feature-description {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.75;
}

/* Pricing Section */
.pricing {
    padding: 140px 0;
    position: relative;
}

.pricing-card {
    max-width: 580px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 32px;
    padding: 56px 48px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(16, 185, 129, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    color: var(--darker);
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.price-header {
    text-align: center;
    margin-bottom: 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 28px;
    color: var(--gray);
    font-weight: 600;
}

.price-subtitle {
    margin-top: 14px;
    font-size: 15px;
    color: var(--gray);
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    padding: 16px 0;
    font-size: 16px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 14px;
}

.features-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--darker);
    flex-shrink: 0;
}

/* Final CTA */
.final-cta {
    padding: 140px 0;
}

.cta-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 90px 70px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.6; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5.5vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.cta-description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

footer p {
    color: var(--gray);
    font-size: 15px;
}

footer a {
    color: var(--emerald);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--teal);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .cta-container {
        padding: 70px 40px;
    }

    .trust-badges {
        gap: 24px;
    }
}

html {
    scroll-behavior: smooth;
}
