/* =================================
   Juliie.uk Teal Theme Stylesheet
   ================================= */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Based on Juliie Logo */
    --teal-primary: #2DD4BF;      /* Main cyan/teal from logo */
    --teal-dark: #0D9488;         /* Darker teal for hover states */
    --teal-light: #CFFAFE;        /* Light cyan for backgrounds */
    --teal-50: #ECFEFF;           /* Very light cyan */

    /* Navy Blue Accent - From logo ".uk" text */
    --navy-primary: #1B4965;      /* Navy blue from logo */
    --navy-dark: #0F2D40;         /* Darker navy */
    --navy-light: #2C6E8A;        /* Lighter navy */

    /* Slate/Gray */
    --slate-900: #0F172A;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94A3B8;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;

    /* Background */
    --bg-white: #FFFFFF;
    --bg-off-white: #F8FAFC;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-700);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    color: var(--teal-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--teal-light);
    color: var(--teal-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--slate-700);
    border-color: var(--slate-200);
}

.btn-outline:hover {
    background-color: var(--slate-100);
    border-color: var(--slate-400);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-image {
    height: 180px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--slate-700);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--teal-primary);
    background-color: var(--teal-50);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--slate-700);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--slate-700);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--bg-white) 50%, var(--teal-light) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-600);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup for Hero */
.phone-mockup {
    position: relative;
    max-width: 240px;
    width: 100%;
}

.hero-phone-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-phone-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Legacy support for dashboard preview if needed */
.dashboard-preview {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-placeholder {
    background-color: var(--bg-off-white);
    border-radius: var(--radius-md);
}

/* Trust Bar */
.trust-bar {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-off-white);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.trust-text {
    text-align: center;
    color: var(--slate-600);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-600);
}

/* Section Styles */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
}

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

/* Problem/Fix Section */
.problem-fix {
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.benefit-card {
    padding: var(--spacing-lg);
    text-align: center;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background-color: var(--teal-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-dark);
}

.benefit-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* Features Section */
.features-overview {
    background-color: var(--bg-off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--teal-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--teal-dark);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--slate-600);
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-primary), var(--teal-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    margin-bottom: var(--spacing-sm);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-quote {
    margin-bottom: var(--spacing-md);
}

.quote-icon {
    color: var(--teal-light);
    margin-bottom: var(--spacing-sm);
}

.testimonial-quote p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-700);
}

.testimonial-author {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-primary), var(--teal-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.author-company,
.author-industry {
    font-size: 0.875rem;
    color: var(--slate-600);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--slate-200);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--teal-primary);
}

.faq-icon {
    color: var(--teal-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--spacing-md);
}

.faq-answer p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* CTA Strip */
.cta-strip {
    background: linear-gradient(135deg, var(--navy-primary), var(--teal-dark));
    color: white;
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-strip .btn-primary:hover {
    background-color: var(--teal-50);
}

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

.cta-strip .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    color: var(--teal-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-image {
    height: 96px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-contact p {
    margin-bottom: var(--spacing-xs);
}

.footer-contact a {
    color: var(--teal-primary);
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--teal-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

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

.footer-social a:hover {
    background-color: var(--teal-primary);
    transform: translateY(-2px);
}

/* GoHighLevel Embeds */
.ghl-calendar-embed,
.ghl-form-embed {
    margin: var(--spacing-lg) 0;
}

.embed-placeholder {
    background-color: var(--bg-off-white);
    border: 2px dashed var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
}

.placeholder-content {
    max-width: 500px;
    margin: 0 auto;
}

.placeholder-content svg {
    color: var(--slate-400);
    margin: 0 auto var(--spacing-md);
}

.placeholder-content h3 {
    margin-bottom: var(--spacing-sm);
}

.placeholder-content code {
    background-color: var(--slate-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.placeholder-instructions {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--slate-600);
    text-align: left;
    line-height: 1.8;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background-color: var(--bg-white);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.highlight {
    border-color: var(--teal-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--navy-primary), var(--teal-primary));
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.pricing-best-for {
    color: var(--slate-600);
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    margin-bottom: var(--spacing-md);
}

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

.price-period {
    font-size: 1rem;
    color: var(--slate-600);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

.pricing-features li::before {
    content: '✓';
    color: var(--teal-primary);
    font-weight: 700;
}

.pricing-setup {
    color: var(--slate-600);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.industry-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.industry-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--slate-900);
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--slate-600);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-col h3 {
    margin-bottom: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .features-grid,
    .steps-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--spacing-sm);
    }

    .mobile-toggle {
        display: block;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
