/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066CC;
    --primary-dark: #0052A3;
    --primary-light: #3385D6;
    --secondary-color: #00A86B;
    --accent-color: #FF6B35;
    --remita-purple: #8B4CBF;
    --remita-purple-dark: #6B3A9F;
    --remita-green: #00D4AA;
    --remita-green-dark: #00B894;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 76, 191, 0.95) 0%, rgba(0, 212, 170, 0.95) 100%);
    --gradient-modern: linear-gradient(135deg, #00D4AA 0%, #00B894 25%, #0066CC 75%, #8B4CBF 100%);
    --gradient-bg-1: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 212, 170, 0.3) 50%, rgba(139, 76, 191, 0.3) 100%);
    --gradient-bg-2: linear-gradient(135deg, rgba(0, 212, 170, 0.2) 0%, rgba(0, 102, 204, 0.2) 100%);
}

body {
    font-family: 'Vazirmatn', 'Vazir', 'Tahoma', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    direction: rtl;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: -2px;
}

.logo a:hover {
    color: var(--primary-dark);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-secondary {
    padding: 0.6rem 1.2rem;
    background-color: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-modern);
    z-index: -1;
}

/* Parallax Layers */
.parallax-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}

.layer-1 {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 30%,
        rgba(0, 212, 170, 0.2) 50%,
        transparent 70%,
        rgba(139, 76, 191, 0.15) 100%);
    transform: rotate(15deg);
    border-radius: 50%;
}

.layer-2 {
    background: radial-gradient(circle at 30% 40%, 
        rgba(0, 212, 170, 0.25) 0%, 
        transparent 50%),
        radial-gradient(circle at 70% 60%, 
        rgba(139, 76, 191, 0.25) 0%, 
        transparent 50%);
    transform: rotate(-10deg);
}

.layer-3 {
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, rgba(0, 102, 204, 0.15) 0%, transparent 50%);
    transform: rotate(25deg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

/* Product Box Image */
.hero-product-image {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 520px;
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 1200px) {
    .hero-product-image {
        left: 8%;
        width: 420px;
        height: 560px;
    }
}

.product-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1500px;
    animation: floatBox 6s ease-in-out infinite;
}

@keyframes floatBox {
    0%, 100% {
        transform: translateY(0) rotateY(-15deg) rotateX(5deg);
    }
    50% {
        transform: translateY(-20px) rotateY(-12deg) rotateX(3deg);
    }
}

.box-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.box-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 12px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(139, 76, 191, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg) translateZ(20px);
    backface-visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box:hover .box-front {
    transform: rotateY(-12deg) rotateX(3deg) translateZ(30px);
    box-shadow: 
        0 35px 120px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(139, 76, 191, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.box-content {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

/* Dots Pattern - Top Right */
.box-dots-pattern {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 140px;
    height: 140px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 170, 0.4) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 50%, rgba(0, 102, 204, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 70%, rgba(139, 76, 191, 0.25) 1.5px, transparent 1.5px);
    background-size: 20px 20px, 25px 25px, 18px 18px;
    background-position: 0 0, 10px 10px, 5px 5px;
    border-radius: 50%;
    opacity: 0.8;
    animation: rotateDots 30s linear infinite;
}

@keyframes rotateDots {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Text Area */
.box-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    z-index: 2;
}

.box-product-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.box-product-name sup {
    font-size: 1rem;
    vertical-align: super;
}

.box-ingredient {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
}

.box-details {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    max-width: 220px;
}

/* Purple Band */
.box-purple-band {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    height: 45%;
    background: linear-gradient(135deg, 
        var(--remita-purple) 0%, 
        var(--remita-purple-dark) 50%,
        var(--remita-purple) 100%);
    clip-path: polygon(0 55%, 0 100%, 100% 100%, 100% 75%, 25% 55%);
    z-index: 1;
    box-shadow: 
        inset 0 -2px 10px rgba(0, 0, 0, 0.2),
        0 2px 5px rgba(139, 76, 191, 0.3);
}

/* Green Band */
.box-green-band {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 12%;
    background: linear-gradient(135deg, 
        var(--remita-green) 0%, 
        var(--remita-green-dark) 100%);
    clip-path: polygon(0 88%, 0 100%, 100% 100%, 100% 75%, 20% 88%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    box-shadow: 0 -2px 8px rgba(0, 212, 170, 0.4);
}

.box-number-circle {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--remita-green);
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 212, 170, 0.2);
}

.box-tablets-text {
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ALHAVI Logo Area */
.box-logo-area {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.box-alhavi-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.box-alhavi-logo svg {
    width: 100%;
    height: 100%;
}

.box-alhavi-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.box-alhavi-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.5px;
}

.box-alhavi-sub {
    font-size: 0.5rem;
    color: #666;
    margin: 0;
}

.box-alhavi-year,
.box-alhavi-location {
    font-size: 0.45rem;
    color: #999;
    margin: 0;
}

/* 3D Box Sides */
.box-side {
    position: absolute;
    right: -30px;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to left, 
        rgba(139, 76, 191, 0.95) 0%,
        rgba(139, 76, 191, 0.85) 50%,
        rgba(139, 76, 191, 0.7) 100%);
    transform: rotateY(90deg) translateZ(15px);
    border-radius: 0 12px 12px 0;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

.box-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, 
        rgba(139, 76, 191, 0.9) 0%,
        rgba(139, 76, 191, 0.75) 50%,
        rgba(139, 76, 191, 0.6) 100%);
    transform: rotateX(90deg) translateZ(10px);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 100vh;
    padding: 120px 20px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    max-width: 600px;
    margin-right: auto;
    margin-left: 400px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--bg-white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--bg-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--bg-white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg-1);
    opacity: 0.4;
    z-index: 0;
}

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

