/* 
 * Whatacampaign Planner - Nano Banana Theme
 */

:root {
    --primary: #EF4444;
    /* Primary Red */
    --primary-glow: #ef444480;
    --dark-bg: #0b0b0f;
    /* Deep Black/Blue */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font-main: 'Outfit', sans-serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --gradient-one: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Nano Visuals (Background) */
.nano-visuals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #5b21b6;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #991b1b;
    bottom: 10%;
    right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #0f766e;
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

.grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    opacity: 0.2;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-one);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: #25D366;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.4));
}

.nav-links {
    display: flex;
    gap: 48px;
    /* Increased from 30px for better breathing room */
    align-items: center;
    /* Ensure links are vertically centered */
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 180px 0 120px;
    /* Increased top/bottom padding */
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Hero Visual (UI Card) */
.hero-visual {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.campaign-planner-ui {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: floatUI 6s ease-in-out infinite;
}

.planner-card {
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 320px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.progress-item .label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar .fill {
    height: 100%;
    background: var(--gradient-one);
    border-radius: 4px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat .val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.verification-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.float-item {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.item-1 {
    top: 10%;
    right: 10%;
    animation: floatItem 4s infinite ease-in-out;
}

.item-2 {
    bottom: 20%;
    left: 0%;
    animation: floatItem 5s infinite ease-in-out 1s;
}

.item-3 {
    top: 40%;
    left: -10%;
    animation: floatItem 6s infinite ease-in-out 2s;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tagline {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.text-left {
    text-align: left;
    margin-left: 0;
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* Slightly wider min width */
    gap: 40px;
    /* Increased from 30px */
}

.problem-card {
    background: rgba(255, 50, 50, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.1);
    padding: 40px;
    /* Increased from 30px */
    border-radius: var(--radius-md);
    transition: 0.3s;
}

.problem-card:hover {
    transform: translateY(-8px);
    /* slightly more lift */
    background: rgba(255, 50, 50, 0.06);
}

.problem-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Workflow Steps */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--primary);
}

.step-num {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.05;
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    /* Slightly wider minimum card width */
    gap: 40px;
    /* Increased from 30px */
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    /* Increased from 30px for better internal spacing */
    border-radius: var(--radius-lg);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(239, 68, 68, 0.1);
    padding: 12px;
    border-radius: 12px;
}

/* Safety */
.safety-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.safety-content {
    flex: 1;
}

.safety-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.safety-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.safety-list i {
    color: #22c55e;
}

.shield-anim {
    font-size: 8rem;
    color: #22c55e;
    animation: pulseShield 3s infinite;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.3));
}

/* Audience */
.audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    font-weight: 500;
    transition: 0.3s;
}

.tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    cursor: default;
    transform: scale(1.05);
}

/* Pricing */
.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-one);
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-top: 10px;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    margin-bottom: 40px;
}

.price-features li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.price-features i {
    color: var(--primary);
}

/* CTA */
.cta-section {
    text-align: center;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    border-top: 1px solid var(--card-border);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--card-border);
    background: #08080b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links-group a {
    color: var(--text-muted);
}

.footer-links-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: #52525b;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    opacity: 0.6;
}

/* Animations */
@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

@keyframes floatUI {

    0%,
    100% {
        transform: rotateY(-5deg) rotateX(5deg);
    }

    50% {
        transform: rotateY(5deg) rotateX(-5deg);
    }
}

@keyframes floatItem {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseShield {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        height: 350px;
        order: -1;
    }

    .nav-links {
        display: none;
    }

    .safety-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .section-header {
        text-align: center;
    }

    .safety-content .text-left {
        text-align: center;
    }

    .safety-visual {
        margin-bottom: 30px;
    }
}

/* Logo Image Styles */
.logo-img {
    height: 48px;
    /* Slightly larger */
    width: auto;
    border-radius: 8px;
    margin-right: 16px;
    /* Increased spacing */
    display: block;
    /* Removes inline-block phantom spacing */
}

/* Ensure Logo text is vertically aligned */
.logo {
    display: flex;
    align-items: center;
    line-height: 1;
    /* Tighter line height for better vertical centering */
}