/* =====================
   GLOBAL & BASE STYLES
======================== */
body {
   margin: 0;
   padding: 0;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
   background-color: var(--bg-main);
}

/* =====================
   UNIFIED CARD COMPONENTS
======================== */
.error-card,
.home-card {
   background: var(--bg-card);
   border-radius: 12px;
   text-align: center;
   width: 90%;
   padding: 40px;
}

.error-card {
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
   max-width: 400px;
   padding: 40px 30px;
}

.home-card {
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
   max-width: 500px;
}

.login-card {
   background: var(--bg-card);
   border-radius: 16px;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
   display: flex;
   overflow: hidden;
   max-width: 800px;
   width: 90%;
   min-height: 480px;
}

/* =====================
   LAYOUT PANELS & LOGO
======================== */
.left-panel {
   flex: 1;
   background-color: var(--theme-orange-light);
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   border-right: 1px solid #eaeaea;
}

.right-panel {
   flex: 1;
   padding: 40px 50px;
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.logo-container {
   text-align: center;
   margin-bottom: 25px;
}

.logo-container img {
   height: 45px;
   object-fit: contain;
}

.logo-container p {
   color: var(--text-muted);
   font-size: 14px;
   margin: 8px 0 0 0;
}

/* =====================
   TYPOGRAPHY & TAGS
======================== */
h3.login-title {
   color: var(--text-dark);
   margin: 0 0 20px 0;
   font-size: 22px;
   text-align: center;
}

.error-card .logo {
   color: var(--theme-orange);
   font-size: 26px;
   font-weight: bold;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.error-card .title {
   color: var(--text-dark);
   font-size: 24px;
   font-weight: bold;
   margin-bottom: 15px;
}

.error-card .message {
   color: var(--text-muted);
   font-size: 15px;
   line-height: 1.5;
}

.error-card .message p {
   margin: 5px 0;
}

.status-badge {
   display: inline-block;
   padding: 10px 20px;
   background: #eef2ff;
   color: #4f46e5;
   border-radius: 8px;
   font-weight: 500;
   border: 1px solid #c7d2fe;
}

/* =====================
   FORM ELEMENTS
======================== */
.input-group {
   margin-bottom: 15px;
}

.input-group input {
   width: 100%;
   padding: 12px 15px;
   border: 1px solid #ccc;
   border-radius: 8px;
   font-size: 15px;
   box-sizing: border-box;
   outline: none;
   transition: border-color 0.2s;
}

.input-group input:focus {
   border-color: var(--theme-orange);
}

.submit-btn {
   width: 100%;
   padding: 12px;
   font-size: 16px;
   background-color: var(--theme-orange);
   color: var(--text-light);
   border: none;
   border-radius: 8px;
   cursor: pointer;
   font-weight: bold;
   transition: background-color 0.2s;
   margin-top: 10px;
}

.submit-btn:hover {
   background-color: var(--theme-orange-hover);
}

/* =====================
   SOCIAL LINKS
======================== */
.social-links {
   display: flex;
   justify-content: space-between;
   margin-top: 25px;
   padding-top: 20px;
   border-top: 1px solid #eaeaea;
}

.social-link {
   color: var(--text-muted);
   text-decoration: none;
   font-size: 14px;
   font-weight: 500;
   transition: color 0.2s;
}

.social-link:hover {
   color: var(--theme-orange);
}

/* =====================
   RESPONSIVE QUERIES
======================== */
@media (max-width: 768px) {
   .login-card {
      flex-direction: column;
   }

   .left-panel {
      min-height: 200px;
   }

   .right-panel {
      padding: 30px 20px;
   }
}

/* =====================
   NEW HERO WIREFRAME DESIGN
======================== */
body.home-page {
   display: block;
   /* Overrides the center flex from default body */
   margin: 0;
   padding: 0;
   font-family: 'Outfit', sans-serif;
   background-color: var(--bg-main);
   background-image: radial-gradient(circle at top right, rgba(111, 66, 193, 0.4) 0%, transparent 40%),
      radial-gradient(circle at bottom left, rgba(89, 53, 154, 0.4) 0%, transparent 40%);
   background-attachment: fixed;
   color: #ffffff;
   min-height: 100vh;
}

.home-page .page-container {
   max-width: 1300px;
   margin: 0 auto;
   padding: 30px 50px;
}

/* Header */
.home-page .top-nav {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 20px;
}

.home-page .wire-logo-box {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 10px 0;
   background: transparent;
   border: none;
   box-shadow: none;
}

.home-page .wire-logo-img {
   height: 40px;
   object-fit: contain;
}

.home-page .wire-logo-text {
   font-weight: 700;
   font-size: 20px;
   letter-spacing: 0.5px;
   color: #ffffff;
}

.home-page .wire-menu-pill {
   display: flex;
   align-items: center;
   gap: 30px;
   padding: 12px 35px;
   background: rgba(255, 255, 255, 0.05);
   border: 2px solid rgba(255, 255, 255, 0.2);
   border-radius: 40px;
   /* Highly rounded pill shape */
   backdrop-filter: blur(10px);
}

.home-page .wire-nav-link {
   color: #ffffff;
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s;
   text-transform: capitalize;
}

.home-page .wire-nav-link:hover {
   color: #c084fc;
}

/* Hero Section */
.home-page .hero-section {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 60px;
   margin-top: -30px;
}

.home-page .hero-left-content {
   flex: 1;
   max-width: 550px;
   margin-top: 30px;
}

.home-page .hero-main-title {
   font-size: 54px;
   font-weight: 800;
   margin: 0 0 20px 0;
   line-height: 1.15;
   background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 100%);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
}

.home-page .hero-sub-title {
   font-size: 20px;
   color: rgba(255, 255, 255, 0.75);
   line-height: 1.6;
   margin: 0 0 45px 0;
}

.home-page .hero-button-group {
   display: flex;
   gap: 20px;
}

.home-page .wire-btn {
   padding: 15px 35px;
   font-size: 16px;
   font-weight: 600;
   border-radius: 12px;
   text-decoration: none;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   text-transform: capitalize;
}

.home-page .wire-btn-primary {
   background: var(--theme-orange);
   color: #ffffff;
   box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
   border: 1px solid var(--theme-orange);
}

.home-page .wire-btn-primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 25px rgba(111, 66, 193, 0.6);
   background: var(--theme-orange-hover);
}

