/*
Theme Name: Heculeads
Theme URI: https://heculeads.com
Author: Heculeads
Author URI: https://heculeads.com
Description: A clean, modern WordPress theme for Heculeads: Sheet & Calendar Sync - Google Workspace Add-on. Features a beige color palette, Google-inspired design elements, and full Gutenberg support.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heculeads
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

Heculeads WordPress Theme, (C) 2026 Heculeads
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
  --beige-50: #fdfcfa;
  --beige-100: #f9f6f1;
  --beige-200: #f3ede3;
  --beige-300: #e8dfd0;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --success: #10b981;
  --google-sheets: #0F9D58;
  --google-calendar: #4285F4;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background-color: var(--beige-50);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: 1rem;
}

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

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

strong {
  font-weight: 600;
  color: var(--slate-800);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.sheets-color { color: var(--google-sheets); }
.calendar-color { color: var(--google-calendar); }

.google-icon {
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
  width: 32px;
  height: 32px;
}

.google-icon-sm {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: 0 4px;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary,
.wp-block-button__link {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary:hover,
.wp-block-button__link:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--slate-700) !important;
  border: 1px solid var(--beige-300);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-200);
  padding: 16px 0;
  z-index: 1000;
}

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

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-branding img {
  height: 80px;
  width: auto;
}

.site-branding .site-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--slate-600);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--beige-50);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--beige-300) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--beige-200);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.hero-badge .badge-label {
  background: var(--success);
  color: #fff;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.hero-section h1 {
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 18px;
  color: var(--slate-600);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Pricing Highlight Box */
.pricing-highlight {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 2px solid var(--accent);
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.pricing-highlight .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.pricing-highlight .price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-600);
}

.pricing-highlight .trial {
  font-size: 14px;
  color: var(--slate-600);
  text-align: left;
}

.pricing-highlight .trial strong {
  color: var(--success);
  display: block;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--slate-600);
  font-size: 17px;
  margin: 0;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  background: var(--beige-100);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(var(--beige-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--beige-200) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.features-section .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--beige-200);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--beige-100), var(--beige-200));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Steps / How It Works
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--slate-600);
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   Capabilities Section (Dark)
   ========================================================================== */
.capabilities-section {
  background: var(--slate-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.capabilities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

.capabilities-section .section-label {
  color: var(--accent-light);
}

.capabilities-section .section-title {
  color: #fff;
}

.capabilities-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.capabilities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}

.capability-check {
  width: 24px;
  height: 24px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: #fff;
}

.capability-item span {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--beige-100), var(--beige-200));
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--slate-600);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ==========================================================================
   Page Header (for interior pages)
   ========================================================================== */
.page-header {
  background: var(--beige-100);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--beige-300) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--slate-600);
  margin: 0;
}

/* ==========================================================================
   Content Area
   ========================================================================== */
.site-content {
  padding: 60px 24px;
}

.site-content .container {
  max-width: 800px;
}

.site-content h2 {
  font-size: 22px;
  margin: 40px 0 16px;
}

.site-content h2:first-of-type {
  margin-top: 0;
}

.site-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.site-content li {
  margin-bottom: 10px;
}

/* ==========================================================================
   FAQ Styles
   ========================================================================== */
.faq-section {
  margin-bottom: 48px;
}

.faq-section h2 {
  font-size: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--beige-200);
  margin-bottom: 24px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--beige-200);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background: var(--beige-50);
}

.faq-question:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--slate-600);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Box */
.contact-box {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 48px;
}

.contact-box h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 12px;
}

.contact-box p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.contact-box a {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform 0.2s;
}

.contact-box a:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--beige-200);
  padding: 60px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--slate-600);
  font-size: 14px;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--slate-600);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--beige-200);
  text-align: center;
  color: var(--slate-600);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-navigation ul {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation.toggled ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--beige-50);
    padding: 24px;
    border-bottom: 1px solid var(--beige-200);
    box-shadow: var(--shadow-lg);
  }
  
  .hero-section {
    padding: 60px 24px 40px;
  }
  
  .section {
    padding: 60px 24px;
  }
  
  .pricing-highlight {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .pricing-highlight .trial {
    text-align: center;
  }
  
  .google-icon {
    width: 24px;
    height: 24px;
  }
  
  .page-header h1 {
    font-size: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   WordPress Specific Styles
   ========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
}

/* WordPress Block Editor Styles */
.wp-block-button__link {
  border-radius: var(--radius-sm);
}

.has-text-align-center {
  text-align: center;
}

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

