/* Custom Styles for Hypertension Support Landing Page */

/* Font Configuration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #5682B1;
    --secondary-color: #739EC9;
    --accent-color: #FFE8DB;
    --text-dark: #000000;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Header Styles - Material Design with Background Highlights */
header {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: 4px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(86, 130, 177, 0.1);
}

.nav-link:hover::before {
    width: 80%;
}

.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section - Material Design Tiles */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.product-image-container {
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

.lead-form-container {
    animation: fadeInRight 0.8s ease 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.price-block {
    animation: scaleIn 0.5s ease 0.4s both;
    box-shadow: var(--shadow-md);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Feature Tiles - Material Design */
.features-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.feature-tile {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(86, 130, 177, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-tile:hover::before {
    left: 100%;
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-color);
}

.feature-tile i {
    transition: transform 0.3s ease;
}

.feature-tile:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Benefit Tiles */
.benefit-tile {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.benefit-tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.benefit-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-tile:hover::after {
    width: 100%;
}

.benefit-tile i {
    transition: transform 0.3s ease;
}

.benefit-tile:hover i {
    transform: scale(1.15);
}

/* Ingredient Tiles */
.ingredient-tile {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.ingredient-tile:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Step Tiles */
.step-tile {
    transition: all 0.3s ease;
}

.step-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-tile .w-16 {
    transition: transform 0.3s ease;
}

.step-tile:hover .w-16 {
    transform: scale(1.1) rotate(5deg);
}

/* Review Tiles */
.review-tile {
    transition: all 0.3s ease;
    position: relative;
}

.review-tile::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.review-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-color);
}

/* FAQ Accordion */
.faq-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-question {
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-question:hover {
    background-color: rgba(86, 130, 177, 0.05);
}

.faq-question.active {
    background-color: rgba(86, 130, 177, 0.1);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    animation: slideDown 0.3s ease;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 130, 177, 0.2);
}

button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

/* Cookie Banner */
.cookie-banner {
    animation: slideUp 0.5s ease;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Footer - Multi-column Informational */
.footer-section a {
    transition: color 0.3s ease;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .product-image-container {
        margin-bottom: 2rem;
    }
    
    .lead-form-container h1 {
        font-size: 2rem;
    }
    
    .price-block {
        text-align: center;
    }
    
    .feature-tile,
    .benefit-tile,
    .ingredient-tile,
    .step-tile,
    .review-tile {
        margin-bottom: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Material Design Elevation */
.elevation-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.elevation-2 {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.elevation-3 {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.elevation-4 {
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

