/* Reset e Cores */
:root {
    --ps-blue: #31a8ff;
    --ps-dark: #001e36;
    --dark-bg: #1e1e1e;
    --panel-bg: #323232;
    --darker-panel: #2a2a2a;
    --text-light: #f0f0f0;
    --text-grey: #cccccc;
    --accent: #00d4ff;
    --highlight: #ffffff;
    --purple: #9d6beb;
    --orange: #ffa500;
    --gradient-ps: linear-gradient(135deg, #31a8ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    --shadow-glow: 0 0 30px rgba(49, 168, 255, 0.3);
    --shadow-panel: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-grey);
    line-height: 1.7;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.main-header {
    background-color: var(--panel-bg);
    padding: 18px 0;
    border-bottom: 2px solid #444;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.ps-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-ps);
    color: var(--ps-dark);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 24px;
    box-shadow: var(--shadow-glow);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 40px rgba(49, 168, 255, 0.6); }
}

.logo h1 {
    font-size: 22px;
    color: var(--highlight);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-ps);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--ps-blue);
}

.btn-highlight {
    background: var(--gradient-ps);
    color: var(--ps-dark) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(49, 168, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-highlight::after {
    display: none;
}

.btn-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(49, 168, 255, 0.6);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(49, 168, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h2 {
    font-size: 62px;
    color: var(--highlight);
    margin-bottom: 30px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(49, 168, 255, 0.5);
}

.hero-text h2 span {
    background: var(--gradient-ps);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.8;
    color: #ccc;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-ps);
    color: var(--ps-dark);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(49, 168, 255, 0.6);
}

/* Fake Window Visual */
.fake-window {
    background-color: var(--panel-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    border: 2px solid #444;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.window-bar {
    background: var(--darker-panel);
    padding: 12px 20px;
    font-size: 13px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.window-bar::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ps-blue);
    box-shadow: var(--shadow-glow);
}

.window-content {
    height: 380px;
    display: flex;
    background: #252525;
}

.layer-panel {
    width: 100px;
    border-right: 1px solid #444;
    padding: 15px;
    font-size: 11px;
    color: #888;
    background: var(--darker-panel);
}

.layer-item {
    padding: 8px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid #333;
}

.canvas-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        linear-gradient(45deg, #ccc 25%, transparent 25%), 
        linear-gradient(-45deg, #ccc 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #ccc 75%), 
        linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #fff;
    color: var(--ps-blue);
    font-weight: 900;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(49, 168, 255, 0.8);
}

/* Steps */
.steps-section {
    padding: 100px 0;
    background-color: var(--panel-bg);
}

.steps-section h3 {
    text-align: center;
    color: var(--highlight);
    font-size: 48px;
    margin-bottom: 70px;
    font-weight: 900;
}

.steps-section h3 span {
    background: var(--gradient-ps);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.step-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid #444;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-ps);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--ps-blue);
    box-shadow: 0 20px 50px rgba(49, 168, 255, 0.3);
}

.step-number {
    font-size: 72px;
    font-weight: 900;
    background: var(--gradient-ps);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    position: absolute;
    top: 30px;
    right: 30px;
    line-height: 1;
}

.step-card h4 {
    color: var(--highlight);
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 700;
}

.step-card p {
    color: #aaa;
    line-height: 1.8;
    font-size: 16px;
}

/* Tutorials */
.tutorials-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.tutorials-section h3 {
    color: var(--highlight);
    font-size: 42px;
    margin-bottom: 50px;
    border-left: 6px solid var(--ps-blue);
    padding-left: 25px;
    font-weight: 900;
}

.tutorials-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tutorial-item {
    display: flex;
    background: var(--panel-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.tutorial-item:hover {
    background: var(--darker-panel);
    border-color: var(--ps-blue);
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(49, 168, 255, 0.2);
}

.thumb {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: var(--white);
    opacity: 0.8;
}

.bg-blue { background: linear-gradient(135deg, #007acc 0%, #005fa3 100%); }
.bg-purple { background: linear-gradient(135deg, #9d6beb 0%, #7a00cc 100%); }
.bg-orange { background: linear-gradient(135deg, #ffa500 0%, #cc7a00 100%); }

.content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.level {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--ps-blue);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.content h4 {
    color: var(--highlight);
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.content p {
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.7;
}

.content a {
    color: var(--ps-blue);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content a:hover {
    color: var(--accent);
}

/* CTA Banner */
.cta-banner {
    padding: 120px 0;
    text-align: center;
    background: var(--gradient-ps);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.cta-banner h2 {
    color: var(--ps-dark);
    font-size: 52px;
    margin-bottom: 25px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: var(--ps-dark);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.btn-giant {
    margin-top: 40px;
    padding: 22px 60px;
    font-size: 20px;
    background: var(--ps-dark);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 30, 54, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.btn-giant:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 30, 54, 0.7);
}

/* Footer */
.main-footer {
    padding: 60px 0 30px;
    background: #0a0a0a;
    border-top: 2px solid #333;
    font-size: 15px;
    color: #666;
}

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

.footer-about h5 {
    color: var(--ps-blue);
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 18px;
}

.footer-about p {
    color: #888;
    line-height: 1.8;
}

.footer-nav a {
    margin-left: 25px;
    color: #888;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--ps-blue);
}

.copyright {
    text-align: center;
    font-size: 13px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #555;
}
