:root {
    --ruby: #e11d48;
    --ruby-glow: rgba(225, 29, 72, 0.3);
    --onyx: #0f172a;
    --onyx-darker: #020617;
    --slate: #94a3b8;
    --text-pure: #f8fafc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--onyx-darker);
    background-image: radial-gradient(circle at 50% 0%, var(--onyx) 0%, var(--onyx-darker) 100%);
    color: var(--text-pure);
    line-height: 1.6;
}

nav {
    padding: 20px 50px;
    text-align: right;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    color: var(--ruby);
    text-shadow: 0 0 10px var(--ruby-glow);
}

.hero {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.red-dot {
    color: var(--ruby);
    text-shadow: 0 0 15px var(--ruby-glow);
}

.hero-text h2 {
    font-size: 50px;
    margin-bottom: 10px;
}

.hero-text h3 {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 30px;
}

.buttons {
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ruby) 0%, #be123c 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    margin-right: 15px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px var(--ruby-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--ruby-glow);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--ruby);
    color: var(--ruby);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
}

.bracket-left,
.bracket-right {
    font-size: 80px;
    color: #ff4444;
    font-weight: bold;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid var(--ruby);
    padding: 10px;
    box-shadow: 0 0 40px var(--ruby-glow);
    margin: 0 20px;
    overflow: hidden;
    background: var(--onyx);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
}

.skills {
    padding: 40px 50px;
    text-align: center;
    background-color: var(--onyx);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skills p {
    display: inline-block;
    margin: 0 20px;
    font-size: 16px;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 60px;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 30px;
    border-left: 4px solid var(--ruby);
    padding-left: 15px;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat h4 {
    font-size: 40px;
    color: var(--ruby);
    margin-bottom: 5px;
}

.stat p {
    font-size: 16px;
    color: #ccc;
}

.services {
    flex: 1;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #ff4444;
}

.service-icon {
    font-size: 30px;
    margin-right: 15px;
}

.service-item h4 {
    font-size: 18px;
}

.projects {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    font-size: 40px;
    border-left: 4px solid var(--ruby);
    padding-left: 15px;
    margin-bottom: 40px;
}

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

.project-card {
    background-color: #222;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--ruby);
    box-shadow: 0 5px 20px var(--ruby-glow);
}

.project-card h3 {
    font-size: 24px;
    color: var(--ruby);
    margin-bottom: 15px;
}

.project-card p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-note {
    color: #ff4444 !important;
    font-size: 14px !important;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 0 !important;
}

.btn-project {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid var(--ruby);
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-project:hover {
    background-color: var(--ruby);
    color: white;
    box-shadow: 0 0 15px var(--ruby-glow);
}

.contacts {
    padding: 80px 50px;
    text-align: center;
    background-color: #222;
}

.contacts h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contacts p {
    font-size: 18px;
    color: #ccc;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin: 15px 0;
    font-size: 18px;
}

.contact-info strong {
    color: var(--ruby);
    margin-right: 10px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ff4444;
}

.download-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #333;
}

.download-section h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--ruby);
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    background-color: var(--ruby);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--ruby-glow);
}

.btn-download:hover {
    background-color: #be123c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--ruby-glow);
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    nav ul li {
        margin-left: 15px;
        font-size: 14px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text h2 {
        font-size: 35px;
    }

    .hero-text h3 {
        font-size: 28px;
    }

    .profile-circle {
        width: 200px;
        height: 200px;
        margin: 30px 0;
    }

    .bracket-left,
    .bracket-right {
        font-size: 50px;
    }

    .about-content {
        flex-direction: column;
    }

    .skills p {
        display: block;
        margin: 10px 0;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-download {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .projects {
        padding: 40px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}