/* ============================================
   RACHANA SHARMA - Portfolio Website Styles
   Modern Dark Theme with Glassmorphism
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #e11d62;
    --primary-light: #f43f8a;
    --accent: #d4a574;
    --bg-dark: #1a0a10;
    --bg-card: #261218;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text: #f5e6ea;
    --text-muted: #b89aa3;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(225, 29, 98, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 29, 98, 0.5);
    filter: brightness(1.1);
}

.btn--glass {
    background: var(--bg-glass);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Animation --- */
.service-card,
.project-card,
.contact-item,
.stat {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.fade-in-up,
.project-card.fade-in-up,
.contact-item.fade-in-up,
.stat.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-3deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(15, 13, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header__nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
    border-radius: 2px;
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--white);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
    width: 100%;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero__bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225, 29, 98, 0.4), transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
    bottom: 10%;
    left: -80px;
    animation: floatReverse 10s ease-in-out infinite;
}

.shape--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
    top: 40%;
    right: 20%;
    animation: pulse 6s ease-in-out infinite;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero__content {
    text-align: center;
}

.hero__tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Device Frame --- */
.hero__visual {
    display: flex;
    justify-content: center;
}

.device-frame {
    width: 280px;
    height: 560px;
    background: #1a1625;
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.device-notch {
    width: 120px;
    height: 28px;
    background: #0f0d1a;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e1b2e, #0f0d1a);
    border-radius: 30px;
    overflow: hidden;
    padding: 45px 16px 16px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.screen-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.screen-icons {
    display: flex;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.screen-content {
    flex: 1;
}

.mini-app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.mini-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
}

.mini-greeting {
    display: flex;
    flex-direction: column;
}

.mini-hello {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mini-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mini-card {
    height: 70px;
    border-radius: 12px;
    padding: 10px;
    font-size: 0.55rem;
    color: var(--white);
    font-weight: 500;
}

.mini-card--1 {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.mini-card--2 {
    background: linear-gradient(135deg, #059669, #10b981);
}

.mini-card--3 {
    background: linear-gradient(135deg, var(--accent), #fb923c);
}

.mini-card--4 {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
}

/* --- Hero Stats --- */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- About Section --- */
.about {
    padding: 60px 0;
    position: relative;
}

.about__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about__header {
    text-align: center;
    margin-bottom: 3rem;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about__info {
    order: 2;
}

.about__text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.skill-chip {
    padding: 8px 18px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.skill-chip:hover {
    border-color: var(--primary);
    background: rgba(225, 29, 98, 0.1);
    color: var(--white);
}

/* --- Code Window --- */
.about__visual {
    order: 1;
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.code-window__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot--red { background: #ef4444; }
.dot--yellow { background: #eab308; }
.dot--green { background: #22c55e; }

.code-window__title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.code-window__body {
    padding: 1.5rem;
    font-size: 0.82rem;
    line-height: 1.9;
    overflow-x: auto;
}

.code-window__body code {
    font-family: 'Fira Code', 'SF Mono', monospace;
    color: var(--text);
    white-space: pre;
}

.kw { color: #f472b6; }
.type { color: #d4a574; }
.fn { color: #fda4af; }
.cmt { color: #64748b; font-style: italic; }

/* --- Portfolio Section --- */
.portfolio {
    padding: 60px 0;
    position: relative;
}

.portfolio__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio__header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.project-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 29, 98, 0.3);
    box-shadow: 0 15px 40px rgba(225, 29, 98, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.project-card__icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.project-card__content {
    flex: 1;
}

.project-card__content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-card__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card__tags span {
    padding: 4px 10px;
    background: rgba(225, 29, 98, 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* --- Services Section --- */
.services {
    padding: 60px 0;
    position: relative;
}

.services__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.services__header {
    text-align: center;
    margin-bottom: 3rem;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 29, 98, 0.3);
    box-shadow: 0 15px 40px rgba(225, 29, 98, 0.1);
}

.service-card__number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.service-card__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card__list {
    list-style: none;
    padding: 0;
}

.service-card__list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-card__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-size: 0.8rem;
}

/* --- Contact Section --- */
.contact {
    padding: 60px 0;
    position: relative;
}

.contact__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact__header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(225, 29, 98, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.contact-item__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item__details {
    flex: 1;
}

.contact-item__details h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item__details a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item__details a:hover {
    color: var(--primary-light);
}

.contact-item__details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Contact Form --- */
.contact__form {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: var(--transition);
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(225, 29, 98, 0.05);
    box-shadow: 0 0 0 3px rgba(225, 29, 98, 0.1);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer__links h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__links ul {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Policy Pages --- */
.policy-section {
    padding: 120px 0 80px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.policy-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}

.policy-content {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.policy-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-content a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.policy-content a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* --- Tablet (768px) --- */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .hero__container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero__content {
        text-align: left;
    }

    .hero__description {
        margin: 0 0 2rem;
    }

    .hero__cta {
        justify-content: flex-start;
    }

    .hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .about {
        padding: 80px 0;
    }

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

    .about__info {
        order: 1;
    }

    .about__visual {
        order: 2;
    }

    .portfolio {
        padding: 80px 0;
    }

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

    .services {
        padding: 80px 0;
    }

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

    .contact {
        padding: 80px 0;
    }

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

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer__top {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* --- Desktop (1024px) --- */
@media (min-width: 1024px) {
    .section-title {
        font-size: 3.2rem;
    }

    .hero {
        padding: 0;
    }

    .hero__title {
        font-size: 4rem;
    }

    .about {
        padding: 100px 0;
    }

    .portfolio {
        padding: 100px 0;
    }

    .portfolio__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services {
        padding: 100px 0;
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact {
        padding: 100px 0;
    }
}

/* --- Mobile Only (below 768px) --- */
@media (max-width: 767px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header__nav.active {
        right: 0;
    }

    .header__nav-link {
        font-size: 1.1rem;
    }

    .header__toggle {
        display: flex;
    }

    .hero__visual {
        display: none;
    }

    .device-frame {
        width: 240px;
        height: 480px;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(225, 29, 98, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(225, 29, 98, 0.6);
}

/* --- Selection --- */
::selection {
    background: rgba(225, 29, 98, 0.3);
    color: var(--white);
}
