/* 22Start WordPress Landing Page - Custom CSS */

/* ========================
   CSS VARIABLES
   ======================== */

:root {
    --primary-purple: #8B5CF6;
    --primary-purple-dark: #7C3AED;
    --primary-orange: #F59E0B;
    --text-dark: #000000;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-pink-light: #FDF2F8;
    --bg-pink-medium: #FCE7F3;
    --bg-pink-dark: #FBE2F4;
    --white: #FFFFFF;
    --shadow-light: 0 4px 15px rgba(139, 92, 246, 0.2);
    --shadow-hover: 0 8px 25px rgba(139, 92, 246, 0.3);
    --border-radius: 25px;
    --border-radius-small: 8px;
    --transition: all 0.3s ease;
}

/* Use customizer colors if available */
:root {
    --primary-color: var(--primary-color-custom, var(--primary-purple));
    --secondary-color: var(--secondary-color-custom, var(--primary-orange));
}

/* ========================
   RESET & BASE STYLES
   ======================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

html {
    scroll-behavior: smooth;
}

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

/* ========================
   HEADER SECTION
   ======================== */

.site-header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.primary-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
}

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

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* Header CTA Button */
.header-cta-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.header-cta-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.menu-text {
    font-size: 12px;
    color: var(--text-gray);
}

/* ========================
   HERO SECTION
   ======================== */

.hero-section {
    background: linear-gradient(135deg, var(--bg-pink-light) 0%, var(--bg-pink-medium) 50%, var(--bg-pink-dark) 100%);
    padding: 120px 20px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.hero-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtext {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================
   BUTTONS
   ======================== */

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
    text-decoration: none;
}

.cta-button:active {
    transform: translateY(0);
}

/* ========================
   CONTENT SECTIONS
   ======================== */

.content-section {
    padding: 80px 20px;
    text-align: center;
}

.content-section.alt-bg {
    background: #FAFAFA;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto 40px;
}

/* ========================
   TOOLS GRID
   ======================== */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f0f0f0;
}

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

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tool-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
}

.tool-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.tool-link:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}

/* No Tools Message */
.no-tools-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.no-tools-message p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* ========================
   CONTACT FORM
   ======================== */

.contact-section {
    background: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-small);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 10px;
}

.contact-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius-small);
    text-align: center;
    font-weight: 500;
}

.contact-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================
   ANIMATIONS
   ======================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ========================
   BACK TO TOP BUTTON
   ======================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .header-content {
        padding: 15px 30px;
    }
    
    .hero-heading {
        font-size: 40px;
    }
    
    .hero-section {
        padding: 80px 20px;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-content {
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .main-navigation {
        gap: 15px;
    }
    
    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .primary-menu.mobile-active {
        display: flex;
    }
    
    .primary-menu a {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 60px 15px;
        min-height: 70vh;
    }
    
    .hero-heading {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .hero-subtext {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .content-section {
        padding: 60px 15px;
    }
    
    .section-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-heading {
        font-size: 28px;
    }
    
    .hero-subtext {
        font-size: 15px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .tool-card {
        padding: 25px 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* ========================
   ACCESSIBILITY
   ======================== */

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-gray: #333;
        --border-color: #000;
    }
    
    .tool-card {
        border: 2px solid #ccc;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========================
   PRINT STYLES
   ======================== */

@media print {
    .site-header,
    .back-to-top,
    .menu-toggle,
    .contact-form {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
        padding: 40px 0;
    }
    
    * {
        color: black !important;
        background: white !important;
        box-shadow: none !important;
    }
    
    .hero-heading,
    .section-heading {
        color: black !important;
    }
    
    .gradient-text {
        -webkit-text-fill-color: black !important;
        background: none !important;
    }
}