/* 
   PySEO.it - ILLUSTRATION STYLE Design System 
   Theme: Painted Jungle, Lush, Sunny
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Fredoka+One&display=swap');

:root {
    /* Nature Palette */
    --bg-light: #fdfcf5;
    /* Cream paper */
    --green-leaf: #4CAF50;
    --green-dark: #2E7D32;
    --yellow-sun: #FFC107;
    --blue-sky: #81D4FA;
    --brown-wood: #795548;

    --text-main: #2d3436;
    --text-muted: #636e72;

    --card-bg: #ffffff;
    --shadow: 0 10px 20px rgba(46, 125, 50, 0.15);

    /* Typography */
    --font-head: 'Fredoka One', cursive;
    /* Playful, round */
    --font-body: 'Nunito', sans-serif;

    --radius: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-light);
    background-image: url('../img/bg_painted.png');
    background-size: 500px;
    background-repeat: repeat;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-head);
    color: var(--green-dark);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    color: var(--green-dark);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--green-leaf);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-head);
    font-size: 1.2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--green-leaf);
    color: white;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: white;
    border: 3px solid var(--green-leaf);
    color: var(--green-leaf);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--green-leaf);
    color: white;
    transform: translateY(-4px);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

html {
    scroll-padding-top: 110px;
}

body {
    padding-top: 110px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--green-dark);
}

.logo span {
    color: var(--yellow-sun);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--green-dark);
}

/* Hero */
.hero {
    padding-top: 40px;
    padding-bottom: 6rem;
    position: relative;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-img img {
    width: 110%;
    margin-left: -5%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.2);
    border: 5px solid white;
    transform: rotate(2deg);
}

/* Realistic SERP Ranking */
.serp-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif !important;
    /* Google Font */
    max-width: 600px;
    margin: 3rem auto;
    border: 1px solid #dfe1e5;
}

.serp-bar {
    background: #f1f3f4;
    border-radius: 20px;
    padding: 10px 20px;
    margin-bottom: 20px;
    color: #5f6368;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.serp-item {
    padding: 15px 0;
    transition: transform 0.5s ease-in-out;
    background: white;
    border-bottom: 1px solid #ebebeb;
}

.serp-item.my-site {
    background: #f6fff6;
    border-left: 4px solid var(--green-leaf);
    padding-left: 10px;
    margin-left: -14px;
    /* Align with border */
}

.serp-cite {
    font-size: 14px;
    color: #202124;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.serp-title {
    font-size: 20px;
    color: #1a0dab;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    cursor: pointer;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-snippet {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.58;
}

/* Grid Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-bottom: 5px solid var(--green-leaf);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

/* Results / Testimonials Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.result-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    border-bottom: 4px solid var(--green-leaf);
}

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

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

.result-content {
    padding: 2rem;
}

.result-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.result-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: white;
    padding: 4rem 0;
    margin-top: 6rem;
    text-align: center;
    border-top: 5px solid var(--yellow-sun);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-img img {
        width: 100%;
        margin: 2rem 0;
        transform: none;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    header .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 14px;
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--shadow);
    }

    header .navbar-nav {
        align-items: flex-start !important;
    }

    header .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    header .navbar-nav .btn {
        width: 100%;
        text-align: center;
    }
}

/* Included Section */
.included-section {
    max-width: 900px;
    margin: 4rem auto 0;
    background: #f0fdf4;
    border-radius: 20px;
    padding: 3rem;
    border: 2px dashed var(--green-leaf);
    text-align: center;
}

.included-section h3 {
    margin-bottom: 2rem;
    color: var(--green-dark);
    font-size: 2rem;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.included-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.included-item i {
    font-size: 1.2rem;
    color: var(--green-leaf);
    flex-shrink: 0;
}

.included-item.high-value {
    background: #fff9e6;
    border-color: var(--yellow-sun);
}

.included-item.high-value i {
    color: #eab308;
}

/* Pricing Mini */
.pricing-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 840px;
    margin: 0 auto;
}

.pricing-mini-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-mini-card.featured {
    border: 2px solid var(--green-leaf);
    background: #fcffff;
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.15);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-mini-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-mini-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-leaf);
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.pricing-mini-title {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--green-dark);
    font-size: 1.8rem;
}

.pricing-mini-price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    font-weight: 900;
    margin: 1rem 0 1.5rem;
    color: var(--text-main);
}

.pricing-mini-price .amount {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--green-dark);
}

.pricing-mini-price .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-mini-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 0 2rem;
    line-height: 1.5;
}

.pricing-mini-card .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--green-dark);
    color: white;
    font-family: var(--font-head);
    font-size: 1.2rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comp-bad {
    color: #e74c3c;
    font-weight: 700;
    background: #fff5f5;
}

.comp-good {
    color: var(--green-dark);
    font-weight: 700;
    background: #f6fff6;
    border-left: 5px solid var(--green-leaf);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 2rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 2px dashed var(--green-leaf);
    position: relative;
    transition: 0.3s;
}

.step-card:hover {
    transform: scale(1.05);
    background: white;
    border-style: solid;
}

.step-num {
    background: var(--yellow-sun);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 1rem;
    font-family: var(--font-head);
    font-size: 1.2rem;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
}
/* Badge New */
.badge-new {
    background: #FFF9C4; 
    color: #FBC02D; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-weight: 800; 
    font-size: 0.9rem; 
    margin-bottom: 20px; 
    display: inline-block;
}

.badge-pro {
    background: var(--yellow-sun); 
    color: var(--text-main); 
    font-weight: 800; 
    font-size: 0.8rem; 
    padding: 5px; 
    border-radius: 4px; 
    display: inline-block; 
    margin-bottom: 1rem;
}

/* Floating Image Animation */
.floating-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

/* USP Cards */
.usp-card {
    text-align: center;
    padding: 2rem;
}
.usp-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.usp-card h3 {
    margin-bottom: 0.5rem;
}

/* TCG Grid */
.tcg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.tcg-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Square cards */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.tcg-card:hover {
    transform: translateY(-15px) scale(1.05) rotateX(10deg);
    z-index: 10;
}

.tcg-inner {
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 5px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Different borders for visual variety */
.tcg-card:nth-child(1) .tcg-inner { border-color: #ffd700; }
.tcg-card:nth-child(2) .tcg-inner { border-color: #4CAF50; }
.tcg-card:nth-child(3) .tcg-inner { border-color: #FF5722; }
.tcg-card:nth-child(4) .tcg-inner { border-color: #2196F3; }

.tcg-front img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #333;
    margin-bottom: 10px;
    background: #f0f0f0;
}

.tcg-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.tcg-info p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    margin-bottom: 0;
}

.text-center { text-align: center; }


/* Partner Section */
.partner-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--green-dark), #1a4d2e);
    color: white;
    text-align: center;
}

.partner-section h2 {
    color: var(--yellow-sun);
    margin-bottom: 1rem;
}

.partner-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.partner-section .btn {
    background: var(--yellow-sun);
    color: var(--green-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.partner-section .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: #ffca2c;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 5px solid var(--green-leaf);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: scaleIn 0.3s;
}

.close-btn {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}
.close-btn:hover { color: var(--text-main); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Placeholder Art for Cards without Images */
.placeholder-art {
    width: 100%;
    aspect-ratio: 16/10;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    border-radius: 10px;
    border: 2px solid #ddd;
    margin-bottom: 10px;
    color: #888;
}