.home-page .wire-btn-secondary {
   background: transparent;
   color: #ffffff;
   border: 2px solid rgba(255, 255, 255, 0.3);
}

.home-page .wire-btn-secondary:hover {
   background: rgba(255, 255, 255, 0.1);
   border-color: rgba(255, 255, 255, 0.6);
   transform: translateY(-3px);
}

.home-page .hero-right-lottie {
   flex: 1;
   display: flex;
   justify-content: center;
   align-items: center;
   background: transparent;
   border: none;
   padding: 40px;
   min-height: 400px;
   box-shadow: none;
   backdrop-filter: none;
   position: relative;
}

.home-page .hero-right-lottie::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 400px;
   height: 400px;
   background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
   filter: blur(40px);
   z-index: -1;
   border-radius: 50%;
}



.home-page .lottie-element {
   width: 100%;
   max-width: 450px;
   height: auto;
}

/* Responsive */
@media (max-width: 900px) {
   .home-page .hero-section {
      flex-direction: column;
      text-align: center;
   }

   .home-page .hero-left-content {
      margin-bottom: 40px;
   }

   .home-page .hero-button-group {
      justify-content: center;
   }

   .home-page .top-nav {
      flex-direction: column;
      gap: 20px;
   }
}

/* =====================
   ADDITIONAL SECTIONS
======================== */
.section-title {
   font-size: 36px;
   font-weight: 700;
   text-align: center;
   margin-bottom: 50px;
   color: #ffffff;
}

