/* style.css */
:root {
    --primary-color: #bf572a;
    --primary-dark: #9c4520;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body {
    margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark); background-color: var(--bg-light);
    display: flex; flex-direction: column; min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-content { flex: 1; }

/* =========================================
   TYPOGRAPHY & GLOBALS
   ========================================= */
h1, h2, h3 { color: var(--text-dark); }
p { line-height: 1.6; color: var(--text-light); }
.highlight { color: var(--primary-color); }
.text-divider { border: none; border-top: 1px solid #e2e8f0; margin: 50px 0; }

/* Sections */
.hero-section, .case-study-section, .features-section, .services-list-section { padding: 80px 0; }
.form-section, .email-support-section, .about-section { padding: 60px 0; }
.page-header { background: var(--primary-color); color: var(--white); padding: 60px 0; text-align: center; }
.page-header h1 { margin: 0 0 10px 0; font-size: 3rem; color: var(--white); }
.page-header .subtitle { font-size: 1.2rem; opacity: 0.95; margin: 0; font-weight: 500; color: var(--white); }

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary, .btn-outline, .btn-small {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 30px; font-size: 1.1rem; font-weight: 700; border-radius: 8px;
    text-decoration: none !important; transition: all 0.2s; cursor: pointer;
}
.btn-primary { background: var(--primary-color); color: var(--white) !important; border: 2px solid var(--primary-color); }
.btn-outline { background: transparent; color: var(--primary-color) !important; border: 2px solid var(--primary-color); }
.btn-small { padding: 10px 20px; font-size: 0.95rem; }

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px); box-shadow: 0 10px 20px rgba(191, 87, 42, 0.2); color: var(--white) !important;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline:hover { background: var(--primary-color); }

/* =========================================
   LAYOUT & GRIDS
   ========================================= */
.case-study-grid, .custom-form .form-row, .settings-grid, .services-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.custom-form .form-row { gap: 20px; }
.settings-grid { gap: 30px; }

/* =========================================
   CARDS & CONTAINERS
   ========================================= */
