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

body {
    font-family: 'Inter', sans-serif; /* Using a common sans-serif font */
    background-color: #0a0a0a; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container */
.container {
    width: 100%;
    max-width: 1440px; /* Max width for content */
    margin: 0 auto;
    padding: 0 20px; /* Padding on the sides */
    position: relative; /* For grid context */
    z-index: 1; /* Ensure content is above grid lines */
}

/* Site Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.site-header .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #00f0a0; /* Accent color for logo */
}

.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.site-header nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.site-header nav a:hover {
    color: #00f0a0;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    text-align: center;
}

.hero {
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 900; /* Extra bold for emphasis */
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase; /* 'Architectural Scale' */
}

.hero-subtitle {
    font-size: 1.5em;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout Styles */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12-column grid */
    gap: 30px; /* Space between grid items */
    padding: 30px 0;
    position: relative; /* For absolute positioning of grid lines */
    border: 2px solid rgba(0, 240, 160, 0.3); /* Structural border around the grid */
    background-color: rgba(10, 10, 10, 0.6); /* Slightly transparent background */
    box-shadow: 0 0 20px rgba(0, 240, 160, 0.2); /* Subtle glow */
}

/* Heavy Grid Lines */
.grid-layout::before,
.grid-layout::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px; /* Thickness of the grid lines */
    background-color: rgba(0, 240, 160, 0.4); /* Accent color for lines */
    z-index: 0; /* Behind content */
}

/* Vertical Grid Lines */
.grid-layout::before {
    left: calc(100% / 12); /* Position for the 2nd column line */
}
/* Add more vertical lines as needed */
/* This approach might become cumbersome for many columns. A better way is to use CSS Grid's actual lines or draw them dynamically. For a Vercel/Resend style, often the grid is more a visual guide than explicit lines everywhere. */
/* Let's simulate a few key lines for "heavy grid lines" aesthetic */
/* The following lines are illustrative and might need adjustment based on desired density */
.grid-layout::before,
.grid-layout::after,
.grid-layout > .grid-item:nth-child(2)::before, /* Example: Grid line before item 2 */
.grid-layout > .grid-item:nth-child(5)::before /* Example: Grid line before item 5 */
{
 animation: blink-grid 15s infinite linear; /* Subtle animation */
}
.grid-layout::before { /* Leftmost conceptual line of the grid wrapper */
    left: 0; /* Initial line */
    background-color: rgba(0, 240, 160, 0.5);
}
.grid-layout::after { /* Conceptually, a right border */
    right: 0;
    background-color: rgba(0, 240, 160, 0.5);
}

/* Specific column lines */
/* This is a simplified representation. For a true Resend/Vercel style, the grid is often more conceptual or drawn with pseudo-elements on container/items, or even SVG. */
.grid-layout .grid-item {
    position: relative;
    border: 1px solid rgba(0, 240, 160, 0.1); /* Subtle border on items */
    background-color: rgba(20, 20, 20, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    padding: 20px; /* Padding within grid items */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.grid-layout .grid-item:hover {
    background-color: rgba(30, 30, 30, 0.6);
    border-color: rgba(0, 240, 160, 0.3);
}

/* Technical Schematic Look - Adding subtle effects and borders */
.grid-layout {
    /* We've already added structural borders and background. */
    /* For a schematic look, we can add more precise visual cues. */
    /* Consider adding a subtle grid overlay using background-image */
    background-image:
        linear-gradient(to right, rgba(0, 240, 160, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 160, 0.1) 1px, transparent 1px);
    background-size: 30px 30px; /* Size of the grid cells */
    background-repeat: repeat;
}

/* Enhancing Structural Borders */
.site-header, .site-footer, .hero, .grid-layout {
    border-image: linear-gradient(to right, rgba(0, 240, 160, 0.5), rgba(0, 240, 160, 0.8), rgba(0, 240, 160, 0.5)) 1;
    border-style: solid;
    border-width: 1px; /* Thin border for most, main grid-layout has thicker */
}

.grid-layout {
    border-width: 2px; /* Thicker border for the main grid area */
}

/* 'Architectural Scale' focus */
/* This is achieved through typography, layout, and the prominent grid. */
/* Larger font sizes, spacious layout, and the heavy grid lines contribute to this. */
/* Let's add a subtle animation to the grid lines to mimic internal schematics */

@keyframes blink-grid {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.2em;
    }
    .grid-layout {
        grid-template-columns: repeat(6, 1fr); /* 6 columns on medium screens */
        gap: 20px;
    }
    .site-header nav ul {
        gap: 10px;
    }
    .site-header .logo {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .grid-layout {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on small screens */
    }
    .site-header {
        flex-direction: column;
        gap: 15px;
    }
    .site-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Specific styling for a more technical schematic look */
.grid-layout .grid-item {
    font-family: 'Roboto Mono', monospace; /* Monospaced font for technical feel */
    color: #00f0a0; /* Accent color for item text */
    letter-spacing: 1px;
}

/* Adding more explicit grid lines using pseudo-elements on items for detail */
/* This requires more specific DOM structure or careful CSS. */
/* For this example, we'll use the .grid-layout::before/after as conceptual lines and rely on background-image for the finer grid. */

/* The heavy grid lines are best represented by the main .grid-layout border and the subtle background-image grid. */
/* A more direct Resend/Vercel approach often uses borders around sections and a clear visual hierarchy within a grid. */

/* Let's refine the main grid border for the 'heavy' feel */
.grid-layout {
    border: 3px solid rgba(0, 240, 160, 0.6); /* Thicker, more prominent border */
    box-shadow: 0 0 30px rgba(0, 240, 160, 0.3), 0 0 0 1px rgba(0, 240, 160, 0.2); /* Stronger glow and outline */
}

/* Adding a subtle animation to the structural border as well */
.grid-layout {
    animation: pulse-border 10s infinite ease-in-out;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 30px rgba(0, 240, 160, 0.3), 0 0 0 1px rgba(0, 240, 160, 0.2); }
    50% { box-shadow: 0 0 50px rgba(0, 240, 160, 0.5), 0 0 0 2px rgba(0, 240, 160, 0.4); }
    100% { box-shadow: 0 0 30px rgba(0, 240, 160, 0.3), 0 0 0 1px rgba(0, 240, 160, 0.2); }
}

/* Final touch for schematic look: a subtle, almost blueprint-like background subtle texture */
body {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><defs><pattern id="grid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="rgba(0, 240, 160, 0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
}

/* Overlay for the grid structure */
.grid-layout {
    position: relative;
    z-index: 10; /* Ensure it's above the body background grid */
}

.grid-layout::before, .grid-layout::after {
    /* Removed specific positioning for :before/:after and rely on background-image for grid */
    /* These can be used for specific highlight lines or borders if needed */
}

/* More specific grid item styling for schematic */
.grid-layout .grid-item {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(0, 240, 160, 0.15); /* Finer border for items */
    background-color: rgba(15, 15, 15, 0.5);
    box-shadow: inset 0 0 10px rgba(0, 240, 160, 0.1); /* Inner glow */
}

/* Refined structure and clear lines for "Architectural Scale" */
/* The overall layout uses a 12-column grid. */
/* The 'heavy grid lines' are represented by the main border of .grid-layout and the subtle background-image grid. */
/* A true direct mimic of Resend/Vercel might use adjacent divs with borders or svgs. */
/* This CSS focuses on structural borders, a dark/technical theme, and a prominent grid visual. */
