/* Reset & Base */
:root {
    /* Colors - Dark Mode (Default) */
    --pt-base: #0F172A;
    /* Slate 900 */
    --pt-surface: #1E293B;
    /* Slate 800 */
    --pt-surface-2: #334155;
    /* Slate 700 */

    --pt-text-primary: #F8FAFC;
    /* Slate 50 */
    --pt-text-secondary: #94A3B8;
    /* Slate 400 */
    --pt-text-disabled: #64748B;
    /* Slate 500 */

    /* Brand Colors */
    --pt-brand-primary: #2DD4BF;
    /* Teal 400 - Vibrant Tech Teal */
    --pt-brand-secondary: #64748B;
    /* Slate 500 - Sober Secondary */

    --pt-action-primary: var(--pt-brand-primary);
    --pt-action-text: #0F172A;
    /* Dark text on bright teal */

    --pt-intent-success: #10B981;
    /* Emerald 500 */
    --pt-intent-warning: #F59E0B;
    /* Amber 500 */
    --pt-intent-danger: #EF4444;
    /* Red 500 */

    --pt-border: #334155;
    /* Slate 700 */
    --pt-divider: #1E293B;
    /* Slate 800 */

    /* Typography */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
    --pt-base: #FFFFFF;
    /* White */
    --pt-surface: #F8FAFC;
    /* Slate 50 */
    --pt-surface-2: #F1F5F9;
    /* Slate 100 */

    --pt-text-primary: #0F172A;
    /* Slate 900 */
    --pt-text-secondary: #64748B;
    /* Slate 500 */
    --pt-text-disabled: #94A3B8;
    /* Slate 400 */

    /* Brand Colors */
    --pt-brand-primary: #0D9488;
    /* Teal 600 - Professional Teal */
    --pt-brand-secondary: #94A3B8;
    /* Slate 400 */

    --pt-action-primary: var(--pt-brand-primary);
    --pt-action-text: #FFFFFF;

    --pt-border: #E2E8F0;
    /* Slate 200 */
    --pt-divider: #F1F5F9;
    /* Slate 100 */
}

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

body {
    background-color: var(--pt-base);
    color: var(--pt-text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s, color 0.2s;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 100vh;
    border-left: 1px solid var(--pt-border);
    border-right: 1px solid var(--pt-border);
    background-color: var(--pt-base);
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--pt-border);
    margin-bottom: 60px;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--pt-text-primary);
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 120px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

#hero-canvas {
    flex: 1;
    min-width: 400px;
    height: 500px;
    position: relative;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--pt-brand-primary);
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: block;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -1px;
    color: var(--pt-text-primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--pt-text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        gap: 40px;
    }
    
    #hero-canvas {
        min-width: 100%;
        height: 300px;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

/* Section Common */
.section {
    margin-bottom: 120px;
}

.section-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--pt-border);
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--pt-text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Cards */
.pt-card {
    background-color: var(--pt-surface);
    border: 1px solid var(--pt-border);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.pt-card:hover {
    transform: translateY(-2px);
    border-color: var(--pt-brand-primary);
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--pt-border);
    background-color: var(--pt-surface-2);
}

.card-title {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--pt-text-primary);
    letter-spacing: 0.5px;
}

.card-body {
    padding: 24px;
    flex: 1;
}

.card-text {
    font-size: 15px;
    color: var(--pt-text-secondary);
    margin-bottom: 24px;
}

.card-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--pt-brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
}

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

.pt-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    background-color: var(--pt-surface);
    border: 1px solid var(--pt-border);
    color: var(--pt-text-secondary);
    font-family: var(--font-mono);
    transition: all 0.2s;
}

.pt-tag:hover {
    border-color: var(--pt-brand-primary);
    color: var(--pt-brand-primary);
    background-color: var(--pt-surface-2);
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 60px 0;
    border-top: 1px solid var(--pt-border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--pt-text-disabled);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-address {
    font-size: 14px;
    color: var(--pt-text-secondary);
    line-height: 1.6;
}

.footer-brand {
    font-weight: 700;
    color: var(--pt-text-primary);
    margin-bottom: 8px;
    display: block;
}

/* Buttons */
.pt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    background-color: var(--pt-surface);
    color: var(--pt-text-primary);
    border: 1px solid var(--pt-border);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.1s;
    border-radius: 4px;
}

.pt-button:hover {
    background-color: var(--pt-surface-2);
    border-color: var(--pt-text-secondary);
}

.pt-button.pt-minimal {
    background: none;
    border-color: transparent;
}

.pt-button.pt-minimal:hover {
    background-color: var(--pt-surface-2);
}

.icon {
    margin-right: 8px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pt-text-secondary);
}

.form-group input,
.form-group textarea {
    background-color: var(--pt-surface);
    border: 1px solid var(--pt-border);
    border-radius: 4px;
    padding: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--pt-text-primary);
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pt-brand-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .pt-button {
    align-self: flex-start;
    background-color: var(--pt-brand-primary);
    color: var(--pt-action-text);
    border-color: var(--pt-brand-primary);
    font-weight: 600;
}

.contact-form .pt-button:hover {
    opacity: 0.9;
    background-color: var(--pt-brand-primary);
    border-color: var(--pt-brand-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .app-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}