/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222.2, 84%, 4.9%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222.2, 84%, 4.9%);
  --primary: hsl(210, 100%, 45%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(160, 100%, 35%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 40%, 96.1%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
  --accent: hsl(160, 60%, 94%);
  --accent-foreground: hsl(160, 100%, 25%);
  --border: hsl(214.3, 31.8%, 91.4%);
  --input: hsl(214.3, 31.8%, 91.4%);
  --radius: 0.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(222.2, 84%, 4.9%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(217.2, 32.6%, 17.5%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(210, 100%, 55%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(160, 100%, 45%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(217.2, 32.6%, 17.5%);
    --muted-foreground: hsl(215, 20.2%, 65.1%);
    --accent: hsl(160, 30%, 25%);
    --accent-foreground: hsl(160, 60%, 90%);
  }
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "tnum" 1;
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  padding: 4rem 0;
  text-align: center;
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 32rem;
  margin: 0 auto;
}

/* Main content */
.main {
  padding: 3rem 0;
}

.main-header {
  text-align: center;
  margin-bottom: 3rem;
}

.main-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.main-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.calculators {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card styles */
.card {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px hsla(from var(--primary) h s l / 0.2), 0 0 0 1px var(--border);
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-content {
  padding: 1.5rem;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px);
  background: var(--background);
  color: var(--foreground);
  font-size: 1.125rem;
  transition: border-color 0.2s;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsla(from var(--primary) h s l / 0.2);
}

.result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 0 20px hsla(from var(--secondary) h s l / 0.3);
}

.result-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-foreground);
  margin-bottom: 0.25rem;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-foreground);
}

/* Features section */
.features {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.feature-icon.primary {
  background: hsla(from var(--primary) h s l / 0.1);
  color: var(--primary);
}

.feature-icon.secondary {
  background: hsla(from var(--secondary) h s l / 0.1);
  color: var(--secondary);
}

.feature-icon.accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--muted);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer p {
  color: var(--muted-foreground);
}

/* Icons (using Unicode symbols) */
.icon-calculator::before { content: "🧮"; }
.icon-percent::before { content: "%"; }

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  .input-grid {
    grid-template-columns: 1fr;
  }
  
  .main-header h2 {
    font-size: 1.75rem;
  }
}



/* ... existing styles ... */

/* Navigation */
.nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
}

.nav a {
  color: var(--primary-foreground);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-content a {
  color: var(--primary);
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-accept {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-decline {
  background: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-accept:hover {
  opacity: 0.9;
}

.btn-decline:hover {
  background: var(--muted);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  padding: 1rem;
}

.modal {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 600px;
  max-height: 80vh;
  width: 100%;
  overflow-y: auto;
  display: none;
}

.modal.active {
  display: block;
}

.modal-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: var(--foreground);
}

.modal-content {
  padding: 1.5rem;
}

.modal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.modal-content h3:first-child {
  margin-top: 0;
}

.modal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-content a {
  color: var(--primary);
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

/* Footer updates */
.footer-content {
  text-align: center;
}

.footer-links {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--foreground);
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
  .nav {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
}











.banner-container {
            max-width: 1200px;
            width: 100%;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.8s ease-out;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .banner-container:hover {
            transform: scale(1.02);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .banner-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 40px;
            gap: 40px;
            position: relative;
            overflow: hidden;
        }

        .banner-content::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.5;
            }
            50% {
                transform: scale(1.1);
                opacity: 0.3;
            }
        }

        .product-image {
            flex: 1;
            min-width: 280px;
            position: relative;
            z-index: 1;
        }

        .product-image-wrapper {
            position: relative;
            border-radius: 20px;
            padding: 0px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 350px;
            overflow: hidden;
        }

        .fan-visual {
            width: auto;
            max-width: 100%;
            object-fit: contain;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .air-flow {
            position: absolute;
            left: 50%;
            top: 30%;
            transform: translateX(-50%);
            width: 200px;
            height: 150px;
        }

        .air-wave {
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, rgba(59, 130, 246, 0.6) 0%, transparent 100%);
            animation: airFlow 2s linear infinite;
        }

        .air-wave:nth-child(2) {
            animation-delay: 0.5s;
            top: 30%;
        }

        .air-wave:nth-child(3) {
            animation-delay: 1s;
            top: 70%;
        }

        @keyframes airFlow {
            0% {
                left: 100%;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                left: 250%;
                opacity: 0;
            }
        }

        .product-info {
            flex: 1.5;
            min-width: 300px;
            z-index: 1;
        }

        .badge-row {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .badge {
            background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            animation: glow 2s ease-in-out infinite;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .badge:hover {
            transform: scale(1.1);
        }

        @keyframes glow {
            0%, 100% {
                box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
            }
            50% {
                box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
            }
        }

        .badge.bestseller {
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        }

        h1 {
            color: #f1f5f9;
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 15px;
            line-height: 1.2;
            background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            color: #94a3b8;
            font-size: 18px;
            margin-bottom: 30px;
            font-weight: 400;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .feature {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #e2e8f0;
            font-size: 14px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .feature:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .feature-icon::after {
            content: '✓';
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

        .price-section {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .price-wrapper {
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        .old-price {
            color: #64748b;
            font-size: 20px;
            text-decoration: line-through;
            opacity: 0.7;
        }

        .current-price {
            color: #10b981;
            font-size: 36px;
            font-weight: 800;
            animation: priceHighlight 2s ease-in-out infinite;
        }

        @keyframes priceHighlight {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .discount-tag {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 25px;
            font-weight: 700;
            font-size: 16px;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        .cta-button {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
            color: white;
            padding: 18px 40px;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
            text-transform: uppercase;
            letter-spacing: 1px;
            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.5s ease;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
        }

        .rating-section {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
            color: #cbd5e1;
            font-size: 14px;
        }

        .stars {
            color: #fbbf24;
            font-size: 18px;
            letter-spacing: 2px;
        }

        @media (max-width: 768px) {
            .banner-content {
                padding: 30px 20px;
            }

            h1 {
                font-size: 32px;
            }

            .current-price {
                font-size: 28px;
            }

            .features {
                grid-template-columns: 1fr;
            }
        }

        .summer-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 40px;
            animation: rotate 10s linear infinite;
            opacity: 0.3;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }