/**
 * AI Polyglottika Custom Styles
 * B2B Custom AI Agents for Business
 */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.site-branding .site-title-link {
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.site-tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Navigation */
.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-icon span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: #059669;
}

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

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

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

/* Hero Section */
.homepage-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Feature Cards */
.feature-card, .course-card, .service-card, .benefit-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover, .course-card:hover, .service-card:hover, .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon, .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3, .course-card h3, .service-card h3, .benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p, .course-card p, .service-card p, .benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Grids */
.b2b-features, .courses-grid, .services-grid, .mastermind-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Course Badge */
.course-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.mastermind-free {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
}

/* Service Pricing */
.service-pricing {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.mastermind-discount {
    display: block;
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Mastermind Section */
.homepage-mastermind {
    background: var(--bg-light);
}

.mastermind-note {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-light);
}

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

.mastermind-note a:hover {
    text-decoration: underline;
}

.mastermind-cta {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.homepage-cta {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.site-footer {
    background: var(--text);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Page Templates */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.mastermind-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 3rem;
    text-align: center;
}

.mastermind-banner h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.mastermind-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Courses Page */
.courses-list, .services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.course-item, .service-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.course-header, .service-item h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-header h2 {
    margin: 0;
    font-size: 1.75rem;
}

.course-description, .service-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.course-topics {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.course-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.course-topics li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.service-details {
    margin: 1.5rem 0;
}

.service-details h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.service-pricing-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.pricing-regular, .pricing-mastermind {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pricing-mastermind {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.price-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-mastermind .price-amount {
    color: var(--secondary);
}

.discount-badge {
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-price {
    color: var(--text-light);
    font-size: 0.875rem;
}

.courses-footer, .services-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.courses-footer h3, .services-footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.contact-info h2:first-child {
    margin-top: 0;
}

.benefits-list p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.success-message, .error-message {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.success-message {
    background: #d1fae5;
    border: 1px solid var(--secondary);
    color: #065f46;
}

.error-message {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* About Page */
.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.about-section a:hover {
    text-decoration: underline;
}

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

.offering-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.offering-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.about-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.about-section ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.about-section ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 0.5rem;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 1rem;
        min-width: 200px;
    }

    .nav-menu.menu-open {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .b2b-features, .courses-grid, .services-grid, .mastermind-benefits {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .course-header, .service-item h2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .service-pricing-box {
        padding: 1rem;
    }

    .pricing-regular, .pricing-mastermind {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