.about-text .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Indications Section */
.indications {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    position: relative;
    overflow: hidden;
}

.indications-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg-2);
    opacity: 0.5;
    z-index: 0;
}

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

.indications-content {
    max-width: 900px;
    margin: 0 auto;
}

.indications-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.indications-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.indications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.indication-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/* Interactive Section */
.interactive {
    background-color: var(--bg-white);
}

.interactive-content {
    max-width: 700px;
    margin: 0 auto;
}

.assessment-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.assessment-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input[type="number"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input[type="range"] {
    width: 100%;
    margin: 1rem 0;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

#severityValue {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.assessment-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #e8f5e9;
    border-radius: 10px;
    border-right: 4px solid var(--secondary-color);
}

.assessment-result h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.assessment-result .note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Dosage Section */
.dosage {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.dosage-info {
    max-width: 900px;
    margin: 0 auto;
}

.dosage-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.dosage-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.dosage-instructions {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.dosage-instructions h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.dosage-instructions ol {
    padding-right: 1.5rem;
}

.dosage-instructions li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: var(--text-light);
}

.dosage-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.detail-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.detail-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.brochure-download {
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-download:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Side Effects Section */
.side-effects {
    background-color: var(--bg-white);
}

.side-effects-info {
    max-width: 900px;
    margin: 0 auto;
}

.side-effects-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.side-effects-list {
    margin-bottom: 3rem;
}

.side-effect-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.severity {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    height: fit-content;
    flex-shrink: 0;
}

.severity.mild {
    background-color: #fff3cd;
    color: #856404;
}

.effect-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.effect-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.warnings {
    background-color: #fff3cd;
    padding: 2rem;
    border-radius: 15px;
    border-right: 4px solid #ffc107;
}

.warnings h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.warnings ul {
    list-style: none;
    padding-right: 0;
}

.warnings li {
    padding-right: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.warnings li::before {
    content: '⚠️';
    position: absolute;
    right: 0;
}

/* Storage Section */
.storage {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.storage-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.storage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.storage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.storage-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.storage-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    padding-top: 1rem;
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    will-change: transform;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-logo-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.alhavi-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alhavi-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alhavi-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 170, 0.3));
}

.alhavi-text {
    text-align: right;
}

.alhavi-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--bg-white);
    letter-spacing: 2px;
}

.alhavi-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.2rem;
    font-weight: 300;
}

.alhavi-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-bottom .disclaimer {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 1rem auto 0;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Enhanced Parallax Effects */
.parallax-layer {
    will-change: transform;
    backface-visibility: hidden;
}

/* Smooth transitions for parallax elements */
[data-speed] {
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.1s ease-out;
}

/* Glass morphism effect for cards */
.feature-card,
.detail-card,
.storage-item {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover,
.detail-card:hover,
.storage-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(139, 76, 191, 0.15), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

/* Enhanced gradient backgrounds */
.about-bg::before,
.indications-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 76, 191, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-modern);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary);
}

/* Enhanced button styles with gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-modern);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--bg-white);
    border-color: transparent;
}

/* Pulse animation for CTA */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.btn-primary {
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    animation: pulse 2s ease-in-out infinite;
}

/* Modern section dividers */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 170, 0.3) 50%, 
        transparent 100%);
}

/* Enhanced feature cards with gradient borders */
.feature-card {
    position: relative;
    background: var(--bg-white);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    background: var(--gradient-modern);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::after {
    opacity: 0.3;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

/* Modern section titles with gradient text */
.section-title {
    position: relative;
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-modern);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    opacity: 0.3;
    transform: scale(1.05);
}

/* Enhanced hero subtitle */
.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

