/*
Theme Name: ThemeBuilder
Theme URI: https://themebuilder.ca
Description: A modern WordPress SaaS theme with AI-powered page builder and hosting - Beaver Builder inspired design
Author: TechSynergy Corp
Author URI: https://themebuilder.ca
Version: 2.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themebuilder
Tags: custom-background, custom-logo, custom-menu, featured-images, responsive-layout, one-column, two-columns
*/

/* ========================================
   BEAVER BUILDER STYLE - DESIGN SYSTEM
   ======================================== */

:root {
    /* Primary Colors - Teal/Turquoise like Beaver Builder */
    --primary-color: #22baa0;
    --primary-dark: #1a9580;
    --primary-light: #2ed4b8;

    /* Accent Colors */
    --accent-color: #ff6b6b;
    --secondary-color: #667eea;

    /* Neutral Colors */
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Roboto Condensed', sans-serif;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 186, 160, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-secondary-light {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary-light:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ========================================
   HEADER - LIGHT WITH DARK TEXT
   ======================================== */

.site-header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

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

.site-branding .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333 !important;
}

.site-logo {
    text-decoration: none;
}

.site-logo:hover .logo-text {
    color: var(--primary-color) !important;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-menu li {
    list-style: none;
}

.main-menu a {
    color: #333333 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: var(--primary-color) !important;
}

.header-cta-button {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.header-cta-button:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 186, 160, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION - BEAVER BUILDER STYLE
   ======================================== */

.hero-section-bb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--spacing-xl) 20px;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-light);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-trust {
    font-size: 1rem;
    opacity: 0.9;
}

/* Browser Mockup */
.browser-mockup {
    background: white;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.browser-header {
    background: #f0f0f0;
    padding: 12px;
    display: flex;
    gap: 8px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }

.browser-content {
    background: white;
    padding: 0;
}

.browser-content img {
    width: 100%;
    display: block;
}

/* ========================================
   PERSONAS SECTION
   ======================================== */

.personas-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-light);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.persona-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.persona-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persona-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.persona-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.persona-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits-section {
    padding: var(--spacing-xl) 20px;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-lg);
}

.benefit-item {
    text-align: center;
}

.benefit-item .material-icons {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.process-step {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.process-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.process-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========================================
   TEMPLATES SECTION
   ======================================== */

.templates-section {
    padding: var(--spacing-xl) 20px;
    background: white;
}

.template-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-light);
    border: 2px solid transparent;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: var(--spacing-lg) 0;
}

.template-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.template-card:hover {
    transform: translateY(-5px);
}

.template-image {
    background: var(--bg-gray);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-placeholder {
    color: var(--text-light);
    font-weight: 600;
}

.template-card h4 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.template-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
}

.templates-preview {
    text-align: center;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: var(--spacing-lg) 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
}