/* Features Section */
.features-section {
   padding: 80px 0;
   margin-top: 40px;
}

.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
}

.feature-card {
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 20px;
   padding: 40px 30px;
   text-align: center;
   transition: transform 0.3s, background 0.3s;
   backdrop-filter: blur(10px);
}

.feature-card:hover {
   transform: translateY(-10px);
   background: rgba(255, 255, 255, 0.1);
   border-color: rgba(168, 85, 247, 0.5);
}

.feature-icon {
   font-size: 48px;
   margin-bottom: 20px;
}

.feature-card h3 {
   font-size: 24px;
   margin-bottom: 15px;
   color: #ffffff;
}

.feature-card p {
   color: rgba(255, 255, 255, 0.7);
   font-size: 16px;
   line-height: 1.6;
   margin: 0;
}

/* Integration Section */
.integration-section {
   padding: 80px 0;
   text-align: center;
}

.integration-layout {
   display: flex;
   justify-content: space-between;
   align-items: center;
   max-width: 1100px;
   margin: 40px auto 0 auto;
   gap: 50px;
}

.integration-lottie {
   flex: 1;
   display: flex;
   justify-content: center;
   align-items: center;
}

.integration-sub {
   color: rgba(255, 255, 255, 0.7);
   font-size: 18px;
   margin-bottom: 40px;
   line-height: 1.6;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.code-block {
   flex: 1;
   background: #1e1e1e;
   border-radius: 12px;
   padding: 24px;
   text-align: left;
   overflow-x: auto;
   border: 1px solid rgba(255, 255, 255, 0.1);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   width: 100%;
}

.code-block pre {
   margin: 0;
   font-family: 'Consolas', 'Monaco', monospace;
   font-size: 15px;
   color: #e0e0e0;
}

@media (max-width: 900px) {
   .integration-layout {
      flex-direction: column;
   }
}

/* Tools Section */
.tools-section {
   padding: 80px 0;
}

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

.tool-item {
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 12px;
   padding: 25px;
   backdrop-filter: blur(5px);
   text-align: left;
   transition: transform 0.3s;
}

.tool-item:hover {
   transform: translateY(-5px);
   border-color: rgba(168, 85, 247, 0.5);
}

.tool-name {
   margin-bottom: 10px;
}

.tool-name code {
   background: rgba(168, 85, 247, 0.2);
   color: #e8b0ff;
   padding: 5px 10px;
   border-radius: 6px;
   font-family: 'Consolas', 'Monaco', monospace;
   font-size: 15px;
   font-weight: 600;
}

.tool-desc {
   color: rgba(255, 255, 255, 0.7);
   font-size: 15px;
   line-height: 1.6;
   margin: 0;
   margin-top: 15px;
}

/* Footer */
.app-footer {
   padding: 60px 0 20px 0;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   margin-top: 60px;
}

.footer-content {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 40px;
   margin-bottom: 40px;
}

.footer-col {
   flex: 1;
   min-width: 200px;
}

.footer-brand {
   font-size: 24px;
   font-weight: 700;
   margin: 0 0 15px 0;
   color: #ffffff;
   background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 100%);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
}

.footer-desc {
   color: rgba(255, 255, 255, 0.6);
   font-size: 15px;
   line-height: 1.6;
   margin: 0;
   max-width: 300px;
}

.footer-heading {
   font-size: 18px;
   font-weight: 600;
   margin: 0 0 20px 0;
   color: #ffffff;
}

.footer-link {
   display: block;
   color: rgba(255, 255, 255, 0.6);
   text-decoration: none;
   margin-bottom: 12px;
   font-size: 15px;
   transition: color 0.3s;
}

.footer-link:hover {
   color: #c084fc;
}

.footer-copyright {
   text-align: center;
   padding-top: 20px;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   color: rgba(255, 255, 255, 0.4);
   font-size: 14px;
}

.footer-copyright p {
   margin: 0;
}