* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background: #0f0f23;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav .nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 320px;
    gap: 20px;
}

nav .logo {
    color: #06b6d4;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

nav .logo:hover {
    color: #0891b2;
    transform: translateY(-1px);
}

nav .logo:focus {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
    border-radius: 4px;
}

nav .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #06b6d4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav .nav-links a:hover::after {
    width: 80%;
}

nav .nav-links a:hover,
nav .nav-links a:active {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
}

/* Touch-friendly interactions for mobile */
@media (hover: none) and (pointer: coarse) {
    nav .nav-links a:hover {
        background: transparent;
    }
    
    nav .nav-links a:active {
        background: rgba(6, 182, 212, 0.2);
        transform: scale(0.95);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

/* Header Section (for Privacy/Terms pages) */
header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(6,182,212,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(6,182,212,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero .subhead {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vibe-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #06b6d4;
    font-weight: 600;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #06b6d4;
    text-align: center;
}

.section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #e5e7eb;
}

.content-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #d1d5db;
    line-height: 1.8;
}

.highlight-box {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin: 30px 0;
}

.highlight-box h3 {
    color: #06b6d4;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.highlight-box p {
    color: #e5e7eb;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.problem-list {
    list-style: none;
    margin: 25px 0;
}

.problem-list li {
    color: #d1d5db;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.problem-list li:before {
    content: '❌';
    position: absolute;
    left: 0;
    color: #ef4444;
}

.benefit-list {
    list-style: none;
    margin: 25px 0;
}

.benefit-list li {
    color: #d1d5db;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefit-list li:before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #10b981;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.stat-item {
    background: #16213e;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    text-align: center;
}

.stat-item h4 {
    color: #06b6d4;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.stat-item p {
    color: #d1d5db;
    font-size: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.portfolio-item {
    background: #16213e;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.portfolio-item h4 {
    color: #06b6d4;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.portfolio-item .description {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-stack {
    margin-bottom: 15px;
}

.tech-stack h5 {
    color: #06b6d4;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.ai-tool {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: inline-block;
    margin-top: 10px;
}

.revenue-model {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: inline-block;
    margin-top: 10px;
}

.project-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-link {
    background: #06b6d4;
    color: #0f0f23;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.project-link:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.imagine-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.imagine-section h3 {
    color: #06b6d4;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.imagine-list {
    list-style: none;
    margin: 25px 0;
}

.imagine-list li {
    color: #e5e7eb;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.imagine-list li:before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #10b981;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e5e7eb;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #d1d5db;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: #1a1a2e;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e5e7eb;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: #0f0f23;
    color: #e5e7eb;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #06b6d4;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #06b6d4;
    color: #0f0f23;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6,182,212,0.4);
}

.ps-section {
    background: #1a1a2e;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.ps-section h4 {
    color: #06b6d4;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.ps-section p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #d1d5db;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.footer-links a:hover {
    background: rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.footer-links a:hover {
    color: #0891b2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 12px 15px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    nav .nav-content {
        flex-direction: row;
        gap: 15px;
        min-width: 300px;
    }
    
    nav .logo {
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    
    nav .nav-links {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
    }
    
    nav .nav-links a {
        font-size: 0.9rem;
        white-space: nowrap;
        padding: 6px 10px;
        font-weight: 600;
    }
    
    nav .nav-links a::after {
        height: 1px;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 15px 60px;
        margin-top: 15px;
    }
    
    /* Header Section */
    header {
        padding: 120px 15px 60px;
        margin-top: 15px;
        box-shadow: inset 0 -8px 25px rgba(0, 0, 0, 0.4);
    }
    
    header h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    header p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .hero .subhead {
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.6;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .vibe-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
        margin-bottom: 20px;
    }
    
    /* Content Sections */
    .content-section {
        padding: 40px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .content-text {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-item h4 {
        font-size: 1.2rem;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-item {
        padding: 20px 15px;
    }
    
    .portfolio-item h4 {
        font-size: 1.3rem;
    }
    
    .tech-stack h5 {
        font-size: 1rem;
    }
    
    .tech-tags {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    /* Contact Form */
    .cta {
        padding: 40px 15px;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    /* Footer */
    footer {
        padding: 30px 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 6px 12px;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Navigation */
    nav {
        padding: 10px 12px;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }
    
    nav .nav-content {
        min-width: 280px;
        gap: 12px;
    }
    
    nav .logo {
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    nav .nav-links {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    nav .nav-links a {
        font-size: 0.85rem;
        white-space: nowrap;
        padding: 5px 8px;
        font-weight: 600;
    }
    
    nav .nav-links a::after {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 10px 50px;
        margin-top: 10px;
    }
    
    /* Header Section */
    header {
        padding: 100px 10px 50px;
        margin-top: 10px;
        box-shadow: inset 0 -6px 20px rgba(0, 0, 0, 0.4);
    }
    
    header h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    header p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .hero .subhead {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.5;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .vibe-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Content Sections */
    .content-section {
        padding: 30px 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .content-text {
        font-size: 0.95rem;
    }
    
    /* Stats Grid */
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item h4 {
        font-size: 1.1rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    /* Portfolio Grid */
    .portfolio-item {
        padding: 15px 10px;
    }
    
    .portfolio-item h4 {
        font-size: 1.1rem;
    }
    
    .portfolio-item p {
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    /* Contact Form */
    .cta {
        padding: 30px 10px;
    }
    
    .contact-form {
        padding: 20px 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 25px 10px;
    }
    
    .footer-links {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 5px 10px;
        max-width: 180px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    nav {
        padding: 8px 10px;
    }
    
    nav .nav-content {
        min-width: 260px;
        gap: 10px;
    }
    
    nav .logo {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    nav .nav-links {
        gap: 6px;
    }
    
    nav .nav-links a {
        font-size: 0.8rem;
        padding: 4px 6px;
        font-weight: 600;
    }
}

/* Ultra Small Mobile Devices */
@media (max-width: 320px) {
    nav {
        padding: 6px 8px;
    }
    
    nav .nav-content {
        min-width: 240px;
        gap: 8px;
    }
    
    nav .logo {
        font-size: 1.1rem;
    }
    
    nav .nav-links {
        gap: 4px;
    }
    
    nav .nav-links a {
        font-size: 0.75rem;
        padding: 3px 5px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    nav {
        padding: 8px 15px;
    }
    
    nav .nav-content {
        gap: 12px;
    }
    
    nav .nav-links {
        gap: 10px;
    }
    
    .hero {
        padding: 100px 20px 40px;
        margin-top: 15px;
    }
    
    header {
        padding: 100px 20px 40px;
        margin-top: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    footer {
        padding: 25px 15px;
    }
}

/* Privacy and Terms Page Specific Styles */
.container h2 {
    color: #06b6d4;
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid rgba(6, 182, 212, 0.3);
    padding-bottom: 10px;
}

.container h3 {
    color: #d1d5db;
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
}

.container p {
    margin-bottom: 15px;
    color: #d1d5db;
}

.container ul {
    margin: 15px 0;
    padding-left: 30px;
}

.container li {
    margin-bottom: 8px;
    color: #d1d5db;
}

.highlight-box {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.contact-info {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.contact-info h3 {
    color: #06b6d4;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #06b6d4;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}
