/*
Theme Name: BizPlan AI
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: Professional WordPress theme for BizPlan AI
Version: 1.0
Text Domain: bizplan-ai
*/

/* =Global Styles
-------------------------------------------------------------- */
:root {
    --primary: #1a3a6c;
    --secondary: #2c5282;
    --accent: #3182ce;
    --light: #f0f7ff;
    --dark: #152c52;
    --success: #38a169;
    --error: #e53e3e;
    --text: #333333;
    --light-text: #718096;
    --border: #e2e8f0;
    --background: #f8fafc;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* =Header - UPDATED
-------------------------------------------------------------- */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

/* Logo container with constraints */
.logo-container {
    flex: 0 0 auto;
    max-width: 200px;
}

.logo-container .logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary);
}

/* Main navigation */
.main-navigation {
    flex: 1 1 auto;
    margin: 0 30px;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0 15px;
}

.menu li a {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.menu li a:hover {
    color: var(--accent);
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.menu li a:hover::after {
    width: 100%;
}

/* Header actions (icons) */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icon {
    position: relative;
    color: var(--text);
    font-size: 1.3rem;
    text-decoration: none;
    display: flex;
    transition: color 0.3s;
}

.header-icon:hover {
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--error);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    line-height: 1;
}

/* Mobile menu button - hidden by default */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .main-navigation.show {
        display: block;
    }
    
    .main-navigation.show .menu {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation.show .menu li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-container {
        max-width: 150px;
    }
    
    .header-container {
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .header-actions {
        gap: 15px;
    }
    
    .logo-container {
        max-width: 120px;
    }
    
    .logo-container .logo img {
        max-height: 40px;
    }
}

.singular-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.singular-article {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.singular-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.singular-meta {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.singular-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.singular-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
}

.singular-footer {
    margin-top: 40px;
    font-size: 14px;
    color: var(--light-text);
}

.singular-comments {
    margin-top: 60px;
}

/* =Hero Section
-------------------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -80px;
    left: -80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.25);
}
.myaccount-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.myaccount-sidebar {
    width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 12px;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 15px;
    background-color: #f3f4f6;
    color: #2c5282;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background-color: #3182ce;
    color: #ffffff;
}

.myaccount-content {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .myaccount-layout {
        flex-direction: column;
    }

    .myaccount-sidebar,
    .myaccount-content {
        width: 100%;
    }
}

/* =Features Section
-------------------------------------------------------------- */
.features {
    padding: 100px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--light-text);
    font-size: 18px;
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--light-text);
}

/* =How It Works
-------------------------------------------------------------- */
.how-it-works {
    padding: 100px 0;
    background: var(--background);
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 22%;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.step p {
    color: var(--light-text);
}

/* =Pricing Section
-------------------------------------------------------------- */
.pricing {
    padding: 100px 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.price span {
    font-size: 18px;
    color: var(--light-text);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

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

.pricing-features li i {
    color: var(--success);
    margin-right: 10px;
}

/* =Testimonials
-------------------------------------------------------------- */
.testimonials {
    padding: 100px 0;
    background: var(--background);
}

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

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: var(--accent);
}

.testimonial-info h4 {
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--light-text);
    font-size: 14px;
}

.testimonial-content {
    color: var(--light-text);
    font-style: italic;
    line-height: 1.8;
}

.rating {
    color: #fbbf24;
    margin-top: 15px;
}

.page-container .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-container .entry-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 10px;
}

/* =CTA Section
-------------------------------------------------------------- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* =Footer
-------------------------------------------------------------- */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 14px;
}

/* =Responsive Styles
-------------------------------------------------------------- */
@media (max-width: 992px) {
    .features-grid,
    .pricing-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .pricing-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .footer-grid {
        gap: 30px;
    }
}

.bizidea-report-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.bizidea-report-card {
    background: #f9f9f9;
    border: 1px solid #dfe4ea;
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.bizidea-report-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bizidea-report-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.bizidea-date {
    color: #888;
    font-size: 14px;
}

.bizidea-report-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.bizidea-report-button:hover {
    background: #005f8d;
}