.trust-badge .material-icons {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-badge p {
    color: var(--text-dark);
    font-weight: 600;
}

/* ========================================
   PRICING SECTION - BB STYLE
   ======================================== */

.pricing-section-bb {
    padding: var(--spacing-xl) 20px;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: var(--spacing-lg) auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--bg-gray);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(34, 186, 160, 0.15);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(34, 186, 160, 0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.plan-price {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-price .period {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.plan-description {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.plan-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--bg-gray);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features .material-icons {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.plan-button {
    display: block;
    text-align: center;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.plan-button-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.plan-button-outline:hover {
    background: var(--primary-color);
    color: white;
}

.plan-button-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.plan-button-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.price-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
}

.pricing-guarantee {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: 2rem;
    background: #e8f5f2;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pricing-guarantee .material-icons {
    font-size: 3rem;
    color: var(--primary-color);
}

.pricing-guarantee strong {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.pricing-guarantee p {
    color: var(--text-gray);
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta-section {
    padding: var(--spacing-xl) 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.final-cta-section > p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.site-footer a {
    color: var(--primary-light);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Header Mobile */
    .header-container {
        padding: 1rem 15px;
    }

    .site-branding .logo-text {
        font-size: 1.5rem;
    }

    .site-navigation .main-menu {
        display: none;
    }

    .header-cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero Section Mobile */
    .hero-section-bb {
        padding: 3rem 20px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 16px 32px;
    }

    /* Grid Layouts Mobile */
    .personas-grid,
    .benefits-grid,
    .templates-grid,
    .testimonials-grid,
    .faq-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Trust Badges Mobile */
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .trust-badge p {
        font-size: 0.9rem;
    }

    /* Process Steps Mobile */
    .process-step {
        padding: 2rem 1.5rem;
    }

    /* Pricing Cards Mobile */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    /* Spacing Adjustments */
    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 15px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.hero-content,
.persona-card,
.benefit-item,
.testimonial-card {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   HERO VISUAL - ANIMATED CARDS
   ======================================== */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-graphic {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.graphic-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.card-1 {
    top: 30px;
    left: 0;
    z-index: 1;
    animation: float1 4s ease-in-out infinite;
}

.card-1:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.05);
}

.card-2 {
    top: 50%;
    left: 50%;
    z-index: 3;
    animation: float2 4s ease-in-out infinite;
    margin-top: -75px;
    margin-left: -90px;
}

.card-2:hover {
    animation-play-state: paused;
    transform: translate(-90px, -90px) scale(1.05);
}

.card-3 {
    bottom: 30px;
    right: 0;
    z-index: 2;
    animation: float3 4s ease-in-out infinite;
}

.card-3:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.05);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(34, 186, 160, 0.3);
}

.card-icon .material-icons {
    font-size: 2.2rem;
    color: white;
}

.card-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.15rem;
    white-space: nowrap;
}

/* Smooth, consistent animations for each card */
@keyframes float1 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-25px) translateX(10px);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(-90px, -75px);
    }
    50% {
        transform: translate(-90px, -100px);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-25px) translateX(-10px);
    }
}

/* Tablet adjustments */
@media (max-width: 1100px) {
    .hero-graphic {
        max-width: 400px;
        height: 400px;
    }

    .graphic-card {
        padding: 1.5rem 2rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon .material-icons {
        font-size: 2rem;
    }

    .card-text {
        font-size: 1rem;
    }
}

/* Mobile Hero Visual */
@media (max-width: 968px) {
    .hero-visual {
        display: none;
    }
}

/* ========================================
   MOBILE MENU FUNCTIONALITY
   ======================================== */

/* Mobile menu styles */
@media (max-width: 768px) {
    .main-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .main-menu.mobile-menu-open {
        left: 0;
    }

    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .main-menu a:hover {
        background: #f8f9fa;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ========================================
   BACK TO TOP BUTTON COMPONENT
   ======================================== */

.back-to-top {
    /* Positioning */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;

    /* Appearance */
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(34, 186, 160, 0.3);

    /* Center icon */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Transitions */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Accessibility */
    outline: none;
}

/* Visible state */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover state */
.back-to-top:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 25px rgba(34, 186, 160, 0.4);
    transform: translateY(-3px) scale(1.05);
}

/* Active/Click state */
.back-to-top:active {
    transform: translateY(-1px) scale(0.98);
}

/* Focus state for accessibility */
.back-to-top:focus {
    outline: 3px solid rgba(34, 186, 160, 0.5);
    outline-offset: 3px;
}

/* Icon styling */
.back-to-top .material-icons {
    font-size: 1.5rem;
    line-height: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top .material-icons {
        font-size: 1.3rem;
    }
}

/* Tablet adjustments */
@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top .material-icons {
        font-size: 1.2rem;
    }
}

/* Print media - hide button */
@media print {
    .back-to-top {
        display: none !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: opacity 0.3s ease, visibility 0.3s ease;
        transform: none !important;
    }

    .back-to-top:hover {
        transform: none !important;
    }
}

/* Footer adjustments for back to top button */
.site-footer {
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin: 0.5rem 0;
}

.footer-info a {
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--primary-light);
}

/* ========================================
   AUTHENTICATION PAGES
   Login & Registration Forms
   ======================================== */

/* Auth Page Layout */
.auth-page {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--spacing-lg) 0;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Auth Content Area */
.auth-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 0;
}

/* Auth Form Styles */
.auth-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label .material-icons {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 186, 160, 0.1);
}

