/* 
========================================
GLOBAL STYLES
========================================
*/

:root {
    --primary-color: #212A3E;
    --primary-light: #394867;
    --primary-dark: #141e30;
    --secondary-color: #9BA4B5;
    --accent-color: #F1F2F6;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --light-gray: rgba(241, 242, 246, 0.7);
    --dark-gray: #4A4A4A;
    --border-color: #E0E0E0;
    --gradient-primary: linear-gradient(120deg, var(--primary-color), var(--primary-light));
    --gradient-accent: linear-gradient(120deg, var(--accent-color), var(--secondary-color));
    --shadow-sm: 0 4px 6px rgba(33, 42, 62, 0.05);
    --shadow-md: 0 10px 15px rgba(33, 42, 62, 0.1);
    --shadow-lg: 0 15px 30px rgba(33, 42, 62, 0.15);
    --shadow: var(--shadow-md);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--light-text);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23212a3e' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
    position: relative;
}

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

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light-text);
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(33, 42, 62, 0.25);
    letter-spacing: 0.02em;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 42, 62, 0.3);
    text-decoration: none;
    color: var(--light-text);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cta-button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

.cta-button-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: var(--light-text);
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(33, 42, 62, 0.2);
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(33, 42, 62, 0.25);
    text-decoration: none;
    color: var(--light-text);
}

/* 
========================================
HEADER & NAVIGATION
========================================
*/

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.logo {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-color);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 2rem;
    height: 1.5rem;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* 
========================================
HERO SECTION
========================================
*/

.hero {
    padding: 10rem 0 5rem;
    background: 
        radial-gradient(circle at 20% 20%, rgba(241, 242, 246, 0.8) 0%, rgba(241, 242, 246, 0) 50%),
        radial-gradient(circle at 80% 80%, rgba(155, 164, 181, 0.6) 0%, rgba(241, 242, 246, 0) 70%);
}

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

.hero-content h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #212A3E, #394867);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-content .subheadline {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-image {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.hero-image .creative-hero {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(33, 42, 62, 0.15));
    transform: translateY(0);
    animation: float 6s ease-in-out infinite, fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
    border-radius: 10px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.03;
    z-index: -1;
    border-radius: 50%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(33, 42, 62, 0.1));
    transform: translateY(0);
    animation: float 6s ease-in-out infinite, fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content h1, 