.action-card, .form-container, .email-card, .feature-card, .service-card, .text-container {
    background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.form-container, .text-container { margin: 0 auto; }
.form-container { max-width: 700px; padding: 40px; }
.text-container { max-width: 800px; padding: 50px; border-top: 4px solid var(--primary-color); scroll-behavior: smooth; }
.email-card, .service-card { padding: 40px; border: 1px solid #f1f5f9; }
.email-card { border-top: 4px solid var(--primary-color); margin-bottom: 40px; }
.feature-card { padding: 40px 30px; text-align: center; border-top: 4px solid transparent; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.action-card { padding: 30px 20px; text-align: center; color: var(--text-dark); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 15px; transition: transform 0.2s, box-shadow 0.2s; }

/* Card Hover States */
.action-card:hover, .feature-card:hover, .service-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.feature-card:hover { border-top-color: var(--primary-color); }

/* =========================================
   SPECIFIC COMPONENTS
   ========================================= */
/* Header / Nav */
.site-header { background: var(--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: 15px 20px; }
.logo img { height: 60px; }
.main-nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; margin-left: 30px; transition: color 0.2s; }
.main-nav a:hover { color: var(--primary-color); }
.mobile-toggle { display: none; }

/* Dropdowns */
.nav-dropdown { display: inline-block; position: relative; }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 15px; }
.dropdown-content { display: none; position: absolute; background-color: var(--white); min-width: 200px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 1000; border-radius: 8px; overflow: hidden; top: calc(100% + 15px); left: 50%; transform: translateX(-50%); border: 1px solid #e2e8f0; }
.nav-dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.2s ease-in-out; }
.dropdown-content a { padding: 12px 20px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid #f1f5f9; margin: 0; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a i { color: var(--primary-color); }
.dropdown-content a:hover { background-color: #f8fafc; color: var(--primary-color); }
@keyframes fadeIn { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Hero */
.hero-section { text-align: center; }
.hero-section h1 { font-size: 3.5rem; margin-bottom: 50px; line-height: 1.2; }

/* Icons */
.action-card i, .feature-card i { font-size: 2rem; color: var(--primary-color); }
.feature-card i { font-size: 2.5rem; margin-bottom: 20px; }
.highlight-card { background: var(--primary-color); color: var(--white); }
.highlight-card i { color: var(--white); }
.service-icon { width: 60px; height: 60px; background: #fff7ed; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon i { font-size: 1.8rem; color: var(--primary-color); }

/* Text & Headings inside cards */
.case-study-content h2 { color: var(--primary-color); margin-top: 0; font-size: 1.8rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; display: inline-block; }
.text-container h2 { margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; scroll-margin-top: 100px; }
.text-container h2:first-child { margin-top: 0; }
.text-container h3 { color: var(--primary-color); margin-top: 30px; margin-bottom: 10px; font-size: 1.3rem; }
.feature-card h3, .service-card h2, .email-card h2 { margin: 0 0 15px 0; color: var(--text-dark); }
.feature-card h3 { font-size: 1.3rem; }
.service-card h2, .email-card h2 { font-size: 1.5rem; }
.email-card h2 { font-size: 1.8rem; }
.text-container p a, .text-container ul li a, .feature-card a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.text-container p a:hover, .text-container ul li a:hover, .feature-card a:hover { text-decoration: underline; }

/* Forms */
.custom-form .form-group { margin-bottom: 25px; }
.custom-form label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.custom-form label .req { color: #e11d48; }
.custom-form input, .custom-form select, .custom-form textarea { width: 100%; padding: 14px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; font-family: inherit; background: var(--bg-light); color: var(--text-dark); box-sizing: border-box; transition: all 0.2s ease; }
.custom-form input:focus, .custom-form select:focus, .custom-form textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); box-shadow: 0 0 0 3px rgba(191, 87, 42, 0.15); }
.custom-form textarea { resize: vertical; }
.custom-form button[type="submit"] { width: 100%; }

/* Misc Specifics */
.results-box { background: var(--bg-light); border-left: 5px solid var(--primary-color); padding: 25px; margin: 40px 0; border-radius: 0 12px 12px 0; }
.results-box h3 { margin: 0 0 10px 0; font-size: 1.4rem; }
.results-box p { font-size: 1.2rem; }
.results-box strong { color: var(--primary-color); }
.case-study-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.case-study-image .caption { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-top: 15px; font-style: italic; }

/* Alerts & Notifications */
.alert { padding: 15px; border-radius: 8px; margin-bottom: 25px; font-weight: 600; text-align: center; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.mt-alert-info { background: #e0f2fe; color: #0f172a; border: 1px solid #bae6fd; margin-bottom: 40px; font-size: 1.05rem; }
.mt-alert-info i { color: #0284c7; margin-right: 8px; }
.hp-trap { position: absolute; left: -5000px; top: -5000px; opacity: 0; z-index: -1; }

/* Lists (Email Settings, Policies) */
.settings-box h3 { font-size: 1.2rem; margin: 0 0 15px 0; display: flex; align-items: center; gap: 10px; }
.settings-box h3 i { color: var(--primary-color); }
.settings-box ul { list-style: none; padding: 0; margin: 0; }
.settings-box ul li { padding: 10px 0; border-bottom: 1px dashed #f1f5f9; font-size: 0.95rem; }
.settings-box ul li:last-child { border-bottom: none; }
.password-note { margin-top: 25px; padding: 15px; background: #f8fafc; border-radius: 6px; font-size: 0.95rem; }
.billing-address { background: #f8fafc; padding: 20px; border-radius: 8px; margin: 30px 0; font-size: 1.1rem; line-height: 1.6; border: 1px solid #e2e8f0; }

/* Footer & Disclaimers */
.site-footer { background: var(--text-dark); color: var(--white); padding: 40px 0; text-align: center; }
.footer-contact a { color: var(--white); text-decoration: none; margin: 0 15px; font-weight: 600; }
.footer-social { margin: 20px 0; }
.footer-social a { color: var(--white); font-size: 1.5rem; }
.copyright { color: #94a3b8; font-size: 0.9rem; }
.support-disclaimer { background: var(--text-dark); color: var(--white); padding: 40px; border-radius: 12px; text-align: center; margin-top: 60px; }
.support-disclaimer h3 { margin-top: 0; font-size: 1.6rem; color: var(--white); }
.support-disclaimer p { color: #cbd5e1; max-width: 800px; margin: 0 auto 20px auto; }
.support-disclaimer .btn-primary { margin-top: 20px; }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
    .hero-section h1 { font-size: 2.5rem; }
    
    .case-study-grid, .custom-form .form-row, .settings-grid, .services-grid, .features-grid { 
        grid-template-columns: 1fr; gap: 20px; 
    }
    
    .alt-grid { flex-direction: column-reverse; display: flex; gap: 40px; }
    .case-study-image { grid-row: 1; }
    
    .text-container, .form-container, .email-card, .service-card { padding: 25px; }
    
    .nav-dropdown { display: block; margin-top: 15px; }
    .dropdown-content { display: block; position: static; box-shadow: none; border: none; background: transparent; transform: none; margin-top: 10px; padding-left: 20px; }
}
/* Restored Spacing for Check Email Buttons */
.webmail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}