.form-group input.error {
    border-color: #dc3545;
}

.form-group input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-gray);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.toggle-password .material-icons {
    font-size: 1.25rem;
}

/* Form Row (for side-by-side fields) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Checkbox Styles */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Form Extras (Remember Me & Forgot Password) */
.form-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.remember-me {
    margin: 0;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 186, 160, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn .spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Auth Messages */
.auth-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.auth-message .material-icons {
    font-size: 1.5rem;
}

.auth-message.error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
}

.auth-message.error .material-icons {
    color: #c53030;
}

.auth-message.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #15803d;
}

.auth-message.success .material-icons {
    color: #15803d;
}

.auth-message.info {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.auth-message.info .material-icons {
    color: #1e40af;
}

.auth-message p {
    margin: 0;
    line-height: 1.5;
}

.auth-message a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Auth Divider */
.auth-divider {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Social Login Buttons */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-social {
    background: #ffffff;
    border: 2px solid #e9ecef;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
}

.btn-social:hover:not(:disabled) {
    border-color: var(--text-gray);
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-social:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-social svg {
    width: 18px;
    height: 18px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    margin: 0;
    color: var(--text-gray);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Auth Sidebar - Benefits Section */
.auth-sidebar {
    position: sticky;
    top: 100px;
}

.auth-benefits {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(34, 186, 160, 0.2);
}

.auth-benefits h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list .material-icons {
    font-size: 1.75rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.benefits-list p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-sidebar {
        position: static;
        order: -1;
    }

    .auth-benefits {
        padding: 2rem;
    }

    .auth-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .auth-page {
        padding: var(--spacing-md) 0;
    }

    .auth-content {
        padding: 2rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .auth-subtitle {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .form-extras {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .auth-benefits {
        padding: 1.5rem;
    }

    .benefits-list li {
        gap: 0.75rem;
    }

    .benefits-list .material-icons {
        font-size: 1.5rem;
        padding: 0.375rem;
    }
}

@media (max-width: 480px) {
    .auth-content {
        padding: 1.5rem 1rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 0.75rem 0.875rem;
    }
}

/* ========================================
   DASHBOARD PAGE
   User Dashboard Interface
   ======================================== */

.dashboard-page {
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
    padding: var(--spacing-lg) 0;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    color: #ffffff;
}

.dashboard-welcome h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.dashboard-welcome p {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Dashboard Cards */
.dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.card-header .material-icons {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.card-body {
    padding: 1.5rem;
}

/* Stats Card */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon .material-icons {
    font-size: 1.75rem;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

/* Websites Card - Full Width */
.websites-card {
    grid-column: 1 / -1;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state .material-icons {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Account Info */
.account-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e9ecef;
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.upgrade-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.upgrade-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.card-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Quick Actions */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-item:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(5px);
}

.action-item .material-icons:first-child {
    font-size: 1.75rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.action-item:hover .material-icons:first-child {
    color: #ffffff;
}

.action-item > div {
    flex: 1;
}

.action-item strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.action-item:hover strong {
    color: #ffffff;
}

.action-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.action-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.action-item .material-icons.arrow {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.action-item:hover .material-icons.arrow {
    color: #ffffff;
    transform: translateX(5px);
}

/* Dashboard Responsive */
@media (max-width: 968px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions .btn {
        flex: 1;
    }

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

@media (max-width: 768px) {
    .dashboard-page {
        padding: var(--spacing-md) 0;
    }

    .dashboard-header {
        padding: 1.5rem;
    }

    .dashboard-welcome h1 {
        font-size: 1.5rem;
    }

    .dashboard-welcome p {
        font-size: 1rem;
    }

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

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .card-header .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 1rem;
    }

    .card-header,
    .card-body {
        padding: 1rem;
    }

    .empty-state {
        padding: 2rem 1rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .action-item {
        padding: 0.75rem;
    }
}