.hero-content .subheadline,
.hero-content .cta-button {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content .subheadline {
    animation-delay: 0.4s;
}

.hero-content .cta-button {
    animation-delay: 0.6s;
    opacity: 0;
}

/* Button pulse animation */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Gradient text animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta-box h2 {
    background: linear-gradient(270deg, #212A3E, #394867, #212A3E);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover effects for cards */
.platform-card .platform-icon {
    transition: all 0.4s ease;
}

.platform-card:hover .platform-icon {
    transform: translateY(-5px) rotate(5deg);
}

/* 
========================================
ABOUT SECTION
========================================
*/

.about {
    background-color: var(--light-gray);
}

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

.tech-stack {
    margin-top: 2rem;
}

.tech-stack h3 {
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 80%;
}

/* 
========================================
OFFER SECTION
========================================
*/

.offer {
    text-align: center;
}

.offer-card {
    background-color: var(--light-text);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.offer-header {
    margin-bottom: 2rem;
}

.offer-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.offer-features {
    margin-bottom: 2rem;
}

.offer-features ul {
    text-align: left;
}

.offer-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.offer-features li svg {
    margin-right: 1rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

/* 
========================================
PROJECTS SECTION
========================================
*/

.projects {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(57, 72, 103, 0.1), rgba(33, 42, 62, 0.1));
    top: -150px;
    right: -100px;
    z-index: 0;
}

.projects::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(241, 242, 246, 0.1), rgba(155, 164, 181, 0.1));
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 1;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 2rem;
}

.project-card {
    background: linear-gradient(145deg, #ffffff, #f1f3f9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(33, 42, 62, 0.08),
        0 1px 2px rgba(33, 42, 62, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(33, 42, 62, 0.12),
        0 1px 3px rgba(33, 42, 62, 0.1);
}

.project-card:nth-child(1) {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
}

.project-card:nth-child(2) {
    grid-column: 8 / span 5;
    grid-row: 1 / span 1;
}

.project-card:nth-child(3) {
    grid-column: 8 / span 5;
    grid-row: 2 / span 1;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.project-logo {
    margin-right: 0.75rem;
}

.moodly-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.captioncraft-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.easypage-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.project-content h3 {
    margin-bottom: 0.5rem;
}

.project-screenshots {
    margin: 1.5rem 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.project-card:hover .project-screenshot {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(33, 42, 62, 0.1);
}

/* 
========================================
WHY ME SECTION
========================================
*/

.why-me {
    text-align: center;
    background: linear-gradient(to bottom right, rgba(245, 245, 245, 0.7), rgba(241, 242, 246, 0.7));
    position: relative;
    overflow: hidden;
}

.why-me::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(155, 164, 181, 0.1), rgba(33, 42, 62, 0.1));
    top: -100px;
    left: -100px;
    z-index: 0;
}

.why-me::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(241, 242, 246, 0.1), rgba(155, 164, 181, 0.1));
    bottom: -50px;
    right: -50px;
    z-index: 0;
}

.why-me .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.benefit-card {
    border-radius: 18px;
    background: linear-gradient(145deg, #f1f3f9, #ffffff);
    box-shadow: 
        10px 10px 20px rgba(33, 42, 62, 0.05),
        -10px -10px 20px rgba(255, 255, 255, 0.6);
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        15px 15px 30px rgba(33, 42, 62, 0.08),
        -5px -5px 20px rgba(255, 255, 255, 0.8);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

/* 
========================================
TESTIMONIALS SECTION
========================================
*/

.testimonials {
    background-color: var(--light-gray);
    text-align: center;
}

.testimonial-card {
    background-color: var(--light-text);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(33, 42, 62, 0.05);
}

.testimonial-content {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* 
========================================
CONTACT SECTION
========================================
*/

.contact {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(57, 72, 103, 0.05), rgba(33, 42, 62, 0.05));
    top: -100px;
    right: -100px;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.calendly-option, .form-option {
    background: linear-gradient(145deg, #ffffff, #f1f3f9);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 
        10px 10px 20px rgba(33, 42, 62, 0.05),
        -5px -5px 20px rgba(255, 255, 255, 0.8);
    text-align: left;
    border: none;
    transition: var(--transition);
}

.calendly-option:hover, .form-option:hover {
    transform: translateY(-5px);
    box-shadow: 
        15px 15px 30px rgba(33, 42, 62, 0.08),
        -5px -5px 20px rgba(255, 255, 255, 0.8);
}

.form-option h3, .calendly-option h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.form-option h3::after, .calendly-option h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 42, 62, 0.1);
    background: white;
}

.form-group input:focus + label, .form-group textarea:focus + label {
    color: var(--primary-color);
}

#contact-form .cta-button {
    margin-top: 1rem;
    width: 100%;
}

.calendly-option p {
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.calendly-option .cta-button {
    width: 100%;
    text-align: center;
}

/* 
========================================
FOOTER
========================================
*/

footer {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

footer::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.75rem;
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links a svg {
    transition: all 0.3s ease;
}

.footer-links a:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* 
========================================
MEDIA QUERIES
========================================
*/

@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero .container, .about .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .tech-stack .tags {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--light-text);
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .language-selector {
        margin: 0;
        position: absolute;
        top: 1.2rem;
        right: 4rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .offer-card, .testimonial-card, .calendly-option, .form-option {
        padding: 1.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }

    .language-selector {
        position: static;
        margin-top: 1rem;
        margin-bottom: 1rem;
        justify-content: center;
    }
}

.systems-menu {
    position: relative;
}

.systems-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-text);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(33, 42, 62, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    border: 1px solid rgba(33, 42, 62, 0.05);
}

.systems-menu:hover .systems-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.systems-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.systems-dropdown a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Add iOS system icon effect */
.systems-dropdown a::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: var(--accent-color);
    opacity: 0.7;
}

.systems-dropdown a[href="#ios"]::before {
    background-color: #007AFF;
}

.systems-dropdown a[href="#watchos"]::before {
    background-color: #FF2D55;
}

.systems-dropdown a[href="#macos"]::before {
    background-color: #5AC8FA;
}

.systems-dropdown a[href="#visionos"]::before {
    background-color: #00C7BE;
}

/* 
========================================
PLATFORMS SECTION
========================================
*/

.platforms {
    background-color: var(--light-gray);
    background-image: linear-gradient(to bottom right, rgba(245, 245, 245, 0.9), rgba(241, 242, 246, 0.9));
    position: relative;
    overflow: hidden;
    text-align: center;
}

.platforms::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(155, 164, 181, 0.05), rgba(33, 42, 62, 0.05));
    top: -150px;
    left: -100px;
    z-index: 0;
}

.platforms .container {
    position: relative;
    z-index: 1;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: linear-gradient(145deg, #ffffff, #f1f3f9);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    box-shadow: 
        10px 10px 20px rgba(33, 42, 62, 0.05),
        -5px -5px 20px rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    border: none;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        15px 15px 30px rgba(33, 42, 62, 0.08),
        -5px -5px 20px rgba(255, 255, 255, 0.8);
}

.platform-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.platform-card h3 {
    margin-bottom: 1rem;
}

.platform-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
}

#ios .platform-icon {
    background: linear-gradient(135deg, #007AFF, #0050A0);
    color: var(--light-text);
}

#watchos .platform-icon {
    background: linear-gradient(135deg, #FF2D55, #A50034);
    color: var(--light-text);
}

#macos .platform-icon {
    background: linear-gradient(135deg, #5AC8FA, #0080B0);
    color: var(--light-text);
}

#visionos .platform-icon {
    background: linear-gradient(135deg, #00C7BE, #007873);
    color: var(--light-text);
}

/* Platform badges */
.platform-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(33, 42, 62, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.platform-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-badge span {
    font-weight: 600;
    margin-left: 0.5rem;
}

.platform-badge.ios::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007AFF;
}

.platform-badge.watchos::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF2D55;
}

.platform-badge.macos::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5AC8FA;
}

.platform-badge.visionos::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00C7BE;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-weight: 400;
}

/* 
========================================
CTA SECTION
========================================
*/

.cta-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(to right, rgba(241, 242, 246, 0.7), rgba(255, 255, 255, 0.7));
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    top: -250px;
    right: -250px;
    background: radial-gradient(circle, rgba(33, 42, 62, 0.05) 0%, rgba(33, 42, 62, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(33, 42, 62, 0.03) 0%, rgba(33, 42, 62, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-box {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 
        20px 20px 60px rgba(33, 42, 62, 0.08),
        -10px -10px 60px rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        30px 30px 80px rgba(33, 42, 62, 0.1),
        -15px -15px 80px rgba(255, 255, 255, 0.9);
}

.cta-box h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.cta-box h2::after {
    display: none;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 8px 20px rgba(33, 42, 62, 0.25);
} 