
    :root {
      --primary: #4449A6;
      --secondary: #6C63FF;
      --accent: #FF6584;
      --light: #F5F7FF;
      --dark: #2D3748;
      --success: #4CAF50;
      --warning: #FF9800;
      --error: #F44336;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
      min-height: 100vh;
      color: var(--dark);
    }
    
    .navbar {
      background: white;
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-container {
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .hero-section {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      color: white;
      border-radius: 20px;
      padding: 3rem 2rem;
      margin: 2rem 0;
      box-shadow: 0 10px 30px rgba(68, 73, 166, 0.3);
      position: relative;
      overflow: hidden;
    }
    
    .hero-section::before {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      top: -100px;
      right: -100px;
    }
    
    .hero-section::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      bottom: -80px;
      left: -80px;
    }
    
    .heading-main {
      font-weight: 800;
      font-size: 2.8rem;
      margin-bottom: 1rem;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .subheading {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 2rem;
    }
    
    .upload-container {
      background: white;
      border-radius: 15px;
      padding: 2.5rem;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
      margin-bottom: 2rem;
    }
    
    .upload-area {
      border: 3px dashed #E2E8F0;
      border-radius: 12px;
      padding: 3rem 2rem;
      text-align: center;
      transition: all 0.3s ease;
      cursor: pointer;
      background: #F8FAFC;
    }
    
    .upload-area:hover, .upload-area.dragover {
      border-color: var(--secondary);
      background: rgba(108, 99, 255, 0.05);
    }
    
    .upload-icon {
      font-size: 4rem;
      color: var(--secondary);
      margin-bottom: 1rem;
    }
    
    .upload-text {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    
    .upload-subtext {
      color: #718096;
      margin-bottom: 1.5rem;
    }
    
    .btn-primary-custom {
      background: var(--secondary);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 0.8rem 2rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    }
    
    .btn-primary-custom:hover {
      background: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    }
    
    .file-preview {
      display: none;
      margin-top: 2rem;
    }
    
    .file-item {
      display: flex;
      align-items: center;
      background: #F8FAFC;
      border-radius: 10px;
      padding: 1rem 1.5rem;
      margin-bottom: 1rem;
      border-left: 4px solid var(--secondary);
    }
    
    .file-icon {
      font-size: 1.8rem;
      color: var(--error);
      margin-right: 1rem;
    }
    
    .file-info {
      flex-grow: 1;
    }
    
    .file-name {
      font-weight: 600;
      margin-bottom: 0.2rem;
    }
    
    .file-size {
      color: #718096;
      font-size: 0.9rem;
    }
    
    .file-remove {
      background: none;
      border: none;
      color: var(--error);
      font-size: 1.2rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .file-remove:hover {
      transform: scale(1.2);
    }
    
    .rotation-controls {
      background: white;
      border-radius: 15px;
      padding: 2rem;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
      margin-bottom: 2rem;
      display: none;
    }
    
    .controls-title {
      font-weight: 700;
      font-size: 1.3rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
    }
    
    .rotation-options {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    
    .rotation-option {
      border: 2px solid #E2E8F0;
      border-radius: 10px;
      padding: 1.5rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .rotation-option:hover {
      border-color: var(--secondary);
      transform: translateY(-3px);
    }
    
    .rotation-option.active {
      border-color: var(--secondary);
      background: rgba(108, 99, 255, 0.1);
    }
    
    .rotation-icon {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: var(--secondary);
    }
    
    .rotation-name {
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    
    .rotation-desc {
      color: #718096;
      font-size: 0.9rem;
    }
    
    .action-container {
      text-align: center;
      margin: 2rem 0;
    }
    
    .btn-rotate {
      background: var(--accent);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 1rem 3rem;
      font-size: 1.2rem;
      font-weight: 700;
      transition: all 0.3s ease;
      box-shadow: 0 5px 20px rgba(255, 101, 132, 0.4);
    }
    
    .btn-rotate:hover {
      background: #ff4d6d;
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(255, 101, 132, 0.5);
    }
    
    .btn-rotate:disabled {
      background: #CBD5E0;
      box-shadow: none;
      transform: none;
      cursor: not-allowed;
    }
    
    .processing-container {
      display: none;
      background: white;
      border-radius: 15px;
      padding: 2.5rem;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
      margin: 2rem 0;
      text-align: center;
    }
    
    .processing-title {
      font-weight: 700;
      font-size: 1.3rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
    }
    
    .progress-bar-container {
      height: 10px;
      background: #E2E8F0;
      border-radius: 5px;
      margin-bottom: 1rem;
      overflow: hidden;
    }
    
    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--secondary), var(--accent));
      border-radius: 5px;
      width: 0%;
      transition: width 0.5s ease;
    }
    
    .results-container {
      display: none;
      background: white;
      border-radius: 15px;
      padding: 2.5rem;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
      margin: 2rem 0;
    }
    
    .results-title {
      font-weight: 700;
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
      text-align: center;
    }
    
    .result-item {
      background: #F8FAFC;
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
      border-left: 4px solid var(--secondary);
    }
    
    .result-header {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
    }
    
    .result-icon {
      font-size: 2.5rem;
      color: var(--success);
      margin-right: 1.5rem;
    }
    
    .result-info {
      flex-grow: 1;
    }
    
    .result-name {
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    
    .result-actions {
      display: flex;
      gap: 1rem;
    }
    
    .btn-download {
      background: var(--success);
      color: white;
      border: none;
      border-radius: 8px;
      padding: 0.7rem 1.5rem;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .btn-download:hover {
      background: #43A047;
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
    }
    
    .features-section {
      margin: 4rem 0;
    }
    
    .section-title {
      text-align: center;
      font-weight: 700;
      font-size: 2rem;
      margin-bottom: 3rem;
      color: var(--primary);
    }
    
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }
    
    .feature-card {
      background: white;
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }
    
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .feature-icon {
      font-size: 2.5rem;
      color: var(--secondary);
      margin-bottom: 1.5rem;
    }
    
    .feature-title {
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--dark);
    }
    
    .feature-desc {
      color: #718096;
      line-height: 1.6;
    }
    
    @media (max-width: 768px) {
      .heading-main {
        font-size: 2.2rem;
      }
      
      .upload-container, .rotation-controls, .results-container {
        padding: 1.5rem;
      }
      
      .rotation-options {
        grid-template-columns: 1fr;
      }
      
      .result-actions {
        flex-direction: column;
      }
    }
 