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

    body { 
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      min-height: 100vh;
      padding: 20px;
      color: #1e293b;
      line-height: 1.6;
      font-weight: 400;
    }

    .container {
      max-width: 100%;
      margin: 0 auto;
      animation: fadeIn 0.8s ease-out;
    }

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

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

    @keyframes fadeInScale {
      from { 
        opacity: 0; 
        transform: scale(0.95);
      }
      to { 
        opacity: 1; 
        transform: scale(1);
      }
    }

    /* Glass morphism cards */
    .glass-card {
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 16px;
      padding: 32px;
      margin: 24px 0;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.12),
        0 2px 16px rgba(31, 38, 135, 0.08);
      transition: all 0.3s ease;
      animation: fadeInScale 0.6s ease-out;
    }

    .glass-card:hover {
      transform: translateY(-2px);
      box-shadow: 
        0 12px 40px rgba(31, 38, 135, 0.15),
        0 4px 20px rgba(31, 38, 135, 0.1);
    }

    .header {
      text-align: center;
      margin-bottom: 40px;
      padding: 48px 32px;
      background: rgba(255, 255, 255, 0.35);
      backdrop-filter: blur(20px);
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.4);
      box-shadow: 0 16px 48px rgba(31, 38, 135, 0.15);
      animation: slideUp 0.8s ease-out;
    }

    .header h1 {
      font-size: 1.7rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 12px;
      letter-spacing: -0.025em;
    }

    .header p {
      color: #64748b;
      font-size: 1.1rem;
      font-weight: 500;
    }

    /* Search Form */
    .search-form {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .input-group {
      position: relative;
      animation: slideUp 0.6s ease-out;
      animation-fill-mode: both;
    }

    .input-group:nth-child(1) { animation-delay: 0.1s; }
    .input-group:nth-child(2) { animation-delay: 0.2s; }
    .consent-group { animation-delay: 0.3s; }
    .btn-primary { animation-delay: 0.4s; }

    .input-group input {
      width: 100%;
      padding: 18px 20px;
      font-size: 1rem;
      background: rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 12px;
      outline: none;
      color: #1e293b;
      transition: all 0.3s ease;
      font-weight: 400;
    }

    .input-group input::placeholder {
      color: #64748b;
    }

    .input-group input:focus {
      border-color: #3b82f6;
      background: rgba(255, 255, 255, 0.6);
      box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(31, 38, 135, 0.1);
      transform: translateY(-1px);
    }

    .consent-group {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 0.95rem;
      color: #475569;
      padding: 20px;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(8px);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      animation: slideUp 0.6s ease-out;
      animation-fill-mode: both;
    }

    .consent-group input[type="checkbox"] {
      margin-top: 3px;
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      accent-color: #3b82f6;
    }

    .consent-group label {
      line-height: 1.5;
    }

    .btn-primary {
      padding: 18px 28px;
      font-size: 1.1rem;
      font-weight: 600;
      background: rgba(59, 130, 246, 0.9);
      backdrop-filter: blur(8px);
      color: white;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      letter-spacing: 0.025em;
      animation: slideUp 0.6s ease-out;
      animation-fill-mode: both;
      max-width: 300px;
    }

    .btn-primary:hover {
      background: rgba(37, 99, 235, 0.95);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    }

    .btn-secondary {
      padding: 14px 20px;
      font-size: 0.95rem;
      font-weight: 500;
      background: rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(8px);
      color: #475569;
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.8);
      transform: translateY(-1px);
    }

    /* Business Cards */
    .business-card {
      background: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 16px;
      padding: 24px;
      margin: 20px 0;
      display: flex;
      flex-direction: column;
      gap: 20px;
      transition: all 0.4s ease;
      animation: fadeInScale 0.5s ease-out;
    }

    .business-card:hover {
      transform: translateY(-4px);
      background: rgba(255, 255, 255, 0.4);
      box-shadow: 0 16px 48px rgba(31, 38, 135, 0.15);
    }

    .business-card img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 12px;
      align-self: center;
    }

    .business-info {
      text-align: center;
    }

    .business-info h3 {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #1e293b;
      letter-spacing: -0.025em;
    }

    .business-info p {
      margin: 4px 0;
      color: #64748b;
      line-height: 1.5;
    }

    .business-info .category {
      color: #3b82f6;
      font-weight: 600;
      font-style: italic;
    }

    .business-info .rating {
      font-size: 1.1rem;
      font-weight: 600;
      color: #f59e0b;
    }

    /* Analysis Styles */
    .analysis-container {
      animation: fadeIn 0.8s ease-out;
    }

    .analysis-header {
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 32px;
      border-bottom: 1px solid rgba(203, 213, 225, 0.5);
      animation: slideUp 0.6s ease-out;
    }

    .business-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: #1e293b;
      letter-spacing: -0.025em;
    }

    .business-subtitle {
      font-size: 1rem;
      color: #64748b;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .score-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      margin: 32px 0;
      animation: fadeInScale 0.8s ease-out;
      animation-delay: 0.2s;
      animation-fill-mode: both;
    }

    .score-circle {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      font-weight: 700;
      position: relative;
      background: conic-gradient(from 0deg, var(--score-color) calc(var(--score) * 3.6deg), rgba(203, 213, 225, 0.3) 0deg);
      box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    }

    .score-circle::before {
      content: '';
      position: absolute;
      width: 90px;
      height: 90px;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(8px);
      border-radius: 50%;
      z-index: 1;
    }

    .score-circle span {
      position: relative;
      z-index: 2;
      color: #1e293b;
    }

    .score-excellent { --score-color: #10b981; }
    .score-good { --score-color: #f59e0b; }
    .score-average { --score-color: #ef4444; }
    .score-poor { --score-color: #dc2626; }

    .score-text {
      text-align: center;
    }

    .score-text h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #1e293b;
      letter-spacing: -0.025em;
    }

    .score-text p {
      color: #64748b;
      font-size: 0.95rem;
    }

    /* Analysis Sections */
    .analysis-section {
      margin: 32px 0;
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(12px);
      border-radius: 16px;
      padding: 28px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      animation: slideUp 0.6s ease-out;
      animation-fill-mode: both;
    }

    .analysis-section:nth-child(1) { animation-delay: 0.1s; }
    .analysis-section:nth-child(2) { animation-delay: 0.2s; }
    .analysis-section:nth-child(3) { animation-delay: 0.3s; }
    .analysis-section:nth-child(4) { animation-delay: 0.4s; }
    .analysis-section:nth-child(5) { animation-delay: 0.5s; }

    .section-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: #1e293b;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.025em;
    }

    .metric {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 20px;
      margin: 12px 0;
      background: rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(8px);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      transition: all 0.3s ease;
    }

    .metric:hover {
      background: rgba(255, 255, 255, 0.6);
      transform: translateX(4px);
    }

    .metric-name {
      font-weight: 600;
      flex: 1;
      color: #374151;
    }

    .metric-value {
      font-weight: 600;
      white-space: nowrap;
    }

    .status-good { color: #10b981; }
    .status-warning { color: #f59e0b; }
    .status-bad { color: #ef4444; }

    /* Recommendations */
    .recommendations {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .recommendation-item {
      background: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 12px;
      padding: 20px;
      border-left: 4px solid #3b82f6;
      transition: all 0.3s ease;
      animation: slideUp 0.5s ease-out;
      animation-fill-mode: both;
    }

    .recommendation-item:nth-child(1) { animation-delay: 0.1s; }
    .recommendation-item:nth-child(2) { animation-delay: 0.2s; }
    .recommendation-item:nth-child(3) { animation-delay: 0.3s; }
    .recommendation-item:nth-child(4) { animation-delay: 0.4s; }
    .recommendation-item:nth-child(5) { animation-delay: 0.5s; }

    .recommendation-item:hover {
      background: rgba(255, 255, 255, 0.45);
      transform: translateY(-2px);
    }

    .recommendation-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 8px;
    }

    .recommendation-text {
      flex: 1;
      font-weight: 600;
      line-height: 1.5;
      color: #374151;
    }

    .expand-btn {
      background: rgba(59, 130, 246, 0.1);
      backdrop-filter: blur(8px);
      color: #3b82f6;
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 8px;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      flex-shrink: 0;
      font-weight: 500;
    }

    .expand-btn:hover {
      background: rgba(59, 130, 246, 0.15);
      transform: scale(1.05);
    }

    .expand-btn.rotated {
      transform: rotate(180deg);
    }

    .expand-btn.rotated:hover {
      transform: rotate(180deg) scale(1.05);
    }

    .recommendation-details {
      max-height: 0;
      overflow: hidden;
      transition: all 0.4s ease;
      opacity: 0;
    }

    .recommendation-details.expanded {
      max-height: 600px;
      opacity: 1;
      margin-top: 16px;
    }

    .details-content {
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(8px);
      border-radius: 12px;
      padding: 20px;
      border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .details-content h4 {
      color: #3b82f6;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 12px;
      letter-spacing: -0.025em;
    }

    .details-content ol {
      padding-left: 20px;
    }

    .details-content li {
      margin: 8px 0;
      line-height: 1.6;
      color: #374151;
    }

    /* CTA Section */
    .cta-section {
      margin: 40px 0;
      text-align: center;
      padding: 32px;
      background: rgba(59, 130, 246, 0.05);
      backdrop-filter: blur(12px);
      border-radius: 16px;
      border: 1px solid rgba(59, 130, 246, 0.1);
      animation: fadeInScale 0.8s ease-out;
      animation-delay: 0.6s;
      animation-fill-mode: both;
    }

    .cta-section h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: #1e293b;
      letter-spacing: -0.025em;
    }

    .cta-section p {
      color: #64748b;
      margin-bottom: 24px;
      font-size: 1rem;
      line-height: 1.6;
    }

    .cta-btn {
      display: inline-block;
      padding: 16px 32px;
      background: rgba(59, 130, 246, 0.9);
      backdrop-filter: blur(8px);
      color: white;
      text-decoration: none;
      border-radius: 12px;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      letter-spacing: 0.025em;
    }

    .cta-btn:hover {
      background: rgba(37, 99, 235, 0.95);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    }

    /* Opening Hours */
    .hours-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .hour-item {
      background: rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(8px);
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .hour-day {
      font-weight: 600;
      color: #374151;
    }

    .hour-time {
      color: #64748b;
    }

    /* Tags */
    .tags-container {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      background: rgba(59, 130, 246, 0.1);
      backdrop-filter: blur(8px);
      color: #3b82f6;
      padding: 6px 12px;
      border-radius: 16px;
      font-size: 0.85rem;
      font-weight: 500;
      border: 1px solid rgba(59, 130, 246, 0.15);
    }

    /* Back Button */
    .back-btn {
      background: rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(12px);
      color: #64748b;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 12px;
      padding: 14px 20px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-bottom: 24px;
      animation: slideUp 0.5s ease-out;
    }

    .back-btn:hover {
      background: rgba(255, 255, 255, 0.6);
      transform: translateY(-1px);
    }

    /* Utilities */
    .hide { display: none !important; }
    
    .loading {
      text-align: center;
      padding: 40px;
      color: #64748b;
      font-size: 1.1rem;
      font-weight: 500;
    }

    .loading::after {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 2px solid rgba(59, 130, 246, 0.2);
      border-top-color: #3b82f6;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-left: 10px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (min-width: 768px) {
      .container {
        max-width: 700px;
      }

      .business-card {
        flex-direction: row;
        text-align: left;
      }

      .business-card img {
        align-self: flex-start;
      }

      .business-info {
        text-align: left;
      }

      .score-container {
        flex-direction: row;
        justify-content: center;
      }

      .score-text {
        text-align: left;
      }

      .hours-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .container {
        max-width: 900px;
      }
    }

    /* Link styles */
    a {
      color: #3b82f6;
      text-decoration: none;
      transition: all 0.3s ease;
      font-weight: 500;
    }

    a:hover {
      color: #2563eb;
    }