/* Coffee Tools Page - Premium Style */

/* Import variables and base styles */
:root {
    --primary-color: #2c1810;
    --secondary-color: #d4a574;
    --text-light: #666;
    --text-dark: #333;
    --bg-light: #f8f6f3;
}

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

/* Section defaults */
section {
    padding: 80px 0;
    position: relative;
}

/* Typography defaults */
h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Button styles */
.btn-primary,
.btn-primary-large {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.btn-primary {
    padding: 1rem 2rem;
}

.btn-primary-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover,
.btn-primary-large:hover {
    background: #c09560;
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

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

.hero-premium {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d2418 100%);
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.coffee-steam-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q30,20 40,50 T60,50 T80,50" stroke="white" fill="none" opacity="0.5"/></svg>') repeat;
    animation: steamFloat 20s infinite linear;
}

@keyframes steamFloat {
    0% { transform: translate(-50%, 0) rotate(0deg); }
    100% { transform: translate(0, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-headline {
    margin-bottom: 1.5rem;
}

.headline-small {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.headline-large {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
}

.hero-subtext {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--secondary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

/* Coffee Tools Page - Premium Style continues below... */

/* Reuse hero styles from homepage */
.tools-hero .hero-content {
    max-width: 900px;
}

/* Partnership Story */
.partnership-story {
    padding: 100px 0;
    background: white;
}

.partnership-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.partnership-intro h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.partnership-intro .lead {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.partnership-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.partner-quote {
    font-size: 1.3rem;
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 2rem;
    margin: 2rem 0;
}

.partner-quote cite {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    font-style: normal;
    color: var(--text-light);
}

.partner-values {
    margin-top: 2rem;
}

.partner-values .value {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-values i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.partnership-visual {
    position: relative;
}

.partner-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-logo {
    height: 40px;
}

/* Tools Impact Section */
.tools-impact {
    padding: 100px 0;
    background: var(--bg-light);
}

.impact-demonstration {
    margin-top: 4rem;
}

.before-after-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.scenario {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.scenario-header .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.scenario-header h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.coffee-result {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cup-visual {
    position: relative;
    margin-bottom: 1rem;
}

.cup-visual i {
    font-size: 4rem;
    color: var(--primary-color);
}

.quality-meter {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.quality-meter.low::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: #e74c3c;
    border-radius: 2px;
}

.quality-meter.high::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 95%;
    background: #27ae60;
    border-radius: 2px;
}

.issues .issue,
.benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.issues .issue i {
    color: #e74c3c;
}

.benefits .benefit i {
    color: #27ae60;
}

.transformation-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
}

.impact-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Essential Tools */
.essential-tools {
    padding: 100px 0;
    background: white;
}

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

.tool-card {
    position: relative;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.tool-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d2418 100%);
    color: white;
}

.tool-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.tool-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-content {
    padding: 2rem;
}

.tool-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tool-tagline {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.tool-card.featured .tool-tagline {
    color: var(--secondary-color);
}

.tool-highlights {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight i {
    color: var(--secondary-color);
}

.tool-card.featured p,
.tool-card.featured .highlight span {
    color: rgba(255,255,255,0.9);
}

.customer-voice {
    background: rgba(0,0,0,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.customer-voice p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.customer-voice cite {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.kit-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.kit-includes span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.tool-spec {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tool-spec span {
    padding: 0.3rem 0.8rem;
    background: rgba(0,0,0,0.05);
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Complete Setup */
.complete-setup {
    padding: 100px 0;
    background: var(--bg-light);
}

.setup-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.setup-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.setup-level {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.setup-level.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.level-badge {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.level-header h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.level-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.recommended-tools {
    margin: 2rem 0;
    text-align: left;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.tool-item i {
    color: var(--secondary-color);
}

.investment {
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.investment .label {
    color: var(--text-light);
    margin-right: 0.5rem;
}

.investment .amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Brewing Education */
.brewing-education {
    padding: 100px 0;
    background: white;
}

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

.guide-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.guide-card.featured {
    background: var(--primary-color);
    color: white;
}

.guide-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.guide-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guide-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-card.featured p {
    color: rgba(255,255,255,0.9);
}

.guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-card.featured .guide-link {
    color: var(--secondary-color);
}

.guide-link:hover {
    transform: translateX(5px);
}

/* Tools Value */
.tools-value {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.roi-calculator {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.1rem;
}

.calc-row.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.calc-row.savings {
    color: #27ae60;
    font-size: 1.3rem;
    font-weight: 700;
}

.calc-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 1rem 0;
}

.roi-insight {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.roi-insight i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Tools CTA */
.tools-cta-premium {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d2418 100%);
    color: white;
    text-align: center;
}

.tools-cta-premium h2 {
    color: white;
    margin-bottom: 1rem;
}

.tools-cta-premium p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
}

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

.cta-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-benefits i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.cta-actions {
    margin-bottom: 3rem;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.alternative-action {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.alternative-action p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .before-after-showcase {
        grid-template-columns: 1fr;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card.featured {
        grid-column: 1;
    }
    
    .setup-levels {
        grid-template-columns: 1fr;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
    }
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .headline-large {
        font-size: 2.5rem;
    }
    
    .hero-subtext {
        font-size: 1.1rem;
    }
    
    .trust-row {
        gap: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
}