/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* === BASE COLORS & TYPOGRAPHY === */
body, .text-body, p {
    color: #333333; /* Clean modern charcoal */
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    font-weight: 400;
    background-color: #FFFFFF;
}

.text-heading, h1, h2, h3, h4, h5, h6 {
    color: #111111;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.text-hero {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    color: #111111;
}

.text-heading {
    font-size: clamp(2rem, 4vw, 3rem);
}

.text-subheading, .subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
    font-weight: 600;
    color: #222222;
}

.text-caption, .text-muted, .caption {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5;
    font-weight: 400;
    color: #717171;
}

.text-disabled,
input::placeholder,
textarea::placeholder {
    color: #B0B0B0 !important;
    font-style: italic;
}

.text-button,
button {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #333333;
    font-family: 'Poppins', sans-serif;
}

a,
.text-link,
.text-accent {
    color: #FF7F32;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover, .text-link:hover {
    color: #E65C00;
}

/* Gradient heading */
.gradient-text {
    background: linear-gradient(135deg, #FF7F32, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === LAYOUT & COMPONENTS === */
* {
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

section {
    position: relative;
    background: #FFFFFF;
}
section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229,231,235,0.8), transparent);
}
section:not(:last-child) {
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

/* BUTTONS */
.cta-button {
    background: #FF7F32;
    color: #FFF;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}
.cta-button:hover {
    background: #E65C00;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.cta-button:active {
    transform: scale(0.97);
}
.cta-button:disabled {
    background: #B0B0B0;
    color: #FFF;
    cursor: not-allowed;
}
.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 ease;
}
.cta-button:hover::before { left: 100%; }

/* INPUTS */
input, textarea, select {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 0.6rem 1rem;
    color: #333333;
    background: #FFFFFF;
    transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus {
    border-color: #FF7F32;
    box-shadow: 0 0 0 3px rgba(255,127,50,0.1);
    outline: none;
}
input:disabled, textarea:disabled, select:disabled {
    background: #F3F4F6;
    color: #B0B0B0;
}

/* CARDS */
.benefit-card,
.testimonial-card,
.stats-counter {
    border: 1px solid #E5E7EB;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.benefit-card:hover,
.testimonial-card:hover,
.stats-counter:hover {
    border-color: rgba(255,127,50,0.3);
    box-shadow: 0 20px 40px rgba(255,127,50,0.08);
    transform: translateY(-4px);
}

/* AUTHOR */
.author-profile:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
}

/* ICONS */
.fas, .fab, .social-icon {
    transition: transform 0.3s ease;
}
.benefit-card:hover .fas,
.testimonial-card:hover .fas { transform: scale(1.1);}
.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255,127,50,0.2);
}

/* NAVIGATION */
nav {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* PAGE LOAD */
body {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFFFFF; }
::-webkit-scrollbar-thumb {
    background: #FF7F32;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #E65C00; }

/* SELECTION */
::selection { background-color: #FF7F32; color: white; }
::-moz-selection { background-color: #FF7F32; color: white; }

/* RADIUS */
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 20px; }

/* FOCUS */
.focus-ring:focus, .focus-visible:focus {
    outline: 2px solid #FF7F32;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255,127,50,0.3);
}

/* TOOLTIPS */
.tooltip { position: relative; }
.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%; left: 50%;
    transform: translateX(-50%);
    background: #FF7F32;
    color: white;
    padding: 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.tooltip:hover::after { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-text h1, .text-hero { font-size: clamp(2rem, 6vw, 3rem);}
    .text-heading { font-size: clamp(1.5rem, 5vw, 2.5rem);}
    .text-subheading { font-size: clamp(1.25rem, 4vw, 2rem);}
    .cta-button { width: 100%; margin-left: 0 !important; margin-top: 0.5rem;}
}
@media (max-width: 480px) {
    .text-hero { font-size: clamp(1.75rem,7vw,2.5rem);}
    .text-heading { font-size: clamp(1.25rem,6vw,2rem);}
    .text-body { font-size: clamp(0.875rem,3vw,1rem);}
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px);}
    to   { opacity: 1; transform: translateX(0);}
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px) rotate(3deg);}
    to   { opacity: 1; transform: translateX(0) rotate(3deg);}
}
.image-loading {
    background: linear-gradient(90deg,#F3F4F6 25%,#E5E7EB 50%,#F3F4F6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0;}
}

/* PRINT */
@media print {
    nav, .cta-button, .newsletter-form, footer { display: none !important;}
    body, .hero-section { background: #fff !important; color: #333333 !important;}
    .benefit-card:hover, .testimonial-card:hover { box-shadow: none !important; transform: none !important;}
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .cta-button:hover, .benefit-card:hover, .testimonial-card:hover, .stats-counter:hover {
        transform: none !important;
    }
}
