/* 
  ========================================
  GLOBAL VARIABLES - EDIT THESE TO CHANGE COLORS
  ========================================
*/
:root {
    /* PRIMARY COLOR (Blueprint Ink) - Change this HSL value to theme the site */
    /* Examples:
       Blue: 215, 100%, 40%
       Orange: 25, 100%, 50%
       Black: 0, 0%, 20%
       Green: 140, 100%, 30%
    */
    --primary-h: 215;
    --primary-s: 100%;
    --primary-l: 40%;
    
    --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%); /* Very light version for backgrounds */
    --primary-fade: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1); /* Transparent version */

    /* NEUTRAL COLORS */
    --bg-color: #fcfcfc;       /* Main background */
    --text-main: #333333;      /* Main text color */
    --text-muted: #666666;     /* Secondary text color */
    --border-color: #e5e5e5;   /* Border color */
    --card-bg: #ffffff;        /* Card background */
    
    /* FONTS */
    --font-mono: "JetBrains Mono", "Courier New", monospace;
    --font-sans: "Inter", system-ui, sans-serif;
    
    /* SPACING */
    --container-width: 1280px;
    --header-height: 64px;
}

/* 
  ========================================
  RESET & BASE STYLES
  ========================================
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    
    /* Grid Background Pattern */
    background-image: 
      linear-gradient(to right, var(--border-color) 1px, transparent 1px),
      linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 
  ========================================
  UTILITIES
  ========================================
*/
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.font-mono {
    font-family: var(--font-mono);
}

.text-muted {
    color: var(--text-muted);
}

/* 
  ========================================
  HEADER
  ========================================
*/
.site-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(252, 252, 252, 0.8);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 10;
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-box {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: bold;
}

.logo-text {
    font-family: var(--font-mono);
    font-weight: bold;
    letter-spacing: -0.025em;
}

.logo-img {
    width: 150px;
}

.status-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #f97316; /* Orange */
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 
  ========================================
  MAIN CONTENT
  ========================================
*/
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .main-content {
        flex-direction: row;
        gap: 6rem;
    }
}

/* Hero Section */
.hero-section {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.3);
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

@media (min-width: 768px) {
    .main-title {
        font-size: 4rem;
    }
}

.highlight {
    color: var(--primary-color);
}

.description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Technical Specs */
.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 640px) {
    .tech-specs {
        grid-template-columns: repeat(3, 1fr);
    }
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.tech-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-family: var(--font-mono);
    font-weight: bold;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar {
    flex: 1;
    height: 0.5rem;
    background-color: var(--border-color);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
}

.progress-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.desktop-only {
    display: none;
}

@media (min-width: 640px) {
    .desktop-only {
        display: flex;
    }
}

/* 
  ========================================
  CONTACT CARD
  ========================================
*/
.contact-section {
    width: 100%;
    max-width: 400px;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.875rem;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    group: hover;
}

.icon-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s;
}

.contact-item:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
}

.contact-main {
    font-weight: 500;
}

.contact-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.separator {
    height: 1px;
    background-color: var(--border-color);
    width: 100%;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.secure-text {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Decorative Corners */
.corner {
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.5);
}

.corner-tr {
    top: 0;
    right: 0;
    border-bottom: none;
    border-left: none;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-top: none;
    border-right: none;
}

/* Measurement Decoration */
.measurement-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.3);
}

.line {
    height: 1px;
    width: 3rem;
    background-color: currentColor;
}

.measure-text {
    font-family: var(--font-mono);
    font-size: 0.625rem;
}

/* 
  ========================================
  FOOTER
  ========================================
*/
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    background-color: rgba(252, 252, 252, 0.8);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-family: var(--font-mono);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* 
  ========================================
  BACKGROUND ANIMATION
  ========================================
*/
.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.2);
}

.circle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 16rem;
    height: 16rem;
    animation: spin 60s linear infinite;
}

.circle-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    border-style: solid;
    border-color: rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
    animation: spin-reverse 40s linear infinite;
}

.circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border: 1px solid rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.05);
}

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

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
